First install the NTFS-3G package on linux, enable the linux system to identify the directory to be mounted when creating a disk in the ntfs format mkdir/sda. execute the following command to start mounting 1mount-tntfs-3g/dev/sda5/sda. now you can see that the disk has been successfully mounted 1234567 [root @ tysda] # dfFilesystem1K-blocks & n
First, install the NTFS-3G package on linux, so that the linux system can recognize the ntfs format disk
Create the directory to be mounted
Mkdir/sda
Run the following command to start mounting:
| 1 |
mount-t ntfs-3g /dev/sda5/sda |
Now, you can see that the mounting is successful when you view df.
| 1234567 |
[root@ty sda]# dfFilesystem 1K-blocks Used Available Use% Mounted on/dev/mapper/vg_ty-LVl040316280 26329356 11938924 69% /tmpfs 1831488 312 1831176 1% /dev/shm/dev/sda8198337 34225 153872 19% /boot/dev/sda579706464 57682884 22023580 73% /sda |
Although the mounting is complete, the system has to be remounted after the system is restarted. now we need to enable automatic mounting upon startup.
Vi/etc/fstab
| 123 |
sysfs /syssysfs defaults 0 0proc /procproc defaults 0 0/dev/sda5/sdantfs-3g defaults 0 0 |
Add the last line, restart the system, and use df to check that the disk in windows is mounted.
Mounting an iso image in linux
Rhel-server-6.2-x86_64-dvd.iso of mount-o loop
Although the mounting is complete, the system has to be remounted after the system is restarted. now we need to enable automatic mounting upon startup.
Vi/etc/fstab
/Iso/rhel-server-6.2-x86_64-dvd.iso/var/rhel6.2 iso9660 ULTS ults, rw, loop =/dev/loop0 0 0
This article is from the "fish" blog, please be sure to keep this source http://ty1992.blog.51cto.com/7098269/1318694