Heads-up: postinstall scripts and PATH (Attn all package maintainers)

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Tue Feb 24 21:19:00 GMT 2004


On Tue, Feb 24, 2004 at 04:16:48PM -0500, Christopher Faylor wrote:
>On Tue, Feb 24, 2004 at 03:52:44PM -0500, Igor Pechtchanski wrote:
>>> I'm not sure if it would be easy to test that the path pointed to by a
>>> mount is valid and writable?  Do you know of a clean way to do it?
>>
>>Umm, why not just test "[ -w /usr/X11R6/lib/X11/fonts ]"?  But as for
>>checking that it's mounted in binary mode, I can't think of a good way to
>>do this other than parse the output of mount, and in this case you're
>>probably better off forcing a umount and remounting.
>
>Sounds like an interesting cygpath option:
>
>  bash$ cygpath --mode /tmp
>  binary
>
>I might take a stab at that since I can't suggest it to Igor.
                                                             ^
                                                               due to current lack of an assignment.



More information about the Cygwin-apps mailing list