UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Well, that's just weard to me. On ubuntu, as with all the other dists i've used that I can think of (mostly debian based), you can only mount the floppy drive when there is a media in the drive (a filesystem to mount).
I think that you forgot to umount the floppy or use the sync command to write the cache to the floppy disk, when you looked at the mount command. The entire floppy may have been cached to disk. Or Mandrake had no way of knowing that the floppy was ejected. Maybe both. Floppy drives aren't as smart as CDROM drives. There may not be a signal to say that the floppy was ejected, unless the device periodically tests it. If you ever had an Amiga computer, it was a different story. The drive would periodically click, because it would test that there was a device present.
It may depend on the floppy drive and the device. Maybe newer ones will signal when a disk is inserted. You could probably test this by monitoring (tail -f) /var/log/messages while inserting a disk. Also check if Ubuntu uses udev or not.
I think that you forgot to umount the floppy or use the sync command to write the cache to the floppy disk, when you looked at the mount command.
Nope. I can insert a disk, read it and list files, then remove the disk and list shows no file. Reinsert, (new) files can be listed, remove and no list of files, ad infinitum. Always the floppy stays mounted.. on MDK10 of course.
mount/pmount/umount/pumount not required.
ubuntu uses udev, can you not try using autofs to mount the floppy drive?
Umm, from reading up on autofs, this daemon seems to mount OK(?) but unmounts automatically after a preset period, does it then re-mount when access is required? If there is no medium in the floppy drive how does it respond? I haven't found a good doc on it yet (no man entry).
Also it may be I have autofs compiled into the kernel since I have two kernel object files:
(1) /lib/modules/uname -r/kernel/fs/autofs/autofs.ko
(2) /lib/modules/uname -r/kernel/fs/autofs4/autofs4.ko
How can I tell if they are running? Neither shows with:
# ps -A | grep autofs
What's the difference between autofs.ko and autofs4.ko?
Neither autofs or autofs4 are listed in any of the rc?.d or init.d directories.
I was talking about the autofs package (which uses autofs4.ko), I'm not sure what autofs.ko is for (maybe an older version?). There is an official howto here
I don't need to use autofs myself, the hal daemon and hotplug do that for me (this PC didn't even come with a FDD).
so I have a current autofs kernel module, (same result for autofs4).
However, I am at a loss, having searched for a day, as to how to get autofs loaded at boot time. I know that there should be a script in /etc/init.d/ which tells the loader how to use autofs and there should be several /etc/auto.* configuration files and I should have symbolic links in /etc/rc?.d/ directories.
I could attempt to install another version of autofs using Synaptic which may generate these missing components but am concerned that in doing so I install an incomaptible version and break my system.
Can someone help as to how to manually set up these missing files/links since none of the HOWTOs I have seen tell me?