1 Drive labels and serial numbers with wine
2 -----------------------------------------
4 Until now, your only possibility of specifying drive volume labels
5 and serial numbers was to set them manually in the wine config file.
6 By now, wine can read them directly from the device as well. This may be
7 useful for many Win 9x games or for setup programs distributed on CD-ROMs
8 that check for volume label.
12 * FAT systems (types 'hd' and 'floppy'): reads labels and serial num's.
13 * Iso9660 ('cdrom'): reads labels only.
17 Reading labels and serial numbers just works automagically if
18 you specify a 'Device=' line in the [Drive X] section in your wine.conf.
19 Note that the device has to exist and must be accessible if you do this,
21 If you don't do that, then you should give fixed 'Label=' or 'Serial=' entries
22 in wine.conf, as Wine returns these entries instead if no device is given.
23 If they don't exist, then Wine will return default values (label "Drive X"
26 Now a seldom needed one:
27 If you want to give a 'Device=' entry *only* for drive raw sector accesses, but
28 not for reading the volume info from the device (i.e. you want a *fixed*,
29 preconfigured label), you need to specify 'ReadVolInfo=0' to tell Wine to skip
34 *** Simple example of cdrom and floppy; labels will be read from the device on
35 both cdrom and floppy; serial numbers on floppy only:
49 *** CD-ROM. We want to override the label:
55 ; note that the device isn't really needed here as we have a fixed label
61 - The cdrom label can be read only if the data track of the disk resides in
62 the first track and the cdrom is iso9660.
63 - Better checking for FAT superblock (it now check's only one byte).
64 - Support for labels/serial num's WRITING.
65 - Can the label be longer than 11 chars? (iso9660 has 32 chars).
66 - What about reading ext2 volume label? ....
68 Petr Tomasek changes by: Andreas Mohr
69 <tomasek@etf.cuni.cz> <a.mohr@mailto.de>
70 Nov 14 1999 Jan 25 2000