[Tutor] Re: Checking to see whether or not a filesystem is
mounted--?
Lee Harr
missive at hotmail.com
Sun Aug 8 16:27:19 CEST 2004
>Anyway, enough preamble. I'm wanting to write a small graphical applet
>for mounting and unmounting filesystems with a button-press. Can anyone
>suggest a method for testing whether or not a particular filesystem is
>mounted (so I can inform the user with a message dialog)?
>
You could try mounting it and see if you get an error:
homer# mount /mnt
mount: /dev/ad0s1e: Device busy
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
More information about the Tutor
mailing list