On Fri, 4 Feb 2000, Warner Losh wrote:
> I have a need to mount a disk that was partitioned and labeled on
> OpenBSD. I'm getting the following errors when I try:
>
> # disklabel ad2
> disklabel: ioctl DIOCGDINFO: Invalid argument
>
root@earth:~# disklabel ad1
disklabel: ioctl DIOCGDINFO: Invalid argument
root@earth:~# disklabel /dev/ad1s4
*snip*
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
a: 524097 0 4.2BSD 1024 8192 16 # (Cyl. 0 -
519*)
b: 1048320 524097 swap # (Cyl. 519*-
1559)
c: 16450497 0 unused 0 0 # (Cyl. 0 -
16319*)
e: 262080 1572417 4.2BSD 1024 8192 16 # (Cyl. 1559*-
1819)
f: 4194288 1834497 4.2BSD 1024 8192 16 # (Cyl. 1819*-
5980)
root@earth:~# mount /dev/ad1s4a /mnt
root@earth:~# ls /mnt
.cshrc boot emul root tmp
.profile bsd etc sbin usr
altroot bsd.old home stand var
bin dev mnt sys
root@earth:~#
-----
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]
--------------------------------------------------------
FreeBSD: The Power To Serve - http://www.FreeBSD.org
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message