Re: Mounting question



Darren Mansell wrote:
On Tue, 2007-07-31 at 09:24 -0400, Bart Silverstrim wrote:
I am trying to do some work with some remote Windows shares and while I
can easily mount the volume using places->connect to server, it only
mounts it under the Ubuntu desktop and some GNOME-aware applications.
If I'm trying to do work with scp or cp from a mount point, the path
doesn't exist.

What is the best/easiest way to have, for example, \\windowsserver\share
mounted to \mnt\windows so I can use command line file utilities?

Put it in /etc/fstab ie

//server/share /media/windows smb
uid=1000,gid=1000,rw,credentials=/home/user/.smbpw 0 0

Dont forget to apt-get smbfs

some windows servers require you to use cifs instead of smb for the
filesystem.

Make ~/.smbpw and put

username=yourusername
password=yourpassword

Is there a way to do this on the fly, as in, "the file is need is on
XXXX, so I need to mount that share..." instead of putting into the
fstab (which if I am reading it right would mount it at boot time, but
please correct me if I'm wrong!)?

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • [opensuse] share samba and pam_mount
    ... This server is a member of AD. ... Users' local configuration file (if there is none, ... Individual users may define additional volumes to mount if allowed by ... You can specify either absolute paths, or relative ones, in which case ...
    (SuSE)
  • Summary: Gentoo Linux NFS problem
    ... was started on the Gentoo side before trying to mount the device. ... to a Gentoo Linux client. ... firewalls are disabled on both machines. ... Rpcinfo queries of the server report all is well. ...
    (SunManagers)
  • [1/9] pohmelfs: documentation.
    ... This patch includes POHMELFS design and implementation description. ... Separate file includes mount options, ... * Fast and scalable multithreaded userspace server. ... +command (or set of commands, which is frequently used during data writing: ...
    (Linux-Kernel)
  • [1/9] pohmelfs: documentation.
    ... This patch includes POHMELFS design and implementation description. ... Separate file includes mount options, ... * Fast and scalable multithreaded userspace server. ... +command (or set of commands, which is frequently used during data writing: ...
    (Linux-Kernel)
  • RE: MS Services for UNIX 3.5
    ... by a SFU 3.5 server with no problems - performs as expected. ... 100Mbit LAN connection) but only between the SuperMicro unit and my XP ... both the ASUS and SuperMicro units can mount an exported ... properly mapping linux and windows user accounts. ...
    (RedHat)