Subject: Re: how to name fs specific programs
To: Terry Lambert <terry@lambert.org>
From: Curt Sampson <cjs@portal.ca>
List: port-i386
Date: 03/25/1997 17:43:51
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.