Automatically mounting all volumes at boot

Liam Proven lproven at gmail.com
Wed Mar 7 12:58:05 UTC 2012


2012/3/7 Conny Enström <uncurbed at swipnet.se>:
> 2012-03-07 10:29, Colin Law skrev:
>
>> 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
>>
>
> Ok I see, then it will be tricky.....

:¬) Yes, it seems that it will.

But as I recall, this is what older versions of Ubuntu used to do /by default/.

-- 
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Tel: +44 20-8685-0498 • Cell: +44 7939-087884




More information about the ubuntu-users mailing list