在Solaris中挂接NTFS,在windows中挂接UFS的方法(这回爽歪了~)

发布于 2022-07-17 00:38:51 字数 5971 浏览 12 评论 2

Mount NTFS partition in Solaris      In multiboot system ifyour have Windows with NTFS filesystem and you wanted read-only supportthis utlity can mount the NTFS filesystem in Solaris.

在一台机器中多系统共存的情况下,如果只需要以只读方式在Solaris中挂接NTFS或在windows中挂接UFS的话,可使用此工具

     This project http://mount-ntfs.sourceforge.net/NTFS Mount (Solaris), UFS Reader (Windows XP) has released utils forNTFS support for Solaris and UFS reader support for Windows vice-versaso that you can access data across . The idea here is to use NFSv2server that has the ability to read raw blocks from a block device andinterpret the raw data as per the NTFS on-disk format. You can use theexisting NFS client in Solaris to mount via the loopback interface.

下载挂接工具http://sourceforge.net/project/showfiles.php?group_id=169514

* Warning You use this program on your own risk !!! *
For mounting a NTFS filesystem. Follow the below procedure.

bash-3.00~# fdisk /dev/rdsk/c1d0s0

Below is the sample output for the disk c1d0s0
===
             Total disk size is 38765 cylinders
             Cylinder size is 4032 (512 byte) blocks
                                             
Cylinders
      Partition             Status         Type         Start       End         Length       %
      ====================== ======================================
         1                                Diagnostic       0        1525         1526        4
         2                                 IFS:NTFS     1526      7769          6244      16 <== NTFS
         3                    Active       Solaris2      7770       20773      13004      34
         4                                  EXTLBA    20774      38763       17990      46

SELECT ONE OF THE FOLLOWING:
   1. Create a partition
   2. Specify the active partition
   3. Delete a partition
   4. Change between Solaris and Solaris2 Partition IDs
   5. Exit (update disk configuration and exit)
   6. Cancel (exit without updating disk configuration)
Enter Selection: 5

Press 5 to exit from fdisk menu. Note that your NTFS partition here is 2 .

Now to mount the NTFS filesystem run the below command.

bash-3.00# ./mount_ntfs.opensol-x86-binary /dev/rdsk/c1d0p2 /mnt/windows
     To unmount the file system type "kill 15554".

bash-3.00# mount
/ on /dev/dsk/c1d0s0 read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980000 on Wed Jul 12 16:01:09 2006
/devices on /devices read/write/setuid/devices/dev=4380000 on Wed Jul 12 16:00:47 2006
/system/contract on ctfs read/write/setuid/devices/dev=43c0001 on Wed Jul 12 16:00:47 2006
/proc on proc read/write/setuid/devices/dev=4400000 on Wed Jul 12 16:00:47 2006
/etc/mnttab on mnttab read/write/setuid/devices/dev=4440001 on Wed Jul 12 16:00:47 2006
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4480001 on Wed Jul 12 16:00:47 2006
/system/object on objfs read/write/setuid/devices/dev=44c0001 on Wed Jul 12 16:00:47 2006
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap2.so.1 read/write/setuid/devices/dev=1980000 on Wed Jul 12 16:01:00 2006
/dev/fd on fd read/write/setuid/devices/dev=4680001 on Wed Jul 12 16:01:09 2006
/tmp on swap read/write/setuid/devices/xattr/dev=4480002 on Wed Jul 12 16:01:11 2006
/var/run on swap read/write/setuid/devices/xattr/dev=4480003 on Wed Jul 12 16:01:11 2006
/data on /dev/dsk/c1d0p1 read/write/setuid/devices/hidden/nofoldcase/dev=1980011 on Wed Jul 12 16:01:18 2006
/mnt/windows on 127.0.0.1:/ remote/read only/setuid/devices/port=53805/public/vers=2/proto=udp/xattr/dev=4740003 on Wed Jul 12 18:02:25 2006

For unmounting the filesystem you need to kill the process.

bash-3.00# kill 15554

[ 本帖最后由 yuhuohu 于 2007-7-13 12:56 编辑 ]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

長街聽風 2022-07-22 08:13:10

好东西,在用!

樱花细雨 2022-07-17 15:14:21

收藏先,有机会实践一下,谢谢楼主

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文