From owner-freebsd-hackers Tue Mar 25 17:46:29 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA01956 for hackers-outgoing; Tue, 25 Mar 1997 17:46:29 -0800 (PST) Received: from cynic.portal.ca (root@cynic.portal.ca [204.174.36.7]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA01941 for ; Tue, 25 Mar 1997 17:45:59 -0800 (PST) Received: from localhost ([[UNIX: localhost]]) by cynic.portal.ca (8.8.5/8.8.5) with SMTP id RAA19223; Tue, 25 Mar 1997 17:43:51 -0800 (PST) X-Authentication-Warning: cynic.portal.ca: cjs owned process doing -bs Date: Tue, 25 Mar 1997 17:43:51 -0800 (PST) From: Curt Sampson To: Terry Lambert cc: perry@piermont.com, thorpej@nas.nasa.gov, joerg_wunsch@uriah.heep.sax.de, hackers@freebsd.org, port-i386@NetBSD.ORG, darrenr@cyber.com.au Subject: Re: how to name fs specific programs In-Reply-To: <199703260022.RAA26405@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 25 Mar 1997, Terry Lambert wrote: > # call the correct command for the correct type for the > # provided device or mount point. Each FS specific mount > # will ignore the "-T" option, so it is OK to pass the full > # argument list without parsing it out. > > $FSBIN/$FSTYPE/$FSCMD $ARGS > ... > for i in * > do > # for each FS for which an "fstyp" exists.. > if test -x $i/fstyp > then > [stuff] >... So what you're saying is that the above is significantly better than $FSCMD_$FSTYPE $ARGS and for i in *_fstyp; do [stuff] ... Or am I missing something here? cjs Curt Sampson cjs@portal.ca Info at http://www.portal.ca/ Internet Portal Services, Inc. Through infinite myst, software reverberates Vancouver, BC (604) 257-9400 In code possess'd of invisible folly.