X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave.korn@artimi.com>
To: <cygwin@cygwin.com>
References: <1189782531.24064.8.camel@mercury.sprymusic> 	 <31b7d2790709140815q69ff65ffo931da15326c8efb7@mail.gmail.com> <5abc24640709140824l300a47d6g16180aa66bab75ea@mail.gmail.com>
Subject: RE: Whither /dev/null ?
Date: Fri, 14 Sep 2007 16:28:49 +0100
Message-ID: <025401c7f6e3$f2bfe5a0$2e08a8c0@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: <5abc24640709140824l300a47d6g16180aa66bab75ea@mail.gmail.com>
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 14 September 2007 16:24, Andrew Louie wrote:

>> Did you check the Cygwin User's Guide?
>> http://cygwin.com/cygwin-ug-net/using-specialnames.html
>> 
>> It sort of explains it.
>> 
>> -Jason
>> 
> 
> I wonder if this problem I'm having with postgresql is related:

  This line of reasoning is just a bit like saying "Oh, you had a problem with
a file on your C: drive... I have a problem involving files on my C: drive, I
wonder if it's the same".  

> creating directory /usr/local/pgsql/data/pg_tblspc ... ok
> selecting default max_connections ... sh: line 1:  3612 Bad system
> call         "/usr/sbin/postgres.exe" -boot -x0 -F -c
> shared_buffers=500 -c max_connections=100 template1 < "/dev/null" >
> "/dev/null" 2>&1
> 
> I wonder if the Bad system call is due to trying to read/write to /dev/null.

  No, why should it be?  /dev/null works perfectly.





                     .




                     .




                     .




  OK, I won't be mean.  The "bad system call" error is probably a result of
you not having the 'server' option set in your CYGWIN environment variable.
See
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html



    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/

