On Wed, Mar 06, 2002 at 06:27:50PM +0100, Stephane Gourichon wrote: > On 6 Mar 2002, Guillaume Cottenceau wrote: > > > Keld J�rn Simonsen <[EMAIL PROTECTED]> writes: > > > > > Wish: I have a number of file systems, and I would like > > > the install program to find them automatically. DrakX > > > already does so for standard partitions like / /home > > > /var etc. I thought if there was in the root of > > > each file system a .mount file that just contained the path > > > on which to mount it would save me grief and maybe 10 minutes > > > everytime I install. Just an idea. > > > ext2 and relatives also have a not-well-enough-known field, the > "last-mounted-directory", which is I guess an excellent candidate for > this purpose. > > See in mke2fs or tune2fs : > [-L volume-label] [-M last-mounted-directory] > > > We could consider that on modification of the fstab, the configuration > tools set the "last-mounted-directory" of the filesystems to the > directory where it is supposed to be mounted ? > > This would give a precious hint for a smarter installer (and for some > rescue/upgrade tools, also, in case /etc/fstab is lost...)
The last-mounted-directory seems like the better idea if that is already integrated in some programs. Then others could make use of it too. Kind regards keld
