detecting a file system mounted via NFS
Larry L. Thompson
lthompso at hpcc01.HP.COM
Thu Jun 6 06:04:50 AEST 1991
>
>If I have a file system mounted on my host from a remote host through NFS, is
>there a way that that file system can be detected as being mounted on it?
>
>I want to be able to do this in order to allow checking of these file systems
>before shutting down so that they can be properly umounted from the remote
>host rather than having to time out each time they are checked.
>
>I guess a script which performs a 'df' on all systems would be possible, if
>not extremely sluggish, and I didn't see anything from netstat.
>
>Any suggestions?
/usr/etc/shoumount will give you this information. Be very careful, if any
client shutdown ungracefully this file will not tell truth. Read the man page
very carefully.
Larry
------------------------------------------------------------------------------
Larry L. Thompson Hewlett-Packard Co.
Unix: lthompso at hpcmfs.corp.hp.com 3500 Deer Creek Rd 26U-13
HPDesk: larry_l_thompson at hp0000 Palo Alto, CA. 94304
Tel: (415) 857-4437
More information about the Comp.unix.wizards
mailing list