This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: bash: tar: command not found
On 12 April 2007 17:49, Jeff Hawk wrote:
>> -----Original Message-----
>> From: Thorsten Kampe
>> Sent: Thursday, April 12, 2007 11:03 AM
>> \cygwin\usr\bin and \cygwin\usr\lib are /real/ directories created by
>> the initial Cygwin installation routine. He shouldn't delete those
>> directories - just keep them empty...
>
> Not true...
>
> I have Cygwin installed and there is NO c:\cygwin\usr\bin directory
>
> As has been mentioned before, /usr/bin is a *mount* point, not a real
> directory.
>
> 0> mount
> C:\cygwin\bin on /usr/bin type system (binmode) <<<<<<<<<<<
> C:\cygwin\lib on /usr/lib type system (binmode)
> C:\cygwin on / type system (binmode)
>
> Like that ^^^^^^^^^^^
Yeh, but it helps to create a real directory to back up a mountpoint,
because that avoids a warning message. And setup.exe is /supposed/ to create
them: see do_install_thread in install.cc:
for (i = 0; Installer::StandardDirs[i]; i++)
{
std::string p = cygpath (Installer::StandardDirs[i]);
if (p.size())
io_stream::mkpath_p (PATH_TO_DIR, "file://" + p);
}
const char *
Installer::StandardDirs[] = {
"/bin",
"/etc",
"/lib",
"/tmp",
"/usr",
"/usr/bin",
"/usr/lib",
"/usr/src",
"/usr/local",
"/usr/local/bin",
"/usr/local/etc",
"/usr/local/lib",
"/usr/tmp",
"/var/run",
"/var/tmp",
0
};
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/