FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 08-31-2011, 09:58 AM
Jakub Jelinek
 
Default floppy support

On Tue, Aug 30, 2011 at 10:41:45PM -0500, Bruno Wolff III wrote:
> %install
> rm -rf $RPM_BUILD_ROOT
> mkdir -p $RPM_BUILD_ROOT%{_libdir}/modules-load.d
> echo floppy > $RPM_BUILD_ROOT%{_libdir}/modules-load.d/floppy.conf

%{_sysconfdir} instead of %{_libdir} everywhere.

> %files
> %{_libdir}/modules-load.d/floppy.conf

Jakub
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-31-2011, 12:07 PM
Bruno Wolff III
 
Default floppy support

On Wed, Aug 31, 2011 at 11:58:41 +0200,
Jakub Jelinek <jakub@redhat.com> wrote:
> On Tue, Aug 30, 2011 at 10:41:45PM -0500, Bruno Wolff III wrote:
> > %install
> > rm -rf $RPM_BUILD_ROOT
> > mkdir -p $RPM_BUILD_ROOT%{_libdir}/modules-load.d
> > echo floppy > $RPM_BUILD_ROOT%{_libdir}/modules-load.d/floppy.conf
>
> %{_sysconfdir} instead of %{_libdir} everywhere.
>
> > %files
> > %{_libdir}/modules-load.d/floppy.conf

I am willing to do that, but before going there I want to not this passage
from the modules-load.d man page:
Packages
should install their configuration files in /usr/lib/, files in /etc/
are reserved for the local administration, which possibly decides to
overwrite the configurations installed from packages.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-31-2011, 01:47 PM
Chris Adams
 
Default floppy support

Once upon a time, Hans de Goede <hdegoede@redhat.com> said:
> anaconda loads the floppy driver by default when booting of the install
> DVD, because of driverdisk support, thus the anaconda team has been getting
> its share of bug reports wrt this. But AFAIK there are no such issues
> in RHEL-5, where we auto-load the floppy driver too, so something
> has changed in the kernel causing the hang when no drive is attached to the
> controller. I could swear I filed a bug against the kernel about this
> regression, but I cannot find it.

So, it sounds like it is a kernel bug, and the "fix" was to just ignore
it and stop loading the module. <sigh>...
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 08-31-2011, 01:49 PM
Chris Adams
 
Default floppy support

Once upon a time, Bruno Wolff III <bruno@wolff.to> said:
> Below is a proposed specfile for the floppy case. (Analog joystick would be
> very similar.) I haven't tested the package for functionality yet, but did
> test it with rpmbuild and rpmlint. Is this what we want? Is this ready
> for a formal review?

That loads the module, but what about configuring device access for
desktop users? That's the more irritating part to me (that has changed
over time and I no longer know how to fix it). Once loaded, the floppy
device should be treated just like any other removable media device as
far as user access is concerned.

--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-01-2011, 03:28 PM
Bruno Wolff III
 
Default floppy support

On Tue, Aug 30, 2011 at 22:41:45 -0500,
Bruno Wolff III <bruno@wolff.to> wrote:
> Below is a proposed specfile for the floppy case. (Analog joystick would be
> very similar.) I haven't tested the package for functionality yet, but did
> test it with rpmbuild and rpmlint. Is this what we want? Is this ready
> for a formal review?

I tested this out and it seems to load the floppy module on install and
on boot. It does not trigger creating the /dev/floppy sym link and I am
not sure if anything affecting how the desktop treats floppies should
also be included. (I would think checking for inserted floppies would
be annoying in general and shouldn't be the default, but maybe there should
be something done to make them mountable by users by default.)

While it is possible to expand the scope a bit later (e.g. include a udev
rule in addition), I figured I'd check now to see if anyone had any suggestions
about additions before I submit it for review.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-03-2011, 01:58 PM
Bruno Wolff III
 
Default floppy support

I have submitted a review request for floppy-support:
https://bugzilla.redhat.com/show_bug.cgi?id=735554
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 07:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org