���Ľ����ֹ�ΪFreeBSD������Ӳ�̵�һ���Է������������ǵ�FreeBSD�Ѿ�����һ��IDEӲ�̣�������ҪΪ������һ���µ�IDEӲ�̣����������ӵ�Ӳ�̵����пռ���Ϊһ���������ص�/disk1���档
����֪ʶ
FreeBSD����������Ϊ��"a"��"h"��8����ĸ�����ݹ���������"c"���������������������̣�"a"������ʶ��������"b"������ʶ�������������������ӵ�Ӳ�̣����dz���ֻ����һ����������ʶΪ"e"��
IDEӲ�̱��Ϊad����SCSIӲ�̱��Ϊda����0��ʼ��������ˣ����������ӵ�IDEӲ�̽���Ϊad1������ϵͳ�С�
һ�㲽��
���µ�IDEӲ�̽���ϵͳ����ȷ�Ͽ����Ժ�ϵͳ�ҵ��������ӵ�Ӳ�̡�����ͨ�����/var/run/dmesg.boot��ȷ��ϵͳ�Ƿ��ҵ������ӵ�Ӳ�̡�
��
vms# dd if=/dev/zero of=/dev/rad1 bs=1k count=1
1+0 records in
1+0 records out
1024 bytes transferred in 0.000822 secs (1245640 bytes/sec)
vms#
��ʼ������
vms# fdisk -BI ad1
******* Working on device /dev/ad1 *******
fdisk: invalid fdisk partition table found
vms#
����FreeBSD����
vms# disklabel -B -w -r ad1s1 auto
vms# Feb 23 14:01:40 /kernel: ad1: cannot find label (no disk label)
Feb 23 14:01:40 /kernel: ad1s1: cannot find label (no disk label)
Feb 23 14:01:40 /kernel: ad1: cannot find label (no disk label)
Feb 23 14:01:40 /kernel: ad1s1: cannot find label (no disk label)
vms#
����������
vms# disklabel -e ad1s1
type: unknown
disk: amnesiac
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 18931
sectors/unit: 19083393
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 19083393 0 unused 0 0 # (Cyl. 0 - 18931*)
e: 19083393 0 4.2BSD 4096 8192 16 # (Cyl. 0 - 18931*)
��ʽ�������������ļ�ϵͳ
vms# newfs /dev/ad1s1e
Warning: Block size and bytes per inode restrict cylinders per group to 67.
Warning: 3968 sector(s) in last cylinder unallocated
/dev/ad1s1e: 19083392 sectors in 4660 cylinders of 1 tracks, 4096 sectors
9318.1MB in 70 cyl groups (67 c/g, 134.00MB/g, 8512 i/g)
super-block backups (for fsck -b #) at:
32, 274464, 548896, 823328, 1097760, 1372192, 1646624, 1921056, 2195488, 2469920, 2744352, 3018784, 3293216, 3567648,
3842080, 4116512, 4390944, 4665376, ...
���ط���
vms# mkdir -p /disk1
vms# mount -t ufs /dev/ad1s1e /disk1