Automatically mounting all volumes at boot

Colin Law clanlaw at googlemail.com
Wed Mar 7 09:29:19 UTC 2012


On 7 March 2012 09:21, Conny Enström <uncurbed at swipnet.se> wrote:
> 2012-03-07 10:05, Avi Greenbury skrev:
>
>> Conny Enström wrote:
>>>
>>> Put something like this in your /etc/fstab
>>>
>>> sudo gedit /etc/fstab
>>>
>>> /dev/sdb5   /media/1000GB  ext3     noexec,rw,users,user,nodev  0  0
>>> /dev/sdc1   /media/2000GB  ext3     noexec,rw,users,user,nodev  0  0
>>
>>
>> [...]
>>
>>> Now your drives will automount during boot and also appear on the
>>> desktop.
>>>
>>
>> Not quite. Now sdb5 and sdc1 will mount at boot, which might or might
>> not be the "all visible drives" he asked for.
>>
>
> But fdisk -l will tell you all the information you want right?

You are missing the point I think.  He has a system where disks come
and go, he wants all drives found to be automatically mounted so that
he does not have to keep messing with fstab.

Colin




More information about the ubuntu-users mailing list