|
命令格式:<br /><br />mount <pararmeter> <file_format> <dev> <mount_point><br /><br /><pararmeter>参数<br /><dev>为将挂接的硬盘分区,<br /><file_format>为相应的硬盘分区的文件格式<br /><mount_point>为指向挂载分区的挂载点<br /><br />z.B.: mount -t vfat /dev/hda1 /mnt/win<br />就是将分区hda1上的windows文件挂接到/mnt/win这个目录下。<br /><br />其中-t :<br /><br /><br /> -t vfstype<br /><br /> The argument following the -t is used to indicate the file sys-<br /> tem type. The file system types which are currently supported<br /> are: adfs, affs, autofs, coda, coherent, cramfs, devpts, efs,<br /> ext, ext2, ext3, hfs, hpfs, iso9660, jfs, minix, msdos, ncpfs,<br /> nfs, ntfs, proc, qnx4, reiserfs, romfs, smbfs, sysv, tmpfs, udf,<br /> ufs, umsdos, vfat, xenix, xfs, xiafs. Note that coherent, sysv<br /> and xenix are equivalent and that xenix and coherent will be<br /> removed at some point in the future -- use sysv instead. Since<br /> kernel version 2.1.21 the types ext and xiafs do not exist any-<br /> more.<br /><br /><br /><br />当然,首先你得通过mkdir 命令建立挂载点<br /><br />mkdir /mnt/win<br />mount -t vfat /dev/hda1 /mnt/win<br /><br />然后访问/mnt/win文件夹就可以看到windows下得文件了。 <br />其实Unix系统存储设备都是通过mount挂接的,比如光驱、软驱等等<br /><br />参考资料:<br />http://www.die.net/doc/linux/man/man8/mount.8.html |
|