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 -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