From owner-freebsd-arch@FreeBSD.ORG Sat May 31 12:52:18 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 9449B37B404 for ; Sat, 31 May 2003 12:52:18 -0700 (PDT) Received: from heron.mail.pas.earthlink.net (heron.mail.pas.earthlink.net [207.217.120.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0180F43F93 for ; Sat, 31 May 2003 12:52:16 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from user-v8ldv6l.dsl.mindspring.com ([209.86.252.213] helo=mindspring.com) by heron.mail.pas.earthlink.net with asmtp (SSLv3:RC4-MD5:128) (Exim 3.33 #1) id 19MCOj-0004iF-00; Sat, 31 May 2003 12:52:14 -0700 Message-ID: <3ED90796.91188E84@mindspring.com> Date: Sat, 31 May 2003 12:50:46 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Gordon Tetlow References: <20030531193849.GR87863@roark.gnf.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-ELNK-Trace: b1a02af9316fbb217a47c185c03b154d40683398e744b8a4530f9e57a47276e8eed2b937d9bd5df2387f7b89c61deb1d350badd9bab72f9c350badd9bab72f9c cc: arch@FreeBSD.org Subject: Re: Moving some items out of src/sbin to src/usr.sbin 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: Sat, 31 May 2003 19:52:18 -0000 Gordon Tetlow wrote: > To cut down on the size of a dynamically-linked root, I'd like to > repo-copy the following utilities from src/sbin to src/usr.sbin: > > mount_portalfs > mount_nwfs > mount_smbfs > natd > ipnat > > Does anyone have any objections? All the mount programs should be in the same directory. I would actually be tempted to go farther, and to adopt the SVR4 layout for these types of programs, and the stub programs that call them, and put them under /libexec; that probably would not fly to well, even though it would mean you could drop in new file systems, and the tools would "just know" about them. If you do go ahead with your plan, make sure to inform the mount program of the additional directory to look in, and (maybe) add a "verbose" option, so that it can tell you where it found the thing that it was exec'ing in order to do the mount, since if the files are sprinkled all over the directory hierarchy like pixie-dust, it's going to be difficult to track them down. -- Terry