SUMMARY: How to distinguish between a UFS and ZFS filesystem

From: Michael Dahlberg <olgamirth_at_gmail.com>
Date: Thu Sep 25 2008 - 09:45:14 EDT
Thank you very much to all who replied.  Most suggested using 'df -n'
to determine the mounted filesystems and their type.  (Linux has a
similar command line parameter, '-T', but I find the output of
Solaris' version to be more "clean").

Some suggested using the command '/usr/sbin/fstyp' to determine the
filesystem type for both mounted and unmounted filesystems.  Since you
must pass the device special file that corresponds to the filesystem,
I had trouble determining it's usage with ZFS filesystems.  In
addition, latter versions of the Solaris man page for fstyp come with
this warning:

"This command is unreliable and its  results  should  not  be used to
make any decisions about subsequent use of a storage device or disk
partition."

Again, thank you to all who replied.

Mike
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Sep 25 09:48:45 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:12 EST