From owner-freebsd-arch@FreeBSD.ORG Tue May 6 14:39:01 2003 Return-Path: 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 B0D5737B404 for ; Tue, 6 May 2003 14:39:00 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E90E43FB1 for ; Tue, 6 May 2003 14:38:59 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.9/8.12.9) with ESMTP id h46LcrVo066485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 6 May 2003 17:38:54 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.9/8.12.9/Submit) id h46LcrnB066484; Tue, 6 May 2003 17:38:53 -0400 (EDT) (envelope-from wollman) Date: Tue, 6 May 2003 17:38:53 -0400 (EDT) From: Garrett Wollman Message-Id: <200305062138.h46LcrnB066484@khavrinen.lcs.mit.edu> To: shamrock@cypherpunks.to In-Reply-To: <20030506212133$0c75@grapevine.lcs.mit.edu> References: <58760.1052253053@critter.freebsd.dk> Organization: MIT Laboratory for Computer Science X-Spam-Score: -9.9 () IN_REP_TO,REFERENCES X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) cc: arch@FreeBSD.org Subject: Re: Putting gbde to use: changes to fstab(5)? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2003 21:39:02 -0000 In article <20030506212133$0c75@grapevine.lcs.mit.edu> you write: >I just happen to need a determination on a config file format >for gbde devices, because I would like to both deploy and contribute >back gbde automation tools. I think the right answer is as follows: In the `fstype' field, if the value begins with a special character (TBD), the program indicated there will be run with the following arguments: - type of operation (mount, unmount, dump, swap, anything else?) - name of underlying device - mount point - mount flags It shall generate on standard output an fstab line which is to be interpreted in place of the original entry. This allows for maximum flexibility: you can have it construct arbitrarily GEOM topologies, prompt for any passwords as may seem necessary, even automatically inspect the media and choose an appropriate filesystem type. -GAWollman