Jan Hendrik Mangold wrote:
This may be a dumb question, but is there a way to find out if an arbitrary filesystem is actually a zfs filesystem? Like if I were to write a script that needs to do different steps based on the underlying filesystem.
From scripting look at the /etc/mnttab file. From C code use statvfs and look at f_fstr. -- Darren J Moffat _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss