Hi all, There are *many* redundancies in the section where the directory tree is created. I started going through it, and came up with an entirely different set of commands that accomplish the same thing in 14 lines (one is a tad bit longer) than what is currently in the book that takes 19 lines.
More than anything, I was trying to get rid of the redundancies, so know I wasn't trying to come up with an entire new set of commands. Something to think about though. Listed first is the book's commands, and then what it could be revised to. install -dv /{bin,boot,dev,etc/opt,home,lib,mnt} install -dv /{sbin,srv,usr/local,var,opt} install -dv /root -m 0750 install -dv /tmp /var/tmp -m 1777 install -dv /media/{floppy,cdrom} install -dv /usr/{bin,include,lib,sbin,share,src} ln -sv share/{man,doc,info} /usr install -dv /usr/share/{doc,info,locale,man} install -dv /usr/share/{misc,terminfo,zoneinfo} install -dv /usr/share/man/man{1..8} install -dv /usr/local/{bin,etc,include,lib,sbin,share,src} ln -sv share/{man,doc,info} /usr/local install -dv /usr/local/share/{doc,info,locale,man} install -dv /usr/local/share/{misc,terminfo,zoneinfo} install -dv /usr/local/share/man/man{1,2,3,4,5,6,7,8} install -dv /var/{lock,log,mail,run,spool} install -dv /var/{opt,cache,lib/{misc,locate},local} install -dv /opt/{bin,doc,include,info} install -dv /opt/{lib,man/man{1,2,3,4,5,6,7,8}} install -v -d \ /{bin,boot,dev,etc/opt,home,lib,mnt,sbin,srv} \ /media/{floppy,cdrom} /usr/local/etc \ /usr/{,local/}{bin,include,lib,sbin,src} \ /usr/{,local/}share/{doc,info,locale,misc,terminfo,zoneinfo} \ /usr/{,local/}share/man/man{1..8} \ /var/{lock,log,mail,run,spool} \ /var/{opt,cache,lib/{misc,locate},local} \ /opt/{bin,doc,include,info} \ /opt/{lib,man/man{1,2,3,4,5,6,7,8}} ln -sv share/{man,doc,info} /usr ln -sv share/{man,doc,info} /usr/local install -dv /root -m 0750 install -dv /tmp /var/tmp -m 1777 -- Randy rmlscsi: [GNU ld version 2.15.94.0.2 20041220] [gcc (GCC) 3.4.3] [GNU C Library stable release version 2.3.4] [Linux 2.6.10 i686] 16:52:00 up 22:08, 5 users, load average: 0.09, 0.05, 0.02 -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page