MountMount command How to use
grammar:mount -t type -o hanging method sourcepath targetpath
-t detailed options:
CD or CD -ROM image:iso9660
DOS fat16File system:msdos
Windows 9x fat32File system:vfat
Windows NT ntfsFile system:ntfs
Mount WindowsFile network sharing:smbfs(Recommended kernel support) Recommended)cifs
UNIX(LINUX) File network sharing:nfs
-o Detailed options:
loop : Used to connect a file as a hard disk partition to the system
ro : Use only reading method to connect the device
rw : Use reading and writing to hang the device
iocharset : Specify the character set used in the access file system, for exampleiocharset=utf8
remount :Restart
Use real:
windowsFile sharing:
mount -t smbfs -o username=admin,password=888888 //192.168.1.2/c$ /mnt/samba
mount -t cifs -o username=xxx,password=xxx //IP/sharename /mnt/dirname
LinuxFilenfssharing:
mount -t nfs -o rw 192.168.1.2:/usr/www /usr/www
ISOmirror:
mount -o loop -t iso9660 /usr/mydisk.iso /home/ping.bao/cd
USBmobile hard disk:
mount -t ntfs /dev/sdc1 /root/usb
CDROM:
mount /dev/cdrom /home/ping.bao/cd
Cancellation:
umount /dev/cdrom /home/ping.bao/cd
Single user mode Restore the root zone:
mount -o remount,rw /
Appendix:
Make a CD -ROM image:
cdromWhen there is a CD: cp /dev/cdrom /home/ping.bao/mydisk.iso
production specified directory mirror image: mkisofs -r -J -V mydisk -o /usr/mydisk.iso /root/dir
Source:http://hi.baidu.com/baoping2007/blog/item/cc0da68753b62922c75cc38a.html