Subject: Organisation of programs for various filesystems.
To: Terry Lambert <terry@lambert.org>
From: Darren Reed <darrenr@cyber.com.au>
List: current-users
Date: 03/26/1997 11:15:15
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/<fstype>/<fstype><progname>
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.