On 21 December 2010 10:41, Graham Smith <myotis...@gmail.com> wrote:

> My notes from 2008! say to  mount my NAS by runnng this command
>
> sudo mount -t cifs //192.168.1.10/Public <http://192.168.1.11/Public> 
> /media/public
> -o user=QNAP/username%password
>
>
> BUT I am getting an error that media/public does not exist.
>
> I assumed that this would create media/public, do I need to create this in
> advance and indeed is this the best place to mount it.
>
> And is that "%" correct
>
>
> Additionally, my notes suggest that to mount it everytime I boot needs the
> following added to  etc/fstab
>
> //192.168.1.10/ <http://192.168.1.110/MyFiles>Public /home/name/Server1 cifs 
> username=adminz,password=
>
>
>
> But I am now not sure what this means
>
> Should I be adding
>
> //192.168.1.10/ <http://192.168.1.110/MyFiles>Public /home/media/public cifs 
> username=username,password=
>
> Many thanks,
>
>
> Graham
>
>
>
No, mount doesn't create a mount point, you have to do that. /media is now
the standard though.

/media is in the root file system by default and makes the disc available to
everyone, so the fstab entry should be
//192.168.1.10/Public /media/public cifs username=username,password=password

s/

-- 
Twitter: @sfgreenwood
"Is this your sanderling?"
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to