Make external hard drive accessible to all users

Mateusz Marzantowicz mmarzantowicz at osdf.com.pl
Fri Jul 13 21:37:00 UTC 2012


On 13.07.2012 23:15, Pasha R wrote:
> On Sat, Jul 14, 2012 at 12:02 AM, Veli-Pekka Kestilä <fedora at guagua.fi> wrote:
>> On 13.7.2012 23:39, Rick Stevens wrote:
>>> On 07/13/2012 01:25 PM, Pasha R issued this missive::
>>>> F17 introduced a change to how external drives are mounted. They are
>>>> mounted now exclusively to a logged on user. This is somewhat
>>>> inconvenient, because iso images stored on external drive is now
>>>> inaccessible to virtual machines. Is it possible to make drives
>>>> accessible to everyone?
>>>
>>> Add the mount to /etc/fstab and make sure the "auto" option is included.
>>> Something like:
>>>
>>>     /path/to/device    /mountpoint    ext4      defaults,auto 0 0
>>>
>> I would use UUID as the device identifier so that if device name changes it
>> will still mount it correctly.
>>
>> blkid /dev/sda1 will get you the uuid and then add:
>>
>> UUID=YOUR-UID         /mountpoint    ext4      defaults,auto     0 0
>>
> If I understand correctly, this implies that device should be
> available at boot time, which is not always the case, since it is
> external USB drive.

No, there is not such need.



More information about the users mailing list