I am trying to understand how my USB drive is setup in Centos 5.5 -- especially since I made a mistake of backing up to it when it was not turned on. The USB drive is accessed as /media/disk. However, when I did a backup WITHOUT the drive turned on, the data was put into the directory, /media/disk. Now, when I turn on the USB drive (it is self-mounted in 5.5), the USB drive has been assigned "disk-1" -- understood. What I am missing is the "table" that contains the information pointing to USB drive, disk-1. I would like to reset the table so that "disk" is the USB drive and delete the data that is now on my main drive. Hopefully I have explained the situation properly. Todd -- Ariste Software Petaluma, CA 94952 http://www.aristesoftware.com
>I would like to reset the table so that >"disk" is the USB drive and delete the data that is now on my >main drive.It's been a while since I paid attention to this, but afaik the directory under media is the volume name of the disc, with the exception you found, if that directory exists. Move it to a new name, so that directory does not initially exist.
From: Todd Cary <todd at aristesoftware.com>> Now, when I turn on the USB drive (it is self-mounted in 5.5), > the USB drive has been assigned "disk-1" -- understood.? What I > am missing is the "table" that contains the information pointing > to USB drive, disk-1.? I would like to reset the table so that > "disk" is the USB drive and delete the data that is now on my > main drive.Did you "eject" (umount) your disk before you turned it off...? JD