The format of the mount point path is a good place to start.

A samba-based share would be shlight:PID, an NFS mount would be
hostname:/path/to/share etc.

On Mon, May 11, 2009 at 9:01 PM, Jan Stary <[email protected]> wrote:
> This is probably trivial, but what is the most elegant way to find out
> which of the currently mounted filesystems are local, ie. mounted
> off a local disk? A simple
>
>        mount | grep ' (local'
>
> works for me, but is there a better way
> (besides mount -t and listing the 'local' FS types)?
>
>        Jan
>
>



--
Aaron Mason - Programmer, open source addict
- Oh, why does everything I whip leave me?

Reply via email to