Well, you've found a problem I found about two weeks ago: the short answer
is, devfs and removable media are not really very compatible right now,
specifically the ide-floppy driver that you're using (and I also use for a
250Mo ZIP drive).
As it stands today, if you compile ide-floppy as a module, then load it when
you want to use a disk, it will see the media in the drive and register the
appropriate entries with devfs. You can then use the disk. However, if you
then eject the disk and unload ide-floppy, the devfs entries won't go away.
I've sent a patch to Richard to fix that, hopefully it will make into an -ac
kernel soon.
However, ide-floppy does not currently monitor the drive for media
insertions and removals, so that's the extent of what can be accomplished.
That probably means that automounting ide-floppy media while using devfs is
not going to work for a while. I will be modifying the ide-floppy driver to
watch for media changes and handle them appropriately, but this will not be
ready for some time, as the work won't start until the IDE subsystem gets
changed to support some new functionality (which is being done as we speak,
targeted at the 2.5 kernel).
Sorry to tell you this, but at this point if you want to automount
ide-floppy media (or even have the drive work without loading/unloading
ide-floppy repeatedly), you probably don't want to use devfs.
----- Original Message -----
From: "Tom Browder" <tbrowder@xxxxxxxx>
To: <devfs@xxxxxxxxxxx>
Sent: Tuesday, May 29, 2001 6:50 PM
Subject: Devfs and LS-120
> OK, I have the XFS 1 Red Hat 7.1 going, removed ext2labels
> from my fstab file (still getting some weird messages but
> everything
> mounts and I can use all partitions), and just have one
> small problem,
> my LS-120 which is /dev/hdd.
>
> When I boot with a disk in it, the system recognizes it
> fine. But when I
> boot without a disk in, I can't figure out how to get the
> automounter to
> work. I have the following line in fstab:
>
> /dev/hdd /mnt/ls120 auto
> noauto,owner 0 0
>
> Any help will be appreciated.
>
> Tom Browder
>
>
>
>
>
|