Make volume labels distinguishable from files#4
Make volume labels distinguishable from files#4unterwulf wants to merge 1 commit intoGregwar:masterfrom
Conversation
So they could be easily filtered out by a parser if needed. (This is required to make a fatcat extfs helper for Midnight Commander.)
|
Hello, |
|
In fact FAT has two places to store disk label. You are talking about Partition Volume Label: IIRC, any MS-DOS format command would "generate" an image having both labels. If you happen to have an image of original MS-DOS 3.30 or 4.01 distribution floppy you can list it with fatcat and then mount it via loopback and you'll see that Linux will have one entry shorter listing of the root directory than fatcat. (Of course MS-DOS itself or Windows won't list it as a file as well.) The problem this commit fixes is that on ancient images fatcat shows directory volume labels as fake zero-sized files. |
So they could be easily filtered out by a parser if needed.
(This is required to make a fatcat extfs helper for Midnight Commander.)