From owner-freebsd-arch Fri Oct 25 17:12: 6 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95D8F37B40E for ; Fri, 25 Oct 2002 17:12:03 -0700 (PDT) Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAECE43E91 for ; Fri, 25 Oct 2002 17:12:00 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0699.cvx21-bradley.dialup.earthlink.net ([209.179.194.189] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 185EYP-0007kS-00; Fri, 25 Oct 2002 17:11:49 -0700 Message-ID: <3DB9DD62.34A39BBE@mindspring.com> Date: Fri, 25 Oct 2002 17:10:10 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bruce Evans Cc: Mark Valentine , Julian Elischer , Poul-Henning Kamp , "M. Warner Losh" , freebsd-arch@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.cwrite_i386_disk.c write_pc98_disk.c References: <20021026095818.B5924-100000@gamplex.bde.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Bruce Evans wrote: > > OK, say we buy this. > > > > How does the DOS algorithm distiguisch between partitions, if not by > > the order in the table? > > Not. IIRC, it doesn't permit multiple primary DOS partitions, but logical > drives just move around if you add one in the middle. Since DOS doesn't > have anything like mount, you get to edit C: and D: in numerous config > files instead of just in fstab when the drives move. My Leading Edge PC MS-DOS 2.11 has no problem with multiple primary DOS partitions. This probably has something to do with the fact that extended DOS partitions were invented after it was released in 1986, and multiple primary DOS partitions were the only posible way to deal with big disks: "use multiple primary DOS partitions, or live without". The normal reason for moving partition table entries around is to screw with OS's other than yours, to make them not boot, and then blame the OS, rather than the tool that screwed things up. Since it's not valid to assume that there will only be one partition of a given ID, I'd still like to know how Mark suggests we identify disks whose order is important (without "editing numerous config files"). If "editing a config file" is an OK solution to the problem, well, /etc/fstab is "a config file". 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message