From owner-freebsd-hackers Tue Mar 25 16:16:52 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id QAA24260 for hackers-outgoing; Tue, 25 Mar 1997 16:16:52 -0800 (PST) Received: from plum.cyber.com.au (plum.cyber.com.au [203.7.155.24]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id QAA24250 for ; Tue, 25 Mar 1997 16:16:41 -0800 (PST) Received: (from darrenr@localhost) by plum.cyber.com.au (8.6.12/8.6.6) id LAA07188; Wed, 26 Mar 1997 11:15:15 +1100 From: Darren Reed Message-Id: <199703260015.LAA07188@plum.cyber.com.au> Subject: Organisation of programs for various filesystems. To: terry@lambert.org (Terry Lambert) Date: Wed, 26 Mar 1997 11:15:15 +1100 (EST) Cc: hackers@freebsd.org, current-users@netbsd.org In-Reply-To: <199703252257.PAA26124@phaeton.artisoft.com> from "Terry Lambert" at Mar 25, 97 03:57:10 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In some mail I received from Terry Lambert, sie wrote [...] > The only reasonably uniform mechanism for modular insertion/deletion > of supported file systems from an OS involves grouping the files by FS. > > Ideally, the grouping should be done on a directory basis rather than > a prefix basis so that only a single point of adjustment is necessary > to perform the insertion or deletion. FWIW, Solaris2 does it with (if I recall correctly): /usr/lib/fs// so ufsdump is /usr/lib/fs/ufs/ufsdump and ufsrestore is /usr/lib/fs/ufs/ufsrestore. (but you might have symbolic links to it from elsewhere, say /usr/sbin/ufsdump). Obviously there are easily observed advantages to organising these programs in such a manner, as opposed to using a single directory (i.e. /sbin). Also, in consideration for keeping / size down, it maybe desirable to consider subdirectories under /usr. Whether it is mount_msdos or msdos_mount, it doesn't matter. That we now have mount_* suggests that this trend be followed rather than break with it and make an adhoc change which will cause user problems and achieve nothing more than pleasing some peoples sense of asthetics. If there is a desire to have things organised by directory, then by all means do so, put make sure symbolic links are used, to save path length and existing PATH settings (if nothing else). Darren p.s. I moved it to current-users as this isn't i386 specific.