[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] chroot()



Hello!

> bash# /bin/ls                [2]
> bash: /bin/ls: path not found
> bash# bin/ls                 [3]
> bin         dev         home       lost+found  root         tmp          var
> boot        etc         lib        mnt         sbin         usr
> 
> [1] my /h/ is a root-like tree, which is seen in [3].
> I have /bin in the PATH, but as seen in [2], it can't even find my ls
> when I write the full path on the command line. If I write any
> relative path, as in [3], it works just fine.
> 
> Ideas, anyone? Am I missing something?

Which MiNTLib is linked with this 'ls'? If the MiNTLib convert the
pathname into a DOS style name the lookup will fail under a chrooted
environment.

/bin/ls -> u:\bin\ls


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de