X-Spam-Check-By: sourceware.org From: "Dave Korn" To: "'cygwin general mailing list'" Subject: RE: Where does Cygwin store its parameters? Date: Mon, 4 Dec 2006 19:11:30 -0000 Message-ID: <0a5f01c717d8$02e14140$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <09f001c7179c$a2658e10$a501a8c0@CAM.ARTIMI.COM> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 04 December 2006 12:07, Dave Korn wrote: JFTR: This is pretty ham-fistedly worded so I will clarify FTA. > 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. >> 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. What I mean is that there is no explicit flag anywhere that says "cygwin was installed in binary or text mode". The mount-mode of the root directory *is* of course explicitly stored, in the registry; and if it has not been changed since, you can /deduce/ that the current mode is the result of the mode chosen last time setup.exe was run. 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/