Red Hat Bugzilla – Bug 98580
Problems with umounting floppy accindentally mounted in / (root)
Last modified: 2007-04-18 12:55:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
Description of problem:
Accidentally, I have typed "mount /dev/fd0 /" and after that, I can not umount
from root and I get the message "device is busy". I mounted again my root
partition, but /dev/fd0 is still mounted. I have no problem to use my Linux
without reboot, but my friends on Fr33B$D go to reboot their systems :-)
It's very strange... I know, the ROOT account have all the rights, but, how to
prevent from accidentally damages. I think, in this case, the "mount" command
must be limited with special parameters to do this operation.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. mount /dev/fd0 /
2. umount -f /dev/fd0 (device is busy)
Actual Results: The floppy is mounting on / and remain mounted until reboot.
I'm also able to re-mount my / partition back, but fd0 is still mounted.
Expected Results: 1. No access to vital mount poits
2. Or, somehow to unmount the device/filesystem
Problem: administrator error
Solution: Don't do that