aboutsummaryrefslogtreecommitdiff
path: root/generated
diff options
context:
space:
mode:
authorBrad Conroy <bconroy@uis.edu>2013-10-07 14:12:35 -0500
committerBrad Conroy <bconroy@uis.edu>2013-10-07 14:12:35 -0500
commit730d5a851fd8d8d39497e1dbb334baa583816c61 (patch)
tree00ef16e65f1c50282e31cd928faff0a89aa8bb60 /generated
parent04051858fca12d1157155f0273e0f65458a51909 (diff)
downloadtoybox-730d5a851fd8d8d39497e1dbb334baa583816c61.tar.gz
Add blkid.c
I finally figured out the NTFS labels after reading a rant on how UTF-8 rocks and how MS switched to UTF16 or UCS1 or whatever. The reason I couldn't grep for the label (mine was "myntfs") was that it is stored as "m\0y\0n\0t\0f\0s\0\0" - found another good use for hexdump :) Notes: I only have x86 to test on, so there are a couple of places that may need bswap_{16,32} for endianness. I used a 65k buf instead of toybuf (4k) for simplicity, but tried to organize it for toybuf if wanted. I have info on more fs types, to patch with after review. blkid does output for all devices if 0 args -> read /proc/partitions?
Diffstat (limited to 'generated')
0 files changed, 0 insertions, 0 deletions