From owner-freebsd-hackers Fri Feb 4 4:51: 6 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pawn.primelocation.net (pawn.primelocation.net [205.161.238.235]) by builder.freebsd.org (Postfix) with ESMTP id 97E373F4A for ; Fri, 4 Feb 2000 04:51:03 -0800 (PST) Received: from earth.fxp (oca-p1-17.hitter.net [207.192.76.17]) by pawn.primelocation.net (Postfix) with ESMTP id 53E549B1C; Fri, 4 Feb 2000 07:51:15 -0500 (EST) Date: Fri, 4 Feb 2000 07:51:20 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: jedgar@earth.fxp To: Warner Losh Cc: hackers@freebsd.org Subject: Re: mounting openbsd disks In-Reply-To: <200002040738.AAA34757@harmony.village.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message