Linux Mount
[Root@whp6 ~]# mount/dev/sdb5/mnt/
[root@whp6 ~]# df-h filesystem
Size Used avail use% mounted on
/dev/sda3 16G 2.1G 13G 14%/
tmpfs 931M 0 931M 0%/dev/shm
/dev/sda1 194M 28M 157M 16%/boot
/dev/sdb5 2.0G 68M 1.9G 4% /mnt
[root@whp6 ~]# df-t
filesystem Type 1k-blocks Used Available use% mounted on
/dev/sda3 ext4 16311208 13348288 14%/
tmpfs tmpfs 953276 0 953276 0%/dev/shm/dev/sda1 ext4 198337 28320 159777 16% 2134352/boot
/DEV/SDB5 ext4 2071384 68632 1897528 4%/mnt
[Root@whp6 ~]#
Note: If the file is mounted to the directory will block the original file must uninstall the mounted hard drive to display
[Root@whp6 ~]# ls/home/
1.txt 2 wanghaipeng whp
[root@whp6 ~]# mount/dev/sdb1/home/
[root@whp6 ~]# ls /home
lost+found
[root@whp6 ~]# umount/home
[root@whp6 ~]# ls/home
1.txt 2 Wanghaipeng whp
[ROOT@WHP6 ~]#
Linux Umount Uninstall
[Root@whp6/]# Mount label=wanghaipeng/home/whp/
[root@whp6/]# df-h filesystem
Size Used avail use% mounted C5/>/dev/sda3 16G 2.1G 13G 14%/
tmpfs 931M 0 931M 0%/dev/shm
/dev/sda1 194M 28M 157M 16%/boot/DEV/SDB5
2.0 G 68M 1.9G 4%/mnt
/dev/sdb1 2.0G 74M 1.9G 4%/home/whp
[root@whp6/]# umount-l/home/whp/
[root@whp6/]# D F-h
filesystem Size Used avail use% mounted on
/dev/sda3 16G 2.1G 13G 14%/
tmpfs 931M 0 931M 0%/dev/shm< C15/>/DEV/SDA1 194M 28M 157M 16%/boot
/dev/sdb5 2.0G 68M 1.9G 4%/mnt
[Root@whp6/]#
The above is a small set to introduce the Linux mount Mount and uninstall the hard drive, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!