From owner-cvs-all Fri Oct 25 11:37:37 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1DF6B37B401; Fri, 25 Oct 2002 11:37:36 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id 829F843E4A; Fri, 25 Oct 2002 11:37:34 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.12.3/8.12.3) with ESMTP id g9PIbHcF050528; Fri, 25 Oct 2002 19:37:17 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.6/8.12.6) with ESMTP id g9PIbGH5077710; Fri, 25 Oct 2002 19:37:16 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.6/8.12.6/Submit) id g9PIbGiI077709; Fri, 25 Oct 2002 19:37:16 +0100 (BST) Date: Fri, 25 Oct 2002 19:37:16 +0100 (BST) From: Mark Valentine Message-Id: <200210251837.g9PIbGiI077709@dotar.thuvia.org> In-Reply-To: X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: jhb@freebsd.org (John Baldwin), Mikhail Teterin Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_dis Cc: cvs-all@freebsd.org, cvs-committers@freebsd.org, "M. Warner Losh" , Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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 "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message