Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 49 to 49 | ||||||||
From Linux Laptop | ||||||||
Added: | ||||||||
> > | To mount an external drive on Linux using CIFS use:
mount -t cifs SERVER_NAME LOCAL_MOUNT_DIRECTORY -o user=USER_NAME
So, for example, if your name is Napoleon Solo and you have a guphysics account and you wished to mount the detdev01 directory in the //ppesmb Samba file system to the local /mnt directory, you would use:
mount -t cifs //ppesmb/data/detdev01 /mnt -o user=guphysics/nsolo
Napoleon would then be prompted for his password before mounting took place.
The password can also be passed as an additional comma-seperated argument ("pass") or inside a file, along with the user name ("credentials").
N.B. The user name must include the guphysics domain. Make sure the mount directory exists.
For some more details and some useful CIFS documentation, please see here![]() | |||||||
-- AndrewPickford - 25 Jan 2009
|