HPlogo HP-UX Reference Volume 2 of 5 > g

getext(1M)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

getext (vxfs) — get extent attributes

SYNOPSIS

/usr/sbin/getext [-F vxfs] [-V] [-f] [-s] file...

DESCRIPTION

The getext command displays extent attribute information associated with a set of files.

Options

-F vxfs

Specifies the VxFS file system type.

-V

Echoes the completed command line, but performs no other action. The command line is generated by incorporating the user-specified options. This option allows the user to verify the command line.

-f

Do not print the filenames for which extent attributes are displayed.

-s

Do not print output for files that do not have fixed extent sizes or reservations.

OUTPUT

file1: Bsize 1024 Reserve 36 Extent Size 3 align noextend

The above line indicates a file with 36 blocks of reservation, a fixed extent size of 3 blocks, all extents aligned to 3 block boundaries, and the file cannot be extended once the current reservation is exhausted. In this case, the file system block size is 1024 bytes. Reservation and fixed extent sizes are allocated in units of the file system block size.

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.

© Hewlett-Packard Development Company, L.P.