Skip site navigation (1) Skip section navigation (2)

Re: "/usr/bin" supposed to exist?

From: Jason Tishler <jason(at)tishler(dot)net>
To: Frank Seesink <frank(at)mail(dot)wvnet(dot)edu>
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: "/usr/bin" supposed to exist?
Date: 2003-10-07 13:01:12
Message-ID: 20031007130112.GD952@tishler.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
Frank,

On Mon, Oct 06, 2003 at 10:50:17PM -0400, Frank Seesink wrote:
> Jason Tishler wrote:
> >Do you have /bin in your PATH?  If so, then this would explain the
> >above.
> 
> Actually, I do have /bin in my PATH.  I do a very simple Cygwin
> install, and it appears to be there by default.  So yeah, that is
> likely why commands, etc., continue to work.  Though the strange thing
> is that when you do the umount command I mention, it sometimes happens
> that you can't just type 'mount'...it's as if /bin ISN'T in the PATH
> even though it is.  Very odd.

<WAG>
Maybe the above is due to bash's hashing of commands:

    $ type mount # first time mount is executed
    mount is /usr/bin/mount
    $ mount
    ...
    $ type mount
    mount is hashed (/usr/bin/mount)
</WAG>

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

In response to

pgsql-cygwin by date

Next:From: Bill PfeifferDate: 2003-10-07 15:06:41
Subject: Change ownership of database files
Previous:From: Frank SeesinkDate: 2003-10-07 02:55:48
Subject: Re: "/usr/bin" supposed to exist?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group