Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1018277
  • 博文数量: 244
  • 博客积分: 6820
  • 博客等级: 准将
  • 技术积分: 3020
  • 用 户 组: 普通用户
  • 注册时间: 2008-09-09 21:33
文章分类

全部博文(244)

文章存档

2013年(1)

2012年(16)

2011年(132)

2010年(3)

2009年(12)

2008年(80)

我的朋友

分类: LINUX

2011-04-12 18:38:29

一、Environment
1、PC Linux :REL4 (Kernel 2.6);
2、Compiler:gcc-4.1.1
3、ARM Linux:Kernel 2.6

二、Operation steps in PC Linux
  1、Download source packages from URL below:
a、fuse-2.5.2.tar.gz 
b、ntfs-3g-1.2812.tgz  
2、Tar the two source packages
a、# tar zxvf fuse-2.5.2.tar.gz
# ./configure --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar --with-kernel=/usr/src/linux-2.6.19.2
# make
# make install
After finishing all steps above ,  you will find a '.ko' file in '. /fuse-2.5.2/kernel/fuse.ko ' and a '.so' file in  ' /usr/local/lib/libfuse.so.2.7.4 '.
b、# tar zxvf ntfs-3g-1.2812.tgz
# ./configure --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar --with-kernel=/usr/src/linux-2.6.19.2
# make
    # make install
After finishing all steps above ,  you will find a executed file 'ntfs-3g' in ' /usr/local/bin/ntfs-3g ' and a '.so' file in  ' /usr/local/lib/libntfs-3g.so.0.0.0 '.

三、Operation steps in ARM Linux
1、# cp libfuse.so.2.7.4 /lib
# cp libntfs-3g.so.0.0.0 /lib
# cp ntfs-3g /bin 
# insmod fuse.ko
# ntfs-3g -o silent /dev/sda1 /mnt/sd

It's ok . If you do those steps successfully , congratulation to you .
阅读(829) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~