[LFS Trac] #1656: Redundancy in Chapter 6 "Creating Directories"

LFS Trac trac at linuxfromscratch.org
Thu Mar 23 07:30:15 PST 2006


#1656: Redundancy in Chapter 6 "Creating Directories"
-----------------------------------------+----------------------------------
 Reporter:  gerard at linuxfromscratch.org  |        Owner:  matthew at linuxfromscratch.org
     Type:  defect                       |       Status:  new                         
 Priority:  lowest                       |    Milestone:  6.2                         
Component:  Book                         |      Version:  SVN                         
 Severity:  trivial                      |   Resolution:                              
 Keywords:                               |  
-----------------------------------------+----------------------------------
Comment (by randy at linuxfromscratch.org):

 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.



More information about the lfs-book mailing list