Mounting questions

Marius Gedminas marius at pov.lt
Fri Mar 23 16:51:33 UTC 2007


Hi,

On Fri, Mar 23, 2007 at 10:02:13AM -0400, Bart Silverstrim wrote:
> When I plug in a USB device, it gets mounted using udev to, for  
> example, /dev/sdb1 to /media/usbdisk.  I can use pmount or umount to  
> mount and unmount it if necessary.
> 
> If I go to places->connect to server, then use it to create a  
> connection to a Windows share, I can open a Nautilus window to copy  
> to and from shares in another Nautilus window, but I can't find where  
> that share is mounted from the command line...what is going on?

It is not mounted.  GNOME applications can access Windows shares (and a
few other things as well) without mounting them.

> Is  
> there a way to tell it to mount the share on the filesystem so it's  
> command-line accessible?

Not through Places -> Connect to server.

I like autofs myself.  Install the 'autofs' package (with synaptic or
with sudo apt-get install autofs), then edit (as root) /etc/auto.master,
remove the # mark in front of the /smb line, then in a terminal window
do sudo /etc/init.d/autofs restart

Now whenever you type

  cd /smb/computername

in a terminal window (replace computername with the real one, of
course), it will list the shares exported on that computer and let you
access them, mounting them automatically.

Of course it only works for public shares.

Marius Gedminas
-- 
(define the-question (or (* 2 b) (not (* 2 b))))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070323/369c1069/attachment.sig>


More information about the ubuntu-users mailing list