[CentOS] Trying to understand USB HD configuration

Wed Jun 1 20:13:24 UTC 2011
Ljubomir Ljubojevic <office at plnet.rs>

Todd Cary wrote:
> When I turn on the USB drive, it comes up with the name disk-1, 
> so I assume that somewhere that has been assigned.
> 
> Todd
> 
> On 6/1/2011 10:58 AM, Joseph L. Casale wrote:
>>> 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.
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>>
> 

Disconnect your USB drive and as root delete /media/.hal-mtab file. That 
file holds dir names for all USB drives. It will be recreated when you 
attach new USB drive.

Ljubomir