SUMMARY: How to distinguish between a UFS and ZFS filesystem



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@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



Relevant Pages

  • Re: Resize partitions urgent help
    ... On Tuesday 03 August 2004 16:45, Vijaya S wrote: ... You must not be accessing the filesystems with anything else whilst it is ... I think you can shrink your /dev/hda8 partition and then grow ... the /dev/hda7 parttion with the RESIZE command. ...
    (Debian-User)
  • [SLE] find (and locate)
    ... setup regarding my filesystems and symbolic links from within one ... Ctrl-p and editing that command to insert "-follow". ... So Randall, you did insist on the "fact" that there is no such ...
    (SuSE)
  • Re: How to detect whether a block is free or not?
    ... filesystems does have a way. ... The debugfs tool have a testb command, ... that will lookup a block in the bitmap. ...
    (comp.os.linux.development.system)
  • Re: [opensuse] du -shx issue/question
    ... that are on the root partition on the command line, ... listing any mountpoints ... filesystems containing these directories", including any ...
    (SuSE)
  • making remote dump
    ... I would like to make a backup of all filesystems ... on a tape connected to a remote Tru64 system. ... Can I use the following command? ...
    (RedHat)