From owner-freebsd-arch Fri Oct 25 13: 4:14 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 CB1C237B4EE; Fri, 25 Oct 2002 13:04:11 -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 75A3C43E6E; Fri, 25 Oct 2002 13:04:11 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0348.cvx22-bradley.dialup.earthlink.net ([209.179.199.93] helo=mindspring.com) by swan.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 185Agh-0003g0-00; Fri, 25 Oct 2002 13:04:07 -0700 Message-ID: <3DB9A36F.A7A17CEE@mindspring.com> Date: Fri, 25 Oct 2002 13:02:55 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Watson Cc: Dan Nelson , Julian Elischer , Mark Valentine , Poul-Henning Kamp , "M. Warner Losh" , 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 References: 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 Robert Watson wrote: > Gordon Tetlow and I have been discussing possibly reusing the superblock > "last mounted on" field for volume label and uuid storage. Right now the > "last mounted on" data is basically used for printfs, and often somewhat > confusingly (the kernel will print the last mount point when reporting a > mount error, which might not be where the user is trying to mount). It's > 512 bytes of superblock space, so would provide lots of room for volume > identifier information, if we decided to go that way. Anyone interested > in this sort of thing should spend a fair amount of time looking at prior > art, including at Apple's approach to volume name automounting. Please do not do this. It is very easy to use this field to make arriving FS's not in fstab mount themselves to the right place automatically: 1) Device arrival 2) Paritition arrival 3) Disklabel arrival 4) FS arrival 5) Automount Without this field, you have to have an fstab entry for everything you want to mount, even if you don't know about it, and it's on removable media. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message