[mythtv] FAT 32 and volume label
maxpower44 at tiscali.fr
Thu Jul 15 11:38:41 EDT 2004
I Actually work around removable drive (firewire / usb via scsi) for
I try to get the volume label of a partition in FAT 32.
I find information about fat here :
Unfortunaly, when i read in offset 71, I get a "NO NAME" label.
But when i'm under windows, I can see the real label.
What i'm doing wrong ?
If the label shown on windows is not the label on fat 32 (71-81) where i
can find it ?
Some help will be appreciate.
PS : here is what i doing :
int drive = open("/dev/sda1", O_RDWR);
if (drive > 0)
cout << "label " << label << endl;
More information about the mythtv-dev