On Wed, 29 Jul 2009, Mark J Musante wrote:

Yes, if it's local. Just use df -n $path and it'll spit out the filesystem type. If it's mounted over NFS, it'll just say something like nfs or autofs, though.

$ df -n /opt
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/md/dsk/d24      33563061 11252547 21974884    34%    /opt
$ df -n /sata750
Filesystem            kbytes    used   avail capacity  Mounted on
sata750              2873622528      77 322671575     1%    /sata750

Not giving the filesystem type. It's easy to spot the zfs with the lack of recognisable device path, though.

--
Andre van Eyssen.
mail: an...@purplecow.org          jabber: an...@interact.purplecow.org
purplecow.org: UNIX for the masses http://www2.purplecow.org
purplecow.org: PCOWpix             http://pix.purplecow.org

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to