Syntax:mount-t
type - o
hook-up mode
source path
Target path
- T
Detailed Options
:disc or disc Image:iso9660 DOS FAT16 file system:msdos Windows 9x FAT32 file system:vfat Windows NT NTFS file system:NTFS Mount Windows file network share:smbfs(requires kernel support) Recommended cifs UNIX (LINUX)file network sharing:NFS
- o
Detailed Options
: Loop: Used to attach a file as a hard disk partition hook up system ro: Hook device with read-only mode RW: Hook up the device with read-write mode Iocharset: Specifies the character set used to access the file system, such as Iocharset=utf8 remount:re-mount
usage Examples
:
Mount
Windows
file 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
Mount
Linux
file
n
FS
shared
: mount-t nfs-o rw 192.168.1.2:/usr/www/usr/www
Mount
ISO
Mirror
: mount-o loop-t Iso9660/usr/mydisk.iso/HOME/PING.BAO/CD
Mount
USB
Mobile HDD
: mount-t Ntfs/dev/sdc1/root/usb
Mount
CDROM: Mount/dev/cdrom/HOME/PING.BAO/CD
un-mount
: Umount/dev/cdrom/HOME/PING.BAO/CD
Single-user mode to re-mount the root partition
: mount-o REMOUNT,RW/
How to use Mount Mount commands