linux挂载read-only,如何mount上NTFS文件系统(read-only)?

Download the binaries from

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 c1d0s0Total disk size is 38765 cylinders

Cylinder size is 4032 (512 byte) blocks

CylindersPartition 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/οnerrοr=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. eg) bash-3.00# kill 15554

取自""

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值