1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-creatingdirs">
|
---|
7 | <title>Creating directories</title>
|
---|
8 | <?dbhtml filename="creatingdirs.html"?>
|
---|
9 |
|
---|
10 | <para>Create a dirs tree:</para>
|
---|
11 |
|
---|
12 | <screen><userinput>install -d /{bin,boot,dev,etc/opt,home,lib,mnt}
|
---|
13 | install -d /{sbin,srv,usr/local,var,opt}
|
---|
14 | install -d /root -m 0750
|
---|
15 | install -d /tmp /var/tmp -m 1777
|
---|
16 | install -d /media/{floppy,cdrom}
|
---|
17 | install -d /usr/{bin,include,lib,sbin,share,src}
|
---|
18 | ln -s share/{man,doc,info} /usr
|
---|
19 | install -d /usr/share/{doc,info,locale,man}
|
---|
20 | install -d /usr/share/{misc,terminfo,zoneinfo}
|
---|
21 | install -d /usr/share/man/man{1,2,3,4,5,6,7,8}
|
---|
22 | install -d /usr/local/{bin,etc,include,lib,sbin,share,src}
|
---|
23 | ln -s share/{man,doc,info} /usr/local
|
---|
24 | install -d /usr/local/share/{doc,info,locale,man}
|
---|
25 | install -d /usr/local/share/{misc,terminfo,zoneinfo}
|
---|
26 | install -d /usr/local/share/man/man{1,2,3,4,5,6,7,8}
|
---|
27 | install -d /var/{lock,log,mail,run,spool}
|
---|
28 | install -d /var/{opt,cache,lib/{misc,locate},local}
|
---|
29 | install -d /opt/{bin,doc,include,info}
|
---|
30 | install -d /opt/{lib,man/man{1,2,3,4,5,6,7,8}}</userinput></screen>
|
---|
31 |
|
---|
32 | </sect1>
|
---|