From: hedrick@geneva.rutgers.edu (Charles Hedrick) Subject: Re: a universal set of fs commands? Date: 21 Jan 1993 05:51:36 GMT
kf8nh@kf8nh.wariat.org (Brandon S. Allbery) writes:
>/etc/fscmd.d contains a directory for each filesystem type, named after the
>filesystem type (in Linux's case, this should be the type name that mount
>uses. Users are more likely to encounter that name than any other, so let's
>standardize on it.) Each of these directories contains several executables:
> mkfs, fsck, fsid, fspart, clean
If this is necessary (and I make no judgement on that), I suggest
using a standard location. Under Solaris 2.1 (which I assume is
consistent with SVr4 in general), this kind of stuff is in /etc/fs/XXX
where XXX is the filesystem type. Things that don't need to be in
/etc (and in Solaris most of this stuff is on /usr), are in
/usr/lib/fs/XXX. At the moment /etc/fs/XXX seems to have only mount.
/usr/lib/fs/XXX has different things for different file types, but
mount, umount, share, unshare, fsck, mkfs, etc. are typical.