Bug 98580 - Problems with umounting floppy accindentally mounted in / (root)
Problems with umounting floppy accindentally mounted in / (root)
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
9
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Elliot Lee
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-03 18:02 EDT by Sebastian Zavadschi
Modified: 2007-04-18 12:55 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-07-30 16:34:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sebastian Zavadschi 2003-07-03 18:02:18 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
Netscape/7.1

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):
mount-2.11y

How reproducible:
Always

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

Additional info:
Comment 1 Elliot Lee 2003-07-30 16:34:26 EDT
Problem: administrator error
Solution: Don't do that

Note You need to log in before you can comment on or make changes to this bug.