Linux mount
Mount ISO file
mount -t iso9660 -o loop <iso file name> <mount point>
Mount CD
mount -t iso9660 /dev/cdrom /mnt
Mount FAT32 partition
mount -t vfat <partition> <mount point>
Mount network partition
mount -t cifs -o username=<username> password=<password> //<IP Address>/<folder> <mount point>
check partition:
fdisk -l
check label:
e2label <partition>
check mount:mount
modify:
new partition:mount -o ro /dev/hdd1 /mnt/c 挂载/dev/hdd1到/mnt/c并且为只读
mounted partition:mount -o remount, ro /tmp 重新挂载/tmp并且为只读
mounted partition:mount -o remount, ro /tmp 重新挂载/tmp并且为只读
fuser -v <path>:check the user of the path
fuser -km <path>:close the process of the path
fuser -km <path>:close the process of the path
Check mount support partition type:
ll /lib/module/<kernel>/fs
Comments
Post a Comment