Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Normally, I have a floppy drive in my computer. Well, I took it out a few days ago. Then I booted Linux. It booted OK, but during shut down it went nuts! It kept trying to unmount the floppy drive and it gave me all sorts of wierd messges. Finally, about 10 minutes later, it shut down.
Why does it do that? Ain't Linux smart enough to know whether or not there's a floppy drive?
Originally posted by sakeeb but will linux try to unmount a not mounted device?
If that device is no longer referenced in fstab, then Linux will not mount it nor will it un-mount it. However, you should have first manually un-mounted the floppy, physically removed it, and then removed the fstab entry. Since you didn't, just remove the fstab entry and reboot. It will take time, but once the re-boot is done you should have no more problems.
OK, here's a short overview of what happens when you mount/unmount stuff:
mount mounts the device to the directory you specified
mount adds the device to /etc/mtab. That file stores currently mounted filesystems.
As you can see, if you somehow unmounted the floppy without modifying /etc/mtab, then my guess would be that Linux would try to unmount it, even though it's not mounted.
Sewer_monkey, the question was a little different. He yanked the physical drive and didn't delete the entry in /etc/fstab for /dev/fd0. He didn't do this while the machine was live; that would have backshot the powersupply and fried something (trust me, I know this the hard way ). However, since the floppy entry created by his distro, my guess is RH, Mandy, or SuSe, would have had noauto as a parameter, it might have hiccuped an error about there being no /dev/fd0 on init, that he probably missed especially if he had a gui init or a fast machine where everything scrolls by at mach 3.
What I'm still kind of wondering is why this would make a box go kazoo on shutdown and if that was indeed it, the fstab entry. I've had machines not go wonky (spit errors, but not crash) when I yank one of their physical hard drives and left the entry, so why I'm wondering would a floppy be different. I could experiment myself, but that would mean I would have to A) install one of the gummy distros on a machine around here with a floppy drive. B) find my screwdriver, and or C) find an extra floppy drive.
Hi
maybe is he using the supermount daemon, as it
causes me sometimes shutdown delay's and
giving some errors, though mainly concerning
the cdrom drive. So i turned it off
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.