Whither /dev/null ?

Andrew Louie louiea@gmail.com
Fri Sep 14 15:24:00 GMT 2007


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

$initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "louiea".
This user must also own the server process.

The database cluster will be initialized with locale C.

fixing permissions on existing directory /usr/local/pgsql/data ... ok
creating directory /usr/local/pgsql/data/global ... ok
creating directory /usr/local/pgsql/data/pg_xlog ... ok
creating directory /usr/local/pgsql/data/pg_xlog/archive_status ... ok
creating directory /usr/local/pgsql/data/pg_clog ... ok
creating directory /usr/local/pgsql/data/pg_subtrans ... ok
creating directory /usr/local/pgsql/data/base ... ok
creating directory /usr/local/pgsql/data/base/1 ... ok
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.



-- 
-Andrew Louie

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



More information about the Cygwin mailing list