Mount USB HDD to a certain /media/folder after boot

Derek Broughton news at pointerstop.ca
Sun May 25 23:18:09 UTC 2008


David Vincent wrote:

>> /dev/sdb6: LABEL="LD142ext3" UUID="0f05abd4-500c-43b8-992d-71351e8aaa41"
>>
>>
>> With "mount LD142ntfs" I am told, only root can do !
>> OK, with "sudo mount LD142ntfs" I am asked for the PWD and it seems
>> working but I can't find and see anything !!
>>
>> Trying the same with LD142ext3 ends following:
>> sna at WS222:~$ sudo mount -L LD142ext3
>> [sudo] password for sna:
>> mount: mount point /dev/sdb6 is not a directory
>> sna at WS222:~$
>>
>> What am I doing wrong here ??
> 
> you appear to be trying to mount by disk label and not by UUID or the
> /dev/sdb* parition.

OK...  What's wrong with that - it's the best method imo.  In fact, if he
doesn't have an entry for this in /etc/fstab, it should _always_ be getting
mounted to /media/LABEL (ie, in this case, /media/LD142ext3)

-- 
derek





More information about the ubuntu-users mailing list