Bug 142694 - fuser reports pids from root device when run on cd burner
fuser reports pids from root device when run on cd burner
Product: Fedora
Classification: Fedora
Component: psmisc (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Depends On:
  Show dependency treegraph
Reported: 2004-12-12 18:38 EST by James Lopeman
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-12-14 10:01:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description James Lopeman 2004-12-12 18:38:15 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)

Description of problem:
fuser -m / and fuser -m /media/cdrecorder
produce identical results

therefore fuser -km /media/cdrecoder
when issued by root unexpectedly kills init

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. as root fuser -km /media/cdrecorder
2. reboot
3. alternatly compair fuser -m / and fuser -m /media/cdrecorder

Actual Results:  system crash from init being killed

Expected Results:  processes using /media/cdrecorder devicde being killed

Additional info:
Comment 1 Karel Zak 2004-12-14 06:02:29 EST
Are you really really sure that /media/cdrecorder was mount point in
time when you called "fuser"?

fuser -m <dir>

  -- <dir> must be used mount point, else it reports all processes
that use filesystem where <dir> is defined.

Sorry, but it's feature, not a bug.


# mount | grep media
/dev/hdc on /media/cdrom type iso9660 (ro,nosuid,nodev,user=zakkr)

# fuser -m /media/cdrom
/media/cdrom:        15452c

# umount /media/cdrom

# fuser -m /media/cdrom
/media/cdrom:            1rce     2rc     3rc     4rc     5rc  

Comment 2 James Lopeman 2004-12-14 10:01:47 EST
You are correct, it is just a feature. 
When the cdrom is mounted the out is as I expected. 
The only bug here is the chair-keyboard interface :) 

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