如何在Solaris/OpenSolaris上mount ntfs文件系统?
来源:互联网 发布:淘宝royce 假货 编辑:程序博客网 时间:2024/05/18 02:25
Visit http://ocean1.ee.duth.gr/SolarisX/ [Lots of cool Solaris binary packages are available here!] and first download and install the following prerequisite packages:
GNUbase [pkgadd -d GNUbase.pkg]
GNUgettext [pkgadd -d GNUgettext-0.16.pkg]
GNUlibiconv [pkgadd -d GNUlibiconv-1.9.2.pkg]
Then download ntfs-3g-1.5012 [NTFS-3G is a stable read/write NTFS driver.]
The archive includes three packages and has been compiled in an OpenSolaris snv_99 box. Extract the archive and you'll get three pkg files SUNWfusefs.pkg, SUNWlibfuse.pkg, ASntfs-3g-1.5012.pkg. Install packages in this order:
# pkgadd -d SUNWfusefs.pkg
# pkgadd -d SUNWlibfuse.pkg
# pkgadd -d ASntfs-3g-1.5012.pkg
That's it! You can start using "ntfs-3g" to mount your NTFS partitions!
Become root "#" first and issue "format" command to see the disk number and issue "ntfs-3g" command to mount as illustrated below:
[Results from my notebook]
alok@opensolaris:~$ su
Password:
alok@opensolaris:~# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c5t0d0 <DEFAULT cyl 3914 alt 2 hd 255 sec 63> ["DISK NUMBER"]
/pci@0,0/pci103c,30d9@1f,2/disk@0,0
Specify disk (enter its number): ^C [WARNING: Press Ctrl+C here and not enter. Otherwise you may format you Solaris partition]
alok@opensolaris:~# ntfs-3g /dev/dsk/c5t0d0p1 ~/Desktop/test [To mount my 30GB Windows Vista C: drive, an NTFS partition]
You don't at all require the FSWpart and FSWfsmisc utilities for mounting NTFS partitions. Notice that the disk number should be entered exactly by you at ntfs-3g /dev/dsk/c5t0d0p1 ~/Desktop/test. [Usually after that disk number to locate NTFS partitions typing p1, p2, p3...... suffices p1 means partition 1]. For FAT32 partitions you need not install anything. The mount support for them is inbuilt in OpenSolaris's latest version. I mount my 90 GB FAT32 F: drive of Windows XP, the first FAT32 partition in my Hard disk[with 30GB for OpenSolaris] by issuing:
# mount -F pcfs /dev/dsk/c5t0d0p0:c /mnt [c for first FAT32 partition if you have more, change c to d,e,f... etc and specify different mount points]
You can also issue the command like ntfs-3g or simple mount by prefixing pfexec if you don't want to become "su" everytime like:
alok@opensolaris:~$ pfexec mount -F pcfs /dev/dsk/c5t0d0p0:c /mnt
alok@opensolaris:~$
or
alok@opensolaris:~$ pfexec ntfs-3g /dev/dsk/c5t0d0p1 ~/Desktop/test
alok@opensolaris:~$
And notice that it is not rdisk in prtpart/rdisk/c0d0s0 -ldevs, it should be rdsk. Also there should be a whitespace between "prtpart" command and "/rdisk/c0d0s0". Also it should not be "/rdisk/c0d0s0", it should be like "/dev/rdsk/citjdkpl", where i = 1,2,3,4......., j = 1,2,3,4......., k = 1,2,3,4....... , l = 1,2,3,4....... Remember at the end "s" should not come like /rdisk/c0d0s0 as "s" means "slice", which designates a Solaris slice [analogous to partition in Windows]. It should be like "/dev/rdsk/c0t0d0p1". The portion "c0t0d0" should be your disk number in exact. Still I suggest you not to use FSW.....use NTFS-3G. It has NTFS read/write support. Later you can edit your /etc/vfstab file for enabling automatic mounting of your NTFS and FAT32 drives.
- 如何在Solaris/OpenSolaris上mount ntfs文件系统?
- 在Solaris上mount Window文件系统
- 在Solaris上mount Linux NFS文件系统的问题
- Solaris下如何mount Dos 文件系统
- Mount NTFS partition in Solaris
- 在Solaris 上扩大文件系统
- 如何在Redhat下挂载NTFS文件系统
- 如何获取Solaris/OpenSolaris的页面大小
- 在Solaris 10/OpenSolaris上为Oracle安装设置内核参数
- 在Solaris 10/OpenSolaris上为Oracle安装设置内核参数
- 在Solaris/OpenSolaris下使用smbclient
- Solaris受冷落 OpenSolaris前景在哪里
- 在NTFS文件系统上修改文件的权限
- 在usb上运行OpenSolaris
- 在OpenSolaris上编译pciutils
- Mount NTFS / Ext2 / Ext3 / FAT 16 / FAT 32 in Solaris
- Mount NTFS / Ext2 / Ext3 / FAT 16 / FAT 32 in Solaris
- 如何在Solaris上检测内存泄露
- 内核源码编排
- 我的挨踢人生--泪笔!!
- Seasar+S2Dao+S2Struts+Mayaa
- 《FC7和红帽企业Linux5完全指南》学习笔记
- 入门大杂混
- 如何在Solaris/OpenSolaris上mount ntfs文件系统?
- 数据库定义-约束
- ns2中link的有关知识
- 虚函数的研究(一)
- 全局变量和局部变量的区别
- SDI中类与类的关系
- 18位身份证校验算法
- 教你如何进入IBM、微软、华为等一流IT企业
- PostgreSQL8.3.X新特性-全文搜索(一)