From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20041020 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): psmisc-21.4-4 How reproducible: Always 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:
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. Example: # 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
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 :)