Section: User Commands (1)
Return to Main Contents
list inode information
ils [-emOpvV] [-f fstype] [-s seconds] [-i imgtype] [-o imgoffset]
image [images] [start-stop]
ils [-aAlLvVzZ] [-f fstype] [-s seconds] [-i imgtype] [-o imgoffset]
image [images] [start-stop]
ils opens the named image(s) and lists inode information.
By default, ils lists only the inodes of removed files.
List every inode in the file system.
- -f fstype
Specifies the file system type. Use the -? argument to display
all supported types.
If not given, the default type for the platform is used.
- -s seconds
The time skew of the original system in seconds. For example, if the
original system was 100 seconds slow, this value would be -100.
Display the inode details in the format that the mactime program reads
(replaces the ils2mac script from TCT)
List only inodes of removed files that are still open or executing.
This option is short-hand notation for -aL
"(see the fine controls section below). (this used to be -o).
Display orphan inodes (unallocated with no file name)
(default) List only inodes of removed files. This option is short-hand notation
(see the fine controls section below).
- -i imgtype
Identify the type of image file, such as raw or split. Raw is the default.
- -o imgoffset
The sector offset where the file system starts in the image. Non-512 byte
sectors can be specified using '@' (32@2048).
Turn on verbose mode, output to stderr.
- image [images]
One (or more if split) disk or partition images whose format is given with '-i'.
Examine the specified inode number or number range.
List only allocated inodes: these belong to files with at least one
directory entry in the file system, and to removed files that
are still open or executing.
List only unallocated inodes: these belong to files that no longer
List only inodes with at least one hard link. These belong to files
with at least one directory entry in the file system.
List only inodes without any hard links. These belong to files that no
longer exist, and to removed files that are still open or executing.
List only inodes with zero status change time. Presumably, these
inodes were never used.
List only inodes with non-zero status change time. Presumably, these
belong to files that still exist, or that existed in the past.
The output format is in time machine format, as described in
tm-format(5). The output begins with a two-line header that
describes the data origin, and is followed by a one-line header
that lists the names of the data attributes that make up the
remainder of the output:
The inode number.
Allocation status: `a' for allocated inode, `f' for free inode.
Owner user ID.
Owner group ID.
UNIX time (seconds) of last file modification.
UNIX time (seconds) of last file access.
UNIX time (seconds) of last inode status change.
UNIX time (seconds) of file deletion (LINUX only).
File type and permissions (octal).
Number of hard links.
File size in bytes.
The first two entries in the direct block address list.
mactime(1), mtime, atime, ctime reporter
tm-format(5), time machine data format
This software is distributed under the IBM Public License.
First appeared in The Coroners Toolkit (TCT) 1.0.
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
- SEE ALSO
linux.jgfs.net manual pages