From owner-cvs-all Sun Oct 27 1:39:29 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 E41D337B401; Sun, 27 Oct 2002 01:39:28 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0712843E42; Sun, 27 Oct 2002 01:39:28 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g9R8d5rF049736; Sun, 27 Oct 2002 09:39:06 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Cc: "M. Warner Losh" Subject: Re: cvs commit: src/lib/libdisk Makefile chunk.c write_alpha_disk.c write_i386_disk.c write_pc98_disk.c In-Reply-To: Your message of "Sat, 26 Oct 2002 18:22:15 MST." <20021027012215.GB57794@dragon.nuxi.com> Date: Sun, 27 Oct 2002 09:39:05 +0100 Message-ID: <49735.1035707945@critter.freebsd.dk> From: 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 In message <20021027012215.GB57794@dragon.nuxi.com>, "David O'Brien" writes: >On Fri, Oct 25, 2002 at 06:37:52PM +0200, Poul-Henning Kamp wrote: >> 3: Aliasing disk devices is a bad idea. You don't want people >> to accidentally mount /dev/da0a and /dev/da0s1a at the same >> time so you have to add complexity to your kernel side code >> to prevent this. > >Actually you do. I have used this trick MANY times to fix messed up >/etc/fstab's and pre-devfs missing nodes in /dev. The ability to do >this double mounting has been a big help. "at the same time" as in: mount /dev/da0a /mnt mount /dev/da0s1a /mnt2 -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message