<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/src/stat.c, branch v9.0</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=v9.0</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=v9.0'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2021-09-16T14:21:05Z</updated>
<entry>
<title>stat,tail: add support for the secretmem file system</title>
<updated>2021-09-16T14:21:05Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-09-16T14:21:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=92ffc842dc6215cf0be4b9b96f9ef919844a3570'/>
<id>urn:sha1:92ffc842dc6215cf0be4b9b96f9ef919844a3570</id>
<content type='text'>
* src/stat.c (human_fstype): Add case for the 'secretmem'
file system type.
* NEWS: Mention the Improvement.
</content>
</entry>
<entry>
<title>stat: use decomposed decimal device numbers by default</title>
<updated>2021-06-21T11:03:42Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-06-20T20:26:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5f8e6fc202b53b02c0a213c6ca751e87a4b3caa5'/>
<id>urn:sha1:5f8e6fc202b53b02c0a213c6ca751e87a4b3caa5</id>
<content type='text'>
* src/stat.c (default_format): Use decomposed decimal
representation (major,minor) in the default format.
This is least ambiguous for human interpretation,
and more consistent with ls for example.
Fixes https://bugs.gnu.org/48960
</content>
</entry>
<entry>
<title>stat: support more device number representations</title>
<updated>2021-06-21T11:01:04Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-06-20T14:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=4a8278229e0ead89231b3d44d747fe3c10767596'/>
<id>urn:sha1:4a8278229e0ead89231b3d44d747fe3c10767596</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>maint: use "char const *" rather than "const char *"</title>
<updated>2021-04-11T17:33:45Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-04-11T17:23:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ef772bf97f7ec577754cbb5b278504d83cf41a43'/>
<id>urn:sha1:ef772bf97f7ec577754cbb5b278504d83cf41a43</id>
<content type='text'>
* cfg.mk (sc_prohibit-const-char): Add a new syntax-check to
enforce this style.
* *.[ch]: sed -i 's/const char \*/char const */g'
</content>
</entry>
<entry>
<title>stat,tail: add support for the exfat file system</title>
<updated>2021-02-18T13:50:29Z</updated>
<author>
<name>Kamil Dudka</name>
<email>kdudka@redhat.com</email>
</author>
<published>2021-02-18T10:18:04Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=a5e0d8f387e81e854427addbbaf2504541bbf4b9'/>
<id>urn:sha1:a5e0d8f387e81e854427addbbaf2504541bbf4b9</id>
<content type='text'>
Bug: https://bugzilla.redhat.com/1921427

* src/stat.c (human_fstype): Add case for the 'exfat' file system type.
* NEWS: Mention the Improvement.
Fixes https://bugs.gnu.org/46613
</content>
</entry>
<entry>
<title>maint: update all copyright year number ranges</title>
<updated>2021-01-01T16:36:09Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2021-01-01T16:36:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=32ff1d1313ff566685b9092ac929251a4c22e7c4'/>
<id>urn:sha1:32ff1d1313ff566685b9092ac929251a4c22e7c4</id>
<content type='text'>
Run "make update-copyright" and then...

* gnulib: Update to latest with copyright year adjusted.
* tests/init.sh: Sync with gnulib to pick up copyright year.
* bootstrap: Likewise.
* tests/sample-test: Adjust to use the single most recent year.
</content>
</entry>
<entry>
<title>stat,tail: sync file system constants from the linux kernel</title>
<updated>2020-10-28T14:16:29Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2020-10-27T20:15:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ff80b6b0a0507e24f39cc1aad09d147f5187430b'/>
<id>urn:sha1:ff80b6b0a0507e24f39cc1aad09d147f5187430b</id>
<content type='text'>
* src/stat.c: Add magic constants for "devmem", and
"zonefs" file systems.
* NEWS: Mention the improvement.
</content>
</entry>
<entry>
<title>doc: fix punctuation in stat --help</title>
<updated>2020-09-29T20:57:30Z</updated>
<author>
<name>Benno Schulenberg</name>
<email>bensberg@telfort.nl</email>
</author>
<published>2020-09-29T12:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=ebaffa5094f3eb55ad0d1c1014e4395896d5684e'/>
<id>urn:sha1:ebaffa5094f3eb55ad0d1c1014e4395896d5684e</id>
<content type='text'>
* src/stat.c (usage): Replace a mistaken semicolon with a colon,
and replace mistaken backticks with single quotes.  Also reorder
some words, for clarity.
Fixes https://bugs.gnu.org/43707
</content>
</entry>
<entry>
<title>stat,tail: add support for the VBOXSF file system</title>
<updated>2020-06-20T14:07:19Z</updated>
<author>
<name>Bernhard Voelker</name>
<email>mail@bernhard-voelker.de</email>
</author>
<published>2020-06-19T18:33:55Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=f5644c986ce39c6ca5fffbae30a2828b8ee56502'/>
<id>urn:sha1:f5644c986ce39c6ca5fffbae30a2828b8ee56502</id>
<content type='text'>
* src/stat.c (human_fstype): Add case for the 'vboxsf' file system type
which is used for VirtualBox Shared Folders mounted in VirtualBox guest
VMs.
* NEWS: Mention the Improvement.
Fixes https://bugs.gnu.org/41935
</content>
</entry>
<entry>
<title>stat,tail: sync file system constants from the linux kernel</title>
<updated>2020-02-25T00:03:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2020-02-09T14:10:50Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=75f79010cda36080e03545b19eee8ffd855b1ff4'/>
<id>urn:sha1:75f79010cda36080e03545b19eee8ffd855b1ff4</id>
<content type='text'>
* src/stat.c: Add magic constants for "binderfs", "dma-buf-fs",
"erofs", "ppc-cmm-fs", and "z3fold".
* NEWS: Mention the improvement.
</content>
</entry>
</feed>
