免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2644 | 回复: 0
打印 上一主题 下一主题

NTFS-3G on opensolaris [复制链接]

论坛徽章:
7
荣誉会员
日期:2011-11-23 16:44:17水瓶座
日期:2013-08-28 21:20:16丑牛
日期:2013-10-02 21:01:462015年迎新春徽章
日期:2015-03-04 09:54:45操作系统版块每日发帖之星
日期:2016-06-05 06:20:0015-16赛季CBA联赛之吉林
日期:2016-06-20 08:24:0515-16赛季CBA联赛之四川
日期:2016-08-18 15:02:02
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-01-09 08:15 |只看该作者 |倒序浏览
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
http://ntfs-3g.org/ntfs-3g-1.2717.tgz
$ 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/
                   
                   
                   

    本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/43/showart_1784133.html
  • 您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP