This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: Mounting /tmp at TMP or TEMP as a last resort
On 08/09/2010 3:41 PM, Christopher Faylor wrote:
> Thanks for the patch but I don't think this is generally useful. If you
> need to mount /tmp somewhere else then it should be fairly trivial to
> automatically update /etc/fstab. Corinna may disagree, but I think we
> should keep the parsing of /etc/fstab as lean as possible; particularly
> when there are alternatives to modifying Cygwin to achieve the desired
> result.
Yes, I understand what you're saying.
In our situation, we prefer an out-of-the-box deployment. (We're
essentially trying to get to a "untar this and use it" state).
That said, I don't think it's possible for /etc/fstab to inspect
environment variables, so manipulation of /etc/fstab would
require the assistance of some other script to edit /etc/fstab on
the fly --- and even then it would be difficult to track changes
to the environment variables.
Thanks for the quick feedback.
Earl