On Mon, Jun 18, 2007 at 11:45:31PM +0100, Georgina Joyce wrote: > > If rm and ls are in /usr/bin, then that is a bug in your setup. They > are expected to be in /bin for many reasons, one of which is > assumptions by other utilities. That's where we install them in LFS. > > Oh dear, really? What lfs packages install these? I copied and pasted most > of the commands, so I can't see how I made some kind of error. > > I made a mistake in stating which lfs book from which I built the system in a > previous post, the correct one is: SVN 2007-06-06. > http://www.linuxfromscratch.org/lfs/view/development/chapter06/coreutils.html (the instructions after 'make install' - and no, we haven't altered that part recently) > > /usr/local/bin:/bin:/usr/bin:/home/gena/bin > > total 2256 > > -rwxr-xr-x 1 root root 2952 2007-06-14 12:06 arch > > -rwxr-xr-x 1 root root 595100 2007-06-14 12:06 bash > > -r-xr-xr-x 1 root root 6806 2007-06-12 21:36 bashbug > > lrwxrwxrwx 1 root root 5 2007-06-12 21:44 bunzip2 -> bzip2 > > lrwxrwxrwx 1 root root 5 2007-06-12 21:44 bzcat -> bzip2 > > -rwxr-xr-x 1 root root 34005 2007-06-14 12:06 bzip2 > > What directory is that? Should be /bin. > > It is but that's the whole. > Eek! I'm on a clfs box at the moment, but as well as programs from coreutils I'd expect to also see things from procps, sed, grep, gzip, inetutils, kbd, less, module-init-tools, psmisc, shadow, sysvinit, util-linux.
But, if '/usr' and '/' are the same filesystem (they must be, otherwise you wouldn't have booted with so little in /bin), the non-coreutils parts are probably cosmetic. To keep the system going, in this case I suggest you symlink the problematic coreutils progs from /bin to /usr/bin while you work out how you missed most of the instructions to move programs to /bin. I think you use a screen reader ? I can see that for psmisc we have --exec-prefix="" ( dash dash exec dash prefix equals double quotes double quotes ) and for module-init-tools --prefix=/ (dash dash prefix equals slash ). Maybe our formatting isn't working for you ? ken -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
