home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!wupost!sdd.hp.com!hpscdc!scd.hp.com!hplextra!hpcc05!hpbbn!hpuamsa!franks
- From: franks@hpuamsa.neth.hp.com (Frank Slootweg CRC)
- Newsgroups: comp.sys.hp
- Subject: Re: Umounting busy file systems
- Message-ID: <28510321@hpuamsa.neth.hp.com>
- Date: 1 Sep 92 11:43:09 GMT
- References: <C0033013.92Aug30195920@rznb23.rz.tu-bs.de>
- Organization: Hewlett-Packard, The Netherlands
- Lines: 16
-
-
- (I think) fuser(1m) reports only processes which have *files* *open*
- on the block device, not processes which have their *working directory*
- *set* to a path which is on the block device.
-
- Test with :
-
- - Type "sh" (not "ksh" because that might open a history file on the
- block device) to get a shell.
- - Type "echo $$" to get the PID of this shell.
- - "cd" to a path on the block device.
- - Type "fuser /dev/dsk/...". The PID of the shell will not be listed but
- the block device can not be unmounted because the working directory of
- the shell is set to a path on the block device.
-
- Frank Slootweg, HP, Dutch Customer Response Center.
-