X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <17393e3e0811251027u58a38a98yb9b884a49f2a0de1@mail.gmail.com>
Date: Tue, 25 Nov 2008 13:27:24 -0500
From: "Matt Wozniski" <godlygeek@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Running Linux Application on Windows
In-Reply-To: <20081125162207.GA6541@ednor.casa.cgf.cx>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <20677518.post@talk.nabble.com> <492BE083.6060406@etr-usa.com> 	 <20081125162207.GA6541@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Tue, Nov 25, 2008 at 11:22 AM, Christopher Faylor wrote:
> On Tue, Nov 25, 2008 at 04:24:51AM -0700, Warren Young wrote:
>> Emil Tan wrote:
>>> Is the documentation kinda wrong?
>>
>> Yes, but that's something you'll have to take up with the people who
>> maintain that file, presumably on the Samhain mailing list.  Whoever wrote
>> it doesn't realize that /usr, /home, etc aren't created in c:\, they're
>> mount(1) aliases for directories that actually live in c:\cygwin, by
>> default.
>
> Right.  Just to be clear if that is what the documentation tells you to
> do it is frighteningly wrong.

It doesn't seem that that is what the documentation tells you to do:

$ ./configure --enable-xml-log=yes --with-tmp-dir=/usr/local/tmp
--with-config-file=/usr/local/etc/samhainrc
--with-log-file=/usr/local/log/samhain.log
--with-pid-file=/usr/local/var/samhain.pid
--with-state-dir=/usr/local/var

That seems sane to me; I think the OP's explanation/understanding was
just wrong....

OTOH, that page also has instructions for a "Cygwin minimal
installation procedure to run samhain" that feature instructions to
copy cygwin1.dll and cygminires.dll to the windows\system32 directory,
and that definitely *is* bad advice.

~Matt

--
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/

