]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lslocks: add note about OFDLCK
authorKarel Zak <kzak@redhat.com>
Fri, 3 Nov 2017 10:20:41 +0000 (11:20 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 3 Nov 2017 10:20:41 +0000 (11:20 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
misc-utils/lslocks.8
misc-utils/lslocks.c

index db5dc3245da037ffac6500298d0ca493be69a4a6..09b8d418143ad16141389a0a3154a4f4f58a6659 100644 (file)
@@ -53,8 +53,8 @@ The command name of the process holding the lock.
 .IP "PID"
 The process ID of the process which holds the lock.
 .IP "TYPE"
-The type of lock; can be FLOCK (created with \fBflock\fR(2)) or POSIX
-(created with \fBfcntl\fR(2) and \fBlockf\fR(3)).
+The type of lock; can be FLOCK (created with \fBflock\fR(2)), POSIX
+(created with \fBfcntl\fR(2) and \fBlockf\fR(3)) or OFDLCK (created with fcntl(2).
 .IP "SIZE"
 Size of the locked file.
 .IP "MODE"
index 24c6d6324a945727afa846bd2053d0ba6f431587..a1a7ab676ce87ee531748113ce0d0ea7e88193dd 100644 (file)
@@ -72,7 +72,7 @@ struct colinfo {
 static struct colinfo infos[] = {
        [COL_SRC]  = { "COMMAND",15, 0, N_("command of the process holding the lock") },
        [COL_PID]  = { "PID",     5, SCOLS_FL_RIGHT, N_("PID of the process holding the lock") },
-       [COL_TYPE] = { "TYPE",    5, SCOLS_FL_RIGHT, N_("kind of lock: FL_FLOCK or FL_POSIX.") },
+       [COL_TYPE] = { "TYPE",    5, SCOLS_FL_RIGHT, N_("kind of lock") },
        [COL_SIZE] = { "SIZE",    4, SCOLS_FL_RIGHT, N_("size of the lock") },
        [COL_MODE] = { "MODE",    5, 0, N_("lock access mode") },
        [COL_M]    = { "M",       1, 0, N_("mandatory state of the lock: 0 (none), 1 (set)")},