Polytropon wrote:
Replying to my own message... I'm so stupid: How do I *use* lsof which
is /usr/local/sbin/lsof when actually trying to umount /usr? Can I
put a copy of it into, let's say, /root/bin? I've checked library

        # which lsof | xargs ldd
                libkvm.so.4 => /lib/libkvm.so.4 (0x280a2000)
                libc.so.7 => /lib/libc.so.7 (0x280aa000)

So this is on the / partition. This should work, am I right?

Don't use lsof for that then.  Use fstat(1) which is part of the base

        # fstat -f /usr



Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                 Kent, CT11 9PW

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to