Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2007 12:37:02 +0100
From:      Nikola =?UTF-8?B?TGXEjWnEhw==?= <nikola.lecic@anthesphoria.net>
To:        "Seth Brundle" <cdanza335@googlemail.com>
Cc:        FreeBSD-questions@FreeBSD.org
Subject:   Re: Is it possible to mount OpenBSD FFS partitions in FreeBSD?
Message-ID:  <20071231123702.38506dc8@anthesphoria.net>
In-Reply-To: <9e671c830712310316u4845ca8er5e6f63b7ae5c9990@mail.gmail.com>
References:  <9e671c830712310221s53aa0181g849d10baf974cae1@mail.gmail.com> <9e671c830712310258q42c7bc59h913bc3a5fd9c1814@mail.gmail.com> <20071231121151.2465216a@anthesphoria.net> <9e671c830712310316u4845ca8er5e6f63b7ae5c9990@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Dec 2007 12:16:50 +0100
"Seth Brundle" <cdanza335@googlemail.com> wrote:
=20
> 2007/12/31, Nikola Le=C4=8Di=C4=87 <nikola.lecic@anthesphoria.net>:
> >
> > On Mon, 31 Dec 2007 11:58:17 +0100
> > "Seth Brundle" <cdanza335@googlemail.com> wrote:
> >
> > [...]
> > > # mount /dev/ad8s1a /mnt/
> > > mount: /dev/ad8s1a : No such file or directory
> > >
> > > (I thought that the first -- and only -- partition on OpenBSD
> > > would show up as 'slice 1' on FreeBSD.)
> >
> > (The disk area occupied by OpenBSD is a slice, whilst BSD-style
> > chunk(s) within are partitions.)
> >
> > Is it possible to mount it just with 'mount /dev/ad8s1 /mnt'?
>=20
>=20
>=20
> Thanks for your fast reply;
>=20
> # mount /dev/ad8s1 /mnt
> mount: /dev/ad8s1 : No such file or directory
>=20
> Also tried this before, doesn't work. The main problem for me is that
> I don't know the way the OpenBSD disc appears to FreeBSD,
> layout-wise. A ``disklabel ad8'' to have a peek also doesn't work:

Ah sorry, I misunderstood you; the ad8 is dedicated to OpenBSD in its
entirety? In that case I'm pretty sure that, in standard cases, it
should be possible to mounted it as /dev/ad8. (Yes, you wrote that it's
seen as wd2a from OpenBSD.)

(Btw, what does 'ls /dev/ad*' show?)
=20
> # disklabel ad8
> disklabel: /dev/ad8: no valid label found

This is expected, BSD labels are not compatible among BSDs:

     The various BSDs all use slightly different versions of BSD labels
     and are not generally compatible.

(from bsdlabel(8) manpage).

That's why you can't (by default) see BSD labels created by another
BSD. However, I know that first partition of a NetBSD slice/disk can be
mounted from FreeBSD _without_ partition-letter addition (e.g. ad8 will
represent what you would expect to be ad8a -- it the disk is
"dedicated" -- and ad8s1 will represent what you would expect to be
ad8s1a -- if the disk is sliced), but maybe OpenBSD does something
differently.

--=20
Nikola Le=C4=8Di=C4=87 :: =D0=9D=D0=B8=D0=BA=D0=BE=D0=BB=D0=B0 =D0=9B=D0=B5=
=D1=87=D0=B8=D1=9B



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071231123702.38506dc8>