Label of a HD - label and format /v:label write labelname to different positions
Hi,
there is a strange behaviour that I was to able to reproduce on a real DOS machine and in Virtualbox.
When installing FreeDOS on a FAT16/32 machine via fdisk (one partition) and format /v:label001 (=label name) there is no error message. If you run fdisk after a reboot the label name "label001" is shown within fdisk when you choose the option "Display partition information".
After this I ran the command "Label" and gave it the name "label002new".
The command "dir" shows the new label "label002new" even after several reboots.
But in fdisk "display partition information" there is still shown "label001".
Further investigations showed me that "label001" is stored at sector 63 of the vhd, whereas "label002new" is at sector 564 of the virtual HD. So for any reason "label" and "format /v" seem to use different positions on the HD for the same thing.
Enclosed a bootable FD vhd image for demonstration purposes with fdisk, label and format included.
Thank you for Richard Kolacz for reporting this strange behaviour to me.
label-problem_FreeDOS.7z

