Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 14:52:29 +0100 (BST)
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Terry Lambert <tlambert2@mindspring.com>, Julian Elischer <julian@elischer.org>, Poul-Henning Kamp <phk@critter.freebsd.dk>, "M. Warner Losh" <imp@bsdimp.com>, <freebsd-arch@FreeBSD.ORG>
Subject:   Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c
Message-ID:  <200210261352.g9QDqT4V005261@dotar.thuvia.org>
In-Reply-To: <20021026225635.C7892-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Bruce Evans <bde@zeta.org.au>
> Date: Sat 26 Oct, 2002
> Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c

> On Sat, 26 Oct 2002, Mark Valentine wrote:
> > By the way, FreeBSD doesn't seem to be consistent about which partition it
> > uses, but I've never tried to figure out when it uses partition 1 and when
> > it uses partition 4, though I've seen both occur on disks with only FreeBSD
> > (is it DD mode that makes the difference?).
> 
> It is consistent: the first slice with type 0xa5 is mapped to the
> compatibilty slice (except with GEOM of course).

Sorry, I wasn't talking about the compat slice stuff here, but which slice
FreeBSD uses when you initialize a disk.  Sysinstall will obviously use
partition 1 when installing to the whole disk.

In fact what I'm seeing is the "fake" partition table reported for my
DD disks, which uses partition 4 for some reason.  So if I were to replace
my root disk with one which wasn't DD (and if I were using GEOM), I'd
likely have to fix up my fstab after restoring the root file system;
this seems gratuitous.

I'm still a little unclear about the claims that, with GEOM, you can
still use /dev/da0c etc. for DD disks (I'm thinking removable media
such as Jaz disks here).

How does the fake MBR partition table affect this?

> FreeBSD ignores the active partition flag.

OK.  Would it do more harm than good to use this as a hint when locating
the compatibility slice?

		Cheers,

		Mark.

-- 
Mark Valentine, Thuvia Labs <mark@thuvia.co.uk>       <http://www.thuvia.co.uk>;
"Tigers will do ANYTHING for a tuna fish sandwich."       Mark Valentine uses
"We're kind of stupid that way."   *munch* *munch*        and endorses FreeBSD
  -- <http://www.calvinandhobbes.com>;                  <http://www.freebsd.org>;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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