diff options
Diffstat (limited to 'chapter06/creatingdirs.xml')
-rw-r--r-- | chapter06/creatingdirs.xml | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index d877aba4a..a007df15e 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -10,25 +10,25 @@ <para>It is time to create some structure in the LFS file system. Create a standard directory tree by issuing the following commands:</para> -<screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt} -install -d /{sbin,srv,usr/local,var,opt} -install -d /root -m 0750 -install -d /tmp /var/tmp -m 1777 -install -d /media/{floppy,cdrom} -install -d /usr/{bin,include,lib,sbin,share,src} -ln -s share/{man,doc,info} /usr -install -d /usr/share/{doc,info,locale,man} -install -d /usr/share/{misc,terminfo,zoneinfo} -install -d /usr/share/man/man{1..8} -install -d /usr/local/{bin,etc,include,lib,sbin,share,src} -ln -s share/{man,doc,info} /usr/local -install -d /usr/local/share/{doc,info,locale,man} -install -d /usr/local/share/{misc,terminfo,zoneinfo} -install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8} -install -d /var/{lock,log,mail,run,spool} -install -d /var/{opt,cache,lib/{misc,locate},local} -install -d /opt/{bin,doc,include,info} -install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen> +<screen><userinput>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}}</userinput></screen> <para>Directories are, by default, created with permission mode 755, but this is not desirable for all directories. In the commands above, |