D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Mounting

 

On 17/06/11 12:25, Jack Oley wrote:
> Hi all.  Can anyone tell me how I can 'permanently' mount access in
> Ubuntu so it can see the Windows My Documents (or whatever)?  Currently,
> each time I or my daughter logs on and try to access this folder, I have
> to enter my password.  I've looked in the Sybex Linux book, but still
> cannot suss this out.  Many thanks.   Jack.

Sorry would have replied earlier, but I thought this was across the network.

Once it is mounted, you can find the relevant line in /etc/mtab (list of
file systems mounted), and add that line to /etc/fstab (list of mounts
to do).

You should check the options you have are what you want (man 8 mount),
and if it is usually mounted by the automount in a special place you
probably want to move it (i.e. if home is "/home/simon" "mkdir
/home/simon/windisk" and change the mount point in /etc/fstab.


Unmount it using your usual method then you can them use "mount
/home/simon/windisk" to check that the fstab entry is correct. Check it
is correct before rebooting as a mangled fstab can cause problems (not
insurmountable but easy to avoid).

I presume the password check is a sudo type check, since mounting a
filesystem always use to requires system admin privilege, although it
can be delegated these days by specifying relevant options in /etc/fstab
if you don't always want it mounted for some reason, but just want to
lose the password check.


-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq