实操:编译安装ntfs-3g Linux挂载U盘报错:mount: unknown filesystem type ‘ntfs‘

问题:Linux挂载U盘时,报错mount: unknown filesystem type 'ntfs' 错误。这是由于Linux上无法识别NTFS格式的分区的原因。

解决办法:通过编译安装 ntfs-3g 来解决,以下几步解决问题:

1.下载ntfs-3g安装包,直接通过wget命令,下载到Linux系统上面:

安装gcc
安装ntfs-3g
挂载机械硬盘
取消挂载
什么是挂载 mount
首先,你需要知道Linux中的所有事物都表示为文件目录。你的机械硬盘不是文件夹。因此,你需要将其设置为Linux中的文件夹。就像你使用文件夹包装磁盘一样,使它看起来像一个文件夹,以便Linux可以访问它。这就是我对挂载的理解。

Mounting is a process by which the operating system makes files and directories on a storage device (such as hard drive, CD-ROM, or network share) available for users to access via the computer’s file system.[1]

In general, the process of mounting comprises operating system acquiring access to the storage medium; recognizing, reading, processing file system structure and metadata on it; before registering them to the virtual file system (VFS) component. ——Wikipedia

然后你用来包装你硬盘的文件夹就叫

猜你喜欢

转载自blog.csdn.net/qq_33468857/article/details/132077792
今日推荐