#1656: Redundancy in Chapter 6 "Creating Directories"
-----------------------------------------+----------------------------------
Reporter: [EMAIL PROTECTED] | Owner: [EMAIL PROTECTED]
Type: defect | Status: new
Priority: lowest | Milestone: 6.2
Component: Book | Version: SVN
Severity: trivial | Resolution:
Keywords: |
-----------------------------------------+----------------------------------
Comment (by [EMAIL PROTECTED]):
Here is another way to look at the install commands. Note that "install"
doesn't need to be passed on every command, though backslashes would
be required:
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
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/1656>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page