This is the mail archive of the cygwin 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: Where does Cygwin store its parameters?


On 04 December 2006 11:04, Dave Silvia wrote:

> Hi!
> 
> I'm trying to write a script that knows what the user selected for
> parameters at installation.

  Are you sure this is the best way to achieve whatever end result you're
using?  Give us some more detail, maybe there's a better way without having to
know this stuff.

>   For example, What type of line endings (CRLF, LF, etc.). Where 
> does Cygwin store this sort of information, if anywhere?

  The type of line-endings can be inferred from the mount-mode of the root
directory; it's not stored explicitly anywhere AFAIK.  Most of the remaining
information is stored in /etc/setup/last-{action,cache,connection,mirror}.



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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