Mail Archives: cygwin-developers/1999/01/07/16:58:36
Christopher Faylor wrote:
>
> Geoff is in the process of redoing the handling of Cygwin's mount table.
> We're redesigning the layout of the registry but it occurred to me that
> there was a long-running thread in gnu-win32 where people seemed to be
> advocating for a simple /etc/fstab style file.
>
> Does anyone have any opinions on this? Should we drop the registry in
> favor of a file? Obviously there would have to be at least one entry
> denoting where the root was located but should that be it?
>
> -chris
I'd like to see it in the following style:
- Use %SYSTEMDRIVE% as default root, text!=binary mounted, if not...
- ...environment variable CYGROOT is set: `CYGROOT=foo', where foo is
a Windows path, optionally followed by a `/b' for `binary mounted'.
- Important: CYGROOT is only evaluated on first invocation of the dll.
- Usage of /etc/fstab, by convention with \r\n new-line, if not the option
/b is set in CYGROOT.
- /etc/fstab has to support raw device entries such as the current mount
table, until the real /dev directory will be used.
This sounds nice to me.
But it's not _really_ necessary. I would also appreciate a solution _with_
registry, if it would be possible, to use only the entries in HKEY_LOCAL_MACHINE
systemwide and disallow the usage of the entries in HKEY_CURRENT_USER.
Moreover, it should then be possible, to edit this entries with `mount/umount'.
This would be a great help.
Regards,
Corinna
- Raw text -