Subversion Repositories svn LFS-FR

Rev

Rev 1594 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
736 texou 1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
  <!ENTITY % general-entities SYSTEM "../../general.ent">
5
  %general-entities;
6
]>
7
 
8
<sect1 id="ch-boot-creatingdirs">
9
  <?dbhtml filename="creatingdirs.html"?>
10
 
4004 myou72 11
  <title>Créer les répertoires</title>
736 texou 12
 
1270 jmengual 13
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
736 texou 14
  href="../common/creatingdirs.xml"
15
  xpointer="xpointer(//*[@os='a'])"/>
16
 
17
<screen os="b"><userinput>mkdir -pv ${CLFS}/{bin,boot,dev,{etc/,}opt,home,lib{,64},mnt}
18
mkdir -pv ${CLFS}/{proc,media/{floppy,cdrom},sbin,srv,sys}
19
mkdir -pv ${CLFS}/var/{lock,log,mail,run,spool}
20
mkdir -pv ${CLFS}/var/{opt,cache,lib{,64}/{misc,locate},local}
21
install -dv ${CLFS}/root -m 0750
22
install -dv ${CLFS}{/var,}/tmp -m 1777
23
mkdir -pv ${CLFS}/usr/{,local/}{bin,include,lib{,64},sbin,src}
24
mkdir -pv ${CLFS}/usr/{,local/}share/{doc,info,locale,man}
25
mkdir -pv ${CLFS}/usr/{,local/}share/{misc,terminfo,zoneinfo}
26
mkdir -pv ${CLFS}/usr/{,local/}share/man/man{1,2,3,4,5,6,7,8}
27
for dir in ${CLFS}/usr{,/local}; do
28
  ln -sv share/{man,doc,info} $dir
29
done
30
install -dv ${CLFS}/usr/lib/locale
31
ln -sv ../lib/locale ${CLFS}/usr/lib64</userinput></screen>
32
 
1270 jmengual 33
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
736 texou 34
  href="../common/creatingdirs.xml"
35
  xpointer="xpointer(//*[@os='c'])"/>
36
 
1270 jmengual 37
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
736 texou 38
  href="../common/creatingdirs.xml"
39
  xpointer="xpointer(//*[@os='d'])"/>
40
 
1270 jmengual 41
  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
736 texou 42
  href="../common/creatingdirs.xml"
43
  xpointer="xpointer(//*[@os='e'])"/>
44
 
45
</sect1>