LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 556|回复: 1

如何mount 本地硬盘上的MSDOS分区?

[复制链接]
发表于 2004-3-24 10:20:48 | 显示全部楼层 |阅读模式
如何mount 本地硬盘上的MSDOS分区?

安装FreeBSD 4.9后,将20G硬盘分了5G给FreeBSD,type为165,设备为ad0s1
15G给了Win,type为6,设备为ad0s2
其后正常安装好FreeBSD系统后,
查看mount
# mount
/dev/ad0s1a on / (ufs, local)
/dev/ad0s1f on /tmp (ufs, local, soft-updates)
/dev/ad0s1g on /usr (ufs, local, soft-updates)
/dev/ad0s1e on /var (ufs, local, soft-updates)
procfs on /proc (procfs, local)

查看硬盘信息
#fdisk ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=38760 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165,(FreeBSD/NetBSD/386BSD)
    start 63, size 10485153 (5119 Meg), flag 80 (active)
        beg: cyl 0/ head 1/ sector 1;
        end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
sysid 6,(Primary 'big' DOS (> 32MB))
    start 10485216, size 28584864 (13957 Meg), flag 0
        beg: cyl 1023/ head 255/ sector 63;
        end: cyl 1023/ head 15/ sector 63
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>

在/dev 下也有 ad0s2 的设备

可是我使用
#mount -t msdos /dev/ad0s2 /mnt
msdos: /dev/ad0s2: Invalid argument

请问如何把这个本地的MSDOS分区给mount上  ??
发表于 2004-3-24 10:32:57 | 显示全部楼层
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表