самый обыкновенный ad0: 76319MB <ST380011A/8.01> [155061/16/63] at ata0-master UDMA100, один на шлейфе.
самая обыкновенная perl desktop board на i865
самая обыкновенная FreeBSD 5.3-STABLE #1
разбито так:
===
# /sbin/fdisk /dev/ad0
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=155061 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=155061 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 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 706797 (345 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 43/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 706860, size 77458500 (37821 Meg), flag 0
beg: cyl 701/ head 4/ sector 1;
end: cyl 744/ head 15/ sector 63
The data for partition 3 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 77458500, size 78135372 (38152 Meg), flag 0
beg: cyl 43/ head 12/ sector 1;
end: cyl 758/ head 15/ sector 63
The data for partition 4 is:
<UNUSED>
===
изначально это был ST40015A, перенесён dd if=/dev/ad3 of=/dev/ad0 bs=1024k
хочется заиметь остальные 40 гиг:
===
# /sbin/disklabel /dev/ad0s3
# /dev/ad0s3:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 78135356 16 unused 0 0
c: 78135372 0 unused 0 0 # "raw" part, don't edit
===
но при этом:
===
# /sbin/newfs -O1 /dev/ad0s3a
newfs: /dev/ad0s3a: could not open special device
===
но что самое удивительное:
===
# cat ~me/ad0s3-seag80
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 1000000 0 swap
b: * * 4.2BSD 1024 8192
c: * * unused
-su-2.05b# /sbin/disklabel -R /dev/ad0s3 ~me/ad0s3-seag80
disklabel: could not access consumer
-su-2.05b# /sbin/disklabel -Rn /dev/ad0s3 ~me/ad0s3-seag80
disklabel: write to disk label supressed - label was as follows:
# /dev/ad0s3:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 1000000 0 swap
b: 77135372 1000000 4.2BSD 1024 8192 0
c: 78135372 0 unused 0 0 # "raw" part, don't edit
===
где в консерватории не сошлась математика?