Home > Veritas Storage Foundation™ File System Manual Pages
FSTYP_VXFS (1M) |
|
Maintenance Commands |
Table of contents
fstyp_vxfs - return the type of file system on a specified disk partition
fstyp [-v] special
VRTSvxfs
fstyp
determines the type of file system on a disk partition.
If no options are specified and special
contains a Veritas file system,
the standard output displays:
vxfs
The file system-specific versions of
fstyp
check for the
identifying characteristics of a file system. If the appropriate file systems
are present,
fstyp
displays the type string for the file system on standard output
and returns an exit code of zero.
If the appropriate file system is not found,
fstyp
returns
a non-zero exit code.
In the case of a Veritas file system,
fstyp
checks for a VxFS super-block,
specifically, the
fs_magic
field of
the super-block, to determine whether it is
VX_MAGIC.
If a VxFS file system is found,
vxfs
is displayed on
standard output.
The
fs_vxfs(4)
manual page
describes the
super-block
format.
No cluster issues;
command operates the same on cluster file systems.
-
special
-
Specifies the character or block disk device.
-
-v
-
Specifies verbose mode.
Displays the super-block fields,
the number of free blocks and inodes,
and the number of free extents by size.
The output for
-v
differs slightly depending on the disk layout.
For a Version 4 disk layout,
fields such as
logstart,
logend,
and
nau
are zero.
The number of allocation units can be
determined from the file system size field and the
aulen
field.
For Version 4 disk layouts,
all allocation units are the same size
(as shown by
aulen)
except for the last allocation unit,
which can be smaller.
fs_vxfs(4)
Last updated: 7 May 2007
Copyright ©2009 Symantec Corporation
All rights reserved.