ILS(1)

NAME
ils - list inode information

SYNOPSIS
ils [-hlouv] device [start-stop ...]

DESCRIPTION
ils opens the named device and lists inode information. When no inode numbers are given, ils lists unlinked and/or unallocated inodes only. When explicit inode numbers or number ranges are given, ils lists all specified inodes or all inodes within the specified ranges. Arguments:

-h  Do not prepend a time machine header to the output (see below).

-l  Show linked inodes, too.

-o  Show unlinked open files only.

-u  Show never-used inodes, too.

-v  Turn on verbose mode.

device
    Regular file or special device containing a file system. With UNIX FFS, using a raw disk device gives better efficiency than using a block device. With LINUX ext2fs, ils does not support access via the raw disk device interface.

start-stop ...
    Examine the specified inode number or number range. Either the start or the -stop may be omitted.

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:

inum
    The inode number.

allocation
    `a' for allocated inode, `f' for free inode.

uid Owner user ID.

gid Owner group ID.

m_time
    UNIX time (seconds) of last file modification.

a_time
    UNIX time (seconds) of last file access.

c_time
    UNIX time (seconds) of last inode status change.

dtime
    UNIX time (seconds) of file deletion (LINUX only).

mode
    File type and permissions (octal).

links
    Number of hard links.

size
    File size in bytes.

block0,block1
    The first two entries in the direct block address list.

BUGS
ils currently supports only one file system type, namely, the default file system type of the system it was compiled for.

LICENSE
This software is distributed under the IBM Public License.

AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA