Subject: Re: filesystem sharing between *BSDs on x86
To: None <freebsd-questions@FreeBSD.ORG, current-users@netbsd.org>
From: Julio Merino <juli@merino.net>
List: current-users
Date: 01/08/2002 18:26:40
--wRRV7LY7NUeQGEoC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 08, 2002 at 03:56:10PM +1100, Christopher Vance wrote:
> I note that NetBSD and OpenBSD (now) have their own partition types,
> distinct from the old 386BSD one still used by FreeBSD.
>=20
> I note that FreeBSD (now) has per-partition disk labels, requiring
> relative offsets within partition, while NetBSD and OpenBSD have
> per-disk labels, requiring absolute offsets within disk.
>=20
> Assuming I put the right values into the relevant disk labels, is
> there some way that <x>BSD can read and/or read-write ffs partitions
> created by <y>BSD for <x> !=3D <y>.  (The partitions are all on the same
> disk, so I'm looking at mount -t ufs ...)
>=20
> Which combinations can read?  Which combinations can write?
>=20
> Are the on-disk structures similar, or have they diverged in
> subtle/dangerous ways?

NetBSD understands FreeBSD disklabels. It will notice you with something
like:
 WARING: old disklabel type
But ignore it. NetBSD will read partitions inside the disklabel perfectly.
But be careful about utilities that can write to it, such as mbrlabel.
If you run it forcing the write... heh, you won't like it, belive me.

HTH

>=20
> Any caveats?
>=20
> --=20
> Christopher Vance
>=20
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

--=20
La ignorancia es la felicidad.

Julio Merino (Slink) <juli@merino.net>

--wRRV7LY7NUeQGEoC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8OyvQzz00ZOPKycwRAmmPAJ98bqTXSjdv2iD+Q6Hdo7h0Jz7WigCgpkSV
YXxaUKoSLHrOyrdY3Me6yyA=
=y26S
-----END PGP SIGNATURE-----

--wRRV7LY7NUeQGEoC--