Linux---mount

来源:互联网 发布:装机必备软件 编辑:程序博客网 时间:2024/05/23 17:13

Linux mount-man page description:

 All files accessible in a Unix system are arranged in one big tree, the

       file hierarchy, rooted at /.  These files can be spread out  over  sev-
       eral  devices. The mount command serves to attach the file system found
       on some device to the big file tree. Conversely, the umount(8)  command
       will detach it again.

Mount is used to attach your device to some directory which make you access the device content by the file system tree.


usage:   mount -t $_fstype   $_device $_mntdir



for example:

there is one device /dev/hdb1. I'd like to access fiiles this devices. we can mount it in some directory, say "/mnt". 

command would be like "mount -t ext3 /dev/hdb1 /mnt"



0 0