ls: handle character/block files in long format
Although major() and minor() are not POSIX, we don't want to have macros there so we rely on their implementation by the target system.
This commit is contained in:
6
ls.1
6
ls.1
@@ -55,10 +55,12 @@ List information about the targets of symbolic links instead of the links
|
||||
themselves.
|
||||
.It Fl l
|
||||
List detailed information about each file, including their type, permissions,
|
||||
links, owner, group, size, and last file status/modification time.
|
||||
links, owner, group, size or major and minor numbers if the file is a
|
||||
character/block device, and last file status/modification time.
|
||||
.It Fl n
|
||||
List detailed information about each file, including their type, permissions,
|
||||
links, owner, group, size, and last file status/modification time, but with
|
||||
links, owner, group, size or major and minor numbers if the file is a
|
||||
character/block device, and last file status/modification time, but with
|
||||
numeric IDs.
|
||||
.It Fl p
|
||||
Append a file type indicator to directories.
|
||||
|
Reference in New Issue
Block a user