FSINDEX — User Commands
NAME
fsindex − Print the block index map for a file.
SYNOPSIS
fsindex -dev device -part partition file1 file2 ...
fsindex -dev device -part partition -inum num1 num2 ...
OPTIONS
−dev deviceThe name of the device file one which the files live. Typical names are “rsd00” (SCSI hba 0 target 0) and “rxy0” (Xylogics controller 0). For SCSI disks, the two digits represent the HBA index and the target ID, respectively.
−part partitionWhere partition is one of ‘a’, ‘b’, ... up to ‘h’. The device and partition are concatinated to create the complete device name, i.e. “rxy0g”.
−inumThis option causes the remaining arguments to be interpreted as inode numbers instead of file names.
DESCRIPTION
This dumps out the block indexes of a file. It is meant as a simple tool for examining the layout of a file on disk. You can consult a server’s mount table (/hosts/hostname/mount) to determine the device that corresponds to a particular file system.
EXAMPLES
fsindex -dev rxy0 -part g file1 dir/file2 file3 fsindex -dev rsd00 -part c -inum 53900 4681
BUGS
The syntax for specifying the device is baroque.
KEYWORDS
block layout, disk, file
Sprite version 1.0 — March 09, 1990