]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lslocks: new command
authorDavidlohr Bueso <dave@gnu.org>
Mon, 27 Feb 2012 17:26:40 +0000 (18:26 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 29 Feb 2012 13:08:11 +0000 (14:08 +0100)
commit3dc02ef4080d5ea913a24ad759cc124ab6b514f4
tree257edaf3bd701247b7d11269743637209ee5854d
parent79b128072502544e8e8ede0b46d93c052ac575a1
lslocks: new command

The new lslocks(8) program is meant to replace the deprecated lslk(8). It is
designed for simplicity and removes unnecessary Unix legacy outputs and
options:

- Don't output inode number, whence and maj:min device numbers.
- Don't provide nonblocking syscall options stat(2) and readlink(2)
- Remove lslk's alternate default kernel name list file path (-k)

The option to use nonblocking calls was previously intended for NFS partitions;
however this should be transparent to utility programs considering that
timeouts can occur generically (fuse - sshfs, NFS, netdevs, etc).

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
configure.ac
misc-utils/.gitignore
misc-utils/Makefile.am
misc-utils/lslocks.c [new file with mode: 0644]