Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Oct 2002 19:37:16 +0100 (BST)
From:      Mark Valentine <mark@thuvia.demon.co.uk>
To:        jhb@freebsd.org (John Baldwin), Mikhail Teterin <mi+celsius@aldan.algebra.com>
Cc:        cvs-all@freebsd.org, cvs-committers@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>, Poul-Henning Kamp <phk@critter.freebsd.dk>
Subject:   Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_dis
Message-ID:  <200210251837.g9PIbGiI077709@dotar.thuvia.org>
In-Reply-To: <mailpost.1035570070.77196@thuvia.demon.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: jhb@freebsd.org (John Baldwin)
> Date: Fri 25 Oct, 2002
> Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_dis

> Huh?  The da0 is repetitive, too.  Look at my fstab:
> 
> /dev/ad0s2b             none            swap    sw              0       0
> /dev/ad0s2a             /               ufs     rw              1       1
> /dev/ad0s2g             /usr            ufs     rw              2       2
> /dev/ad0s2f             /tmp            ufs     rw              2       2
> /dev/ad0s2e             /var            ufs     rw              2       2
> /dev/ad0s1              /windows        msdos   ro,noauto,longnames 0   0
> 
> isn't it pretty obvious why the 's2' is there?

No.  The 's' seems to stand for 'partition index', and if you're lucky
the '2' will be the current index (from an origin of '1', I think, I can
never remember, especially seeing all those '0's around) into the MBR
partition table for a partition with type 0xa5.  But maybe it won't be
tomorrow.

I know my system will boot tomorrow because by specifying /dev/da0a
I'm more closely echoing the algorithm used by other operating systems
on the disk to locate their partitions.

		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 cvs-all" in the body of the message




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