terça-feira, 23 de agosto de 2011

ntfs-3g no Openindiana.

Usando IPS default do Openindiana + Opensolaris Legacy

# pkg install SUNWonbld gcc-dev sunstudioexpress SUNWgnome-common-devel

# hg clone ssh://anon@hg.opensolaris.org/hg/fuse/libfuse
# hg clone ssh://anon@hg.opensolaris.org/hg/fuse/fusefs

Compilando libfuse:

# cd libfuse/
# export PATH=/opt/onbld/bin:/opt/onbld/bin/i386:/opt/SunStudioExpress/bin:/usr/bin:/usr/sfw/bin

# make
# make install
# make pkg

Compilando o módulo do kernel:

# cd ../fusefs/kernel
# make
# make install
# make pkg

# /usr/sbin/pkgadd -d packages SUNWfusefs
# /usr/sbin/pkgadd -d ../../libfuse/packages SUNWlibfuse

# export PATH=/opt/SunStudioExpress/bin:/usr/bin:/usr/sfw/bin
# wget http://blogs.sun.com/rslee/resource/pkg/ntfs-3g-2009.2.1.tgz
# tar zxf ntfs-3g-2009.2.1.tgz
# export CC=gcc
# ./configure --prefix=/usr
# make
# make install

Descuba a sua partição (eu usei o gparted) e monte:

# ntfs-3g /dev/dsk/c1t0d0p2 /export/home/Windows

Pronto, acesse o seu Windão.


Referências:
http://www.tuxera.com/community/ntfs-3g-download/
http://hub.opensolaris.org/bin/view/Project+fuse/Installation
http://blogs.oracle.com/rslee/entry/mount_ntfs_partion_on_solaris

Nenhum comentário:

Postar um comentário