天天看點

linux使用ntfs-3g操作ntfs格式硬碟

Linux核心目前隻支援對微軟NTFS檔案系統的讀取。 NTFS-3G 是微軟 NTFS 檔案系統的一個開源實作,同時支援讀和寫。NTFS-3G 開發者使用 FUSE 檔案系統來輔助開發,同時對可移植性有益。
linux使用ntfs-3g操作ntfs格式硬碟

安裝

#Fedora
dnf install ntfs-3g
#centos
yum install ntfs-3g
      

使用

使用mount指令自動識别挂在

使用ntfs指令挂載

# ntfs-3g /dev/your_NTFS_partition /mount/point
      

格式化

寫進fstab檔案

寫進/etc/fstab檔案開機自啟,type類型那節寫"ntfs-3g"

# <file system>   <dir>		<type>    <options>             <dump>  <pass>
/dev/NTFS-part  /mnt/windows  ntfs-3g   defaults		  0       0