This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Is there a better name than --mode?

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]