Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 07:51:20 -0500 (EST)
From:      "Chris D. Faulhaber" <jedgar@fxp.org>
To:        Warner Losh <imp@village.org>
Cc:        hackers@freebsd.org
Subject:   Re: mounting openbsd disks
Message-ID:  <Pine.BSF.4.21.0002040747410.73065-100000@earth.fxp>
In-Reply-To: <200002040738.AAA34757@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0002040747410.73065-100000>