aboutsummaryrefslogtreecommitdiff
path: root/toys/other/blkid.c
AgeCommit message (Collapse)Author
2019-03-02Improve help consistency.Elliott Hughes
More consistent tense, capitalization, and punctuation. A few commands were missing an introductory line, so I copied those from the first comment line.
2019-02-23Add blkid -U and -L.Rob Landley
2017-10-31Only show LABEL= when there is one.Rob Landley
2016-03-23Minor blkid cleanup. (There was a while(ptr[-1]==' ') ptr--; that could fallRob Landley
off the start of the string. I pulled on the thread...)
2016-03-22blkid: Handle short/empty vfat labels; update testsSamuel Holland
vfat labels have a fixed space allocated for them. In the case of a shorter label, the remaining bytes are padded with spaces. A vfat filesystem with no label (i.e. that will show up in Windows as "Local Disk (X:)" or "Removable Disk (X:)") is stored as "NO NAME ". Both of these changes match behavior from util-linux.
2016-01-31Fix blkid typo (label wasn't detected in murderfs).Rob Landley
2016-01-05Add error_msg_raw() and friends, replace error_msg("%s", s) uses, enable formatRob Landley
checking, and fix up format checking complaints. Added out(type, value) function to stat to avoid a zillion printf typecasts.
2015-12-04Tom Marshall reported that blkid was handling ext2 wrong.Rob Landley
Even though ext2 has a comment that it has to be at the start, I added swap to the start of the array (oops). The test suite was also wrong (it was matching the _incorrect_ output).
2015-09-17Fix a couple things gcc is too dumb to figure out on its own.Rob Landley
2015-08-06Detect swap partitions, inline loop_partitions(), various cleanups.Rob Landley
2015-08-05I've added support for running blkid without specifying a partition (so it ↵Dima Krasner
scans /proc/partitions).
2015-08-02Mark command-local functions static.Rob Landley
2014-12-18Give fstype its own config symbol (separate from blkid), and fix blkid not ↵Rob Landley
using more accurate ext3/ext4 filesystem sub-type.
2014-06-02Help text should have a blank line after usage: lines, and a couple other ↵Rob Landley
whitespace tweaks.
2013-12-04When building for 32-bit, the compiler can't figure out that a constant too ↵Rob Landley
big to fit in a long isn't trying to unless you explicitly postfix the constant with the type of the varable it's being assigned into.
2013-11-18Add test suite for blkid and clean up an editorial comment that shouldn't ↵0.4.7Rob Landley
have been checked in.
2013-10-08Move blkid out of pending, default y.Rob Landley