Mounting on startup in 12.04
TopBot .
topbot5 at googlemail.com
Mon Mar 17 19:43:35 UTC 2014
With regards to this question:
http://askubuntu.com/questions/45241/mount-drive-through-command-line-as-if-i-clicked-on-it-in-nautilus/435595#435595
Is there any way to use this command in the rc.local or otherwise at
startup without editing fstab?
udisks --mount /dev/disk/by-label/Data
It works great as a manual command in terminal but when i try to mount the
drive "Data" using the same command on startup by using the command via
rc.local, the data drive disappears from the side panel and when I try to
open it from /media/Data it says I do not have the permissions to access
content from the drive (which is not the issue if i do it on normal
basis).. the point was to mount the drive without any other hassle on
startup. Is it being mounted by root and I need permissions to access too?
Is there any modification of the command that will enable mounting the
drive just as if it was manually entered at the start?
I posted on that thread but then found out that it was a very old thread so
posting here. I'll like to mount the drive by label "Data" on start up but
not by editing fstab rather by some start up script preferably rc.local
minus the issue being faced.
--
TopBot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140318/965ec0ea/attachment.html>
More information about the ubuntu-users
mailing list