支持常见文件系统类型U盘

1) 下载ntfs-3g源码,下载地址http://www.tuxera.com/community/ntfs-3g-download/http://sourceforge.net/projects/ntfs-3g/
2)解压,本教程以解压路径/opt/tools/ntfs-3g-ntfs-3g为例

cd ntfs-3g-ntfs-3g
./autogen.sh
需要安装apt-get install autoconf libtool

./configure CC=arm-hisiv200-linux-gcc –host=arm-hisiv200-linux –prefix=/home/nfs/ –disable-ntfsprogs
make

cp src/.libs/ntfs-3g /opt/Hi3531_SDK_V2.0.A.0/osdrv/pub/rootfs_glibc/bin/
cp libntfs-3g/.libs/libntfs-3g.so.54 /opt/Hi3531_SDK_V2.0.A.0/osdrv/pub/rootfs_glibc/lib/

挂载测试
ntfs-3g /dev/sda1 /mnt/ntfs
mount -n -t ext3 /dev/sda1 /mnt/ntfs/

USAGE

If there was no error during installation then the NTFS volume can be
read-write mounted for everybody the following way as the root user
(unmount the volume if it was already mounted, and replace /dev/sda1
and /mnt/windows, if needed):

mount -t ntfs-3g /dev/sda1 /mnt/windows

or
ntfs-3g /dev/sda1 /mnt/windows

Please see the ntfs-3g manual page for more options and examples.

You can also make NTFS to be mounted during boot by putting the below
line at the END of the /etc/fstab file:

/dev/sda1 /mnt/windows ntfs-3g defaults 0 0
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值