红联Linux门户
Linux帮助

linux挂载windows分区

发布时间:2012-02-14 22:08:21来源:红联作者:langhun
想将本地局域网内windows分区挂载在我的linux下使用,但不知道问题出在哪儿?以下是我的操作记录,那位高人帮忙指点指点,不胜感激
[jia@www samba]$ smbclient -L //192.168.1.3
Enter jia's password:
session request to 192.168.1.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[LANGHUN1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
本地磁盘 (J) Disk
IPC$ IPC 远程 IPC
本地磁盘 (I) Disk
print$ Disk 打印机驱动程序
EPSONSty Printer EPSON Stylus Photo R290 Series
本地磁盘 (E) Disk
本地磁盘 (G) Disk
本地磁盘 (F) Disk
本地磁盘 (D) Disk
本地磁盘 (H) Disk
Generic1 Printer Generic 16BW-5
session request to 192.168.1.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[LANGHUN1] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
[jia@www samba]$ sudo mount -t cifs //192.168.1.3/本地磁盘 (E) /media/5
bash: syntax error near unexpected token `('
[jia@www samba]$ sudo mount -t cifs //192.168.1.3/本地磁盘 \(E\) /media/5
[sudo] password for jia:
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
文章评论

共有 0 条评论