NAME
getext — get VxFS extent attributes
SYNOPSIS
getext
[-F
vxfs]
[-V]
[-f]
[-s]
file...
DESCRIPTION
getext
displays extent attribute information associated with a set
of files.
Options
getext
recognizes the following options:
- -f
Do not print the filenames for which extent attributes are displayed.
- -F vxfs
Specify the VxFS file system type.
- -s
Do not print output for files that do not have fixed extent sizes
or reservations.
- -V
Echo the completed command line, but do not execute the command.
The command line is generated by incorporating the user-specified
options. This option allows the user to verify the command line.
Operands
getext
recognizes the following operand:
- file
Name of file in a VxFS file system.
Notes
Only the
align
and
noextend
allocation flags (set
through
setext(1M)
or the
VX_SETEXT
ioctl) are persistent
attributes of the file and therefore visible via
getext
or the
VX_GETEXT
ioctl.
trim
is also visible, although it is cleared and the reservation
is reduced on the final close of the file.
EXAMPLES
The following example shows a file with a block size of 1024 bytes,
36 blocks reserved, a fixed extent size of 3 blocks,
and all extents aligned to 3 block boundaries:
file1: Bsize 1024 Reserve 36 Extent Size 3 align noextend
The file size cannot be extended once the current reservation is exhausted.
Reservations and fixed extent sizes are allocated in units of the file
system block size.