Hi,
I searched the archives, but could not find answer to the
question I have.
I have an openbsd disk, and I want to be able to access the files
on it from my FreeBSD-4.7 system. disklabel gives me error:
disklabel ad0 gives: "disklabel: ioctl DIOCGDINFO: Invalid argument"
I am only able to mount the root slice using
/dev/ad0s1 (command: mount /dev/ad0s1 /obsd ). I get same results if I
mount /dev/ad0s3 to /obsd.
Is it possible at all to be able to access (readonly is okay)
the openbsd partitions (/usr /home etc.) from freebsd ?
Thanks
Amit
P.S. The disklabel command from openbsd does print out the 16 partitions:
/obsd/sbin/disklabel -r /dev/ad0
# using MBR partition 0: type A6 off 63 (0x3f) size 10233342 (0x9c25fe)
# /dev/ad0:
type: ESDI
disk: ESDI/IDE disk
label: QUANTUM FIREBALL
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 60233564
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # microseconds
track-to-track seek: 0 # microseconds
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 524097 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 519)
b: 524160 524160 swap # (Cyl. 520 - 1039)
c: 60233564 0 unused 0 0 # (Cyl. 0 - 59755*)
d: 264096 1048320 4.2BSD 1024 8192 16 # (Cyl. 1040 - 1301)
e: 264096 1312416 4.2BSD 1024 8192 16 # (Cyl. 1302 - 1563)
g: 4194288 1576512 4.2BSD 1024 8192 16 # (Cyl. 1564 - 5724)
h: 4462605 5770800 4.2BSD 1024 8192 16 # (Cyl. 5725 - 10152*)
i: 5719140 10233405 ext2fs # (Cyl. 10152*- 15825*)
j: 8273412 15952608 ext2fs # (Cyl. 15826 - 24033*)
k: 5976117 24226083 ext2fs # (Cyl. 24033*- 29962*)
l: 514017 30202263 unknown # (Cyl. 29962*- 30472*)
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message