chmod不起做用html
可能的緣由:linux
chmod對應的是windows下的一個磁盤分區,ntfs不支持linux權限windows
附:Linux下如何查看分區文件系統類型 bash
1,fdisk -l post
fdisk -l 只能列出硬盤的分區表、容量大小以及分區類型,但看不到文件系統類型。spa
2,df -hcode
df 命令是用來查看文件系統磁盤空間使用量的。但df 命令只會列出已掛載的文件系統信息,對於沒有掛載的文件系統是查看不到的。使用這個命令能夠很方便的查看已掛載的文件系統的空間使用量、剩餘空間大小等信息。orm
3,partedhtm
parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, linux-swap, FAT, FAT32, and reiserfs partitions. It can create, resize, and move Macintosh HFS partitions, as well as detect jfs, ntfs, ufs, and xfs partitions. It is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks.
This manual page documents parted briefly. Complete documentation is distributed with the package in GNU Info format; see near the bottom.blog
parted命令就比較強大了,用parted命令能夠對大於2TB的磁盤設備進行分區,以及建立GPT分區(而fdisk命令就辦不到了)。
若是要查看 /dev/sda 各分區的文件系統類型,能夠按照如下步驟來查看:(主要是print list命令)
1
2
3
|
parted
/dev/sda
(parted) print list
|
1
|
parted命令仍是很簡單的。
|