mounting windows clients

Urban Widmark urban at teststation.com
Mon Oct 29 14:19:03 GMT 2001


On Mon, 29 Oct 2001, Greg Conway wrote:

> I can mount the drive I want to backup as follows:
> 
> mount -t smbfs -o username=greg //greglaptop/c$ /mnt
> 
> which prompts me for a password and mounts the drive at /mnt, which is great
> but it knocks out my CD ROMs and floppy drive!

knocks out ??? You mean hides/covers.


> If I try to mount the drive anywhere else, I get an error:
> 
> Could not resolve mount point /mnt/c

The directory /mnt/c must exist before mounting and should normally be a
local directory (if you already mounted /mnt, umount it first).

If you are not mounting as root then the dir must be owned and be writable
by the person running smbmount.


> mount drive #1
> tar data
> unmount drive #2
> mount drive #2
> tar data
> unmount drive #2
> etc

No problems with doing that.
(tar will likely complain about modified files even when there are none,
 so ignore it ... it's a smbfs bug)


> Any ideas on this, or just a simple 'sod off to the redhat group'??!! (or
> maybe use smbmount!)

"mount -t smbfs" runs /sbin/mount.smbfs which is the same as smbmount.

We don't generally tell people to sod off, unless they are spammers or
post html email. And in most cases they are just ignored.

/Urban





More information about the samba mailing list