Re: "/usr/bin" supposed to exist? - Mailing list pgsql-cygwin

From Jason Tishler
Subject Re: "/usr/bin" supposed to exist?
Date
Msg-id 20031007130112.GD952@tishler.net
Whole thread Raw
In response to Re: "/usr/bin" supposed to exist?  (Frank Seesink <frank@mail.wvnet.edu>)
List 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

pgsql-cygwin by date:

Previous
From: Frank Seesink
Date:
Subject: Re: "/usr/bin" supposed to exist?
Next
From: "Bill Pfeiffer"
Date:
Subject: Change ownership of database files