Chinaunix首页 | 论坛 | 博客
  • 博客访问: 449742
  • 博文数量: 21
  • 博客积分: 6636
  • 博客等级: 准将
  • 技术积分: 1006
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-08 11:10
文章分类
文章存档

2011年(11)

2010年(4)

2009年(4)

2008年(2)

分类:

2009-01-09 08:15:05

just want to share the installation instructions.
you'll need some developer software like: gcc-dev
so: pkg install gcc-dev sunstudioexpress
then:
hg clone ssh://anon@hg.opensolaris.org/hg/fuse/libfuse
hg clone ssh://anon@hg.opensolaris.org/hg/fuse/fusefs
$ cd libfuse/
$ export PATH=/opt/SunStudioExpress/bin:/usr/bin:/usr/sfw/bin
$ make
$ make install
$ make pkg
$ cd ../fusefs/kernel
$ make
$ make install
$ make pkg
$ pfexec /usr/sbin/pkgadd -d packages SUNWfusefs
$ pfexec /usr/sbin/pkgadd -d ../../libfuse/packages SUNWlibfuse
$ cd fusefs/kernel/
$ wget
$ gtar xf ntfs-3g-1.2717.tgz
$ export CC=gcc
$ ./configure --prefix=/usr
$ make
$ pfexec make install
how to find you ntfs partision? here's an example:
$ pfexec format
AVAILABLE DISK SELECTIONS:
0. c4d0
/pci@0,0/pci-ide@2,5/ide@0/cmdk@0,0
1. c4d1
/pci@0,0/pci-ide@2,5/ide@0/cmdk@1,0
2. c5d1
/pci@0,0/pci-ide@2,5/ide@1/cmdk@1,0
3. c6t0d0
/pci@0,0/pci1849,7002@3,2/storage@2/disk@0,0
Specify disk (enter its number):
  • now enter your first disk numer like 0
then enter fdisk, and you will see something like:
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 IFS: NTFS 0 1274 1275 26
2 Active Solaris2 1275 4995 3721 74

now quit fdisk & format (enter 6 and then quit)
so: disk you selected (c5d0) + p1
now we can mount it:
$ pfexec ntfs-3g /dev/dsk/c4d0p1 /mnt/windows/
阅读(3065) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~