How does "mount" associate the volume label with a device? Is it stored in a file some where?
Is there a way to reset or clear the association?
Searching returned a lot of info on how to create volume labels and there intended use. Nothing
I have read deals with how it works, or the files/info used to preform mounts from labels.
Running Slack 10.2.
I had a hard drive, hdg, 4 partitions formatted ext2, hdg1 = no label, hdg2 = "extradisk1",
hdg3 = "extradisk2", & hdg4 = "extradisk3". I mounted them using the label instead of the
device name and everything was good. I repartioned hdg with 1 partition and no volume label.
I added a firewire drive, sda, 3 partitions formatted ext2, sda1 = "extradisk1", sda2 =
"extradisk2", & sda3 = "extradisk3". Mounting them using the label doesn't work.
Code:
# mount -L extradisk1 /mnt/hd
mount: wrong fs type, bad option, bad superblock on /dev/hdg2,
missing codepage or other error
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
In some cases useful info is found in syslog - try
dmesg | tail or so
Code:
# dmesg | tail
hdg2: bad access: block=2, count=2
end_request: I/O error, dev 22:02 (hdg), sector 2
EXT2-fs: unable to read superblock
Mount is still trying to use the old hdg partitions when looking for volume labels.
I would like it to mount the firewire disk instead.
Thanks in advance.