Pádraig Brady
4a8278229e
stat: support more device number representations
...
In preparation for changing the default device number
representation (to decomposed decimal), provide more
formatting options for device numbers.
These new (FreeBSD compat) formatting options are added:
%Hd major device number in decimal (st_dev)
%Ld minor device number in decimal (st_dev)
%Hr major device type in decimal (st_rdev)
%Lr minor device type in decimal (st_rdev)
%r (composed) device type in decimal (st_rdev)
%R (composed) device type in hex (st_rdev)
* doc/coreutils.texi (stat invocation): Document new formats.
* src/stat.c (print_it): Handle the new %H and %L modifiers.
(print_statfs): Adjust to passing the format as two chars
rather than an int. Using an int was introduced in commit db42ae78 ,
but using separate chars is cleaner and more extensible.
(print_stat): Likewise. Handle any modifiers and the new 'r' format.
(usage): Document the new formats.
* tests/misc/stat-fmt.sh: Add a test case for new modifiers.
Addresses https://bugs.gnu.org/48960
2021-06-21 12:01:04 +01:00
..
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-02-10 14:17:26 +00:00
2021-02-10 14:17:26 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-03-15 12:44:22 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-03-29 15:48:39 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-26 09:24:41 -08:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-06-21 12:01:04 +01:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00
2021-01-01 16:36:09 +00:00