From owner-svn-doc-all@freebsd.org Tue Oct 27 02:43:25 2015 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1ADEDA1D30F; Tue, 27 Oct 2015 02:43:25 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B52A91A97; Tue, 27 Oct 2015 02:43:24 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t9R2hN3f016140; Tue, 27 Oct 2015 02:43:23 GMT (envelope-from wblock@FreeBSD.org) Received: (from wblock@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t9R2hNU6016134; Tue, 27 Oct 2015 02:43:23 GMT (envelope-from wblock@FreeBSD.org) Message-Id: <201510270243.t9R2hNU6016134@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wblock set sender to wblock@FreeBSD.org using -f From: Warren Block Date: Tue, 27 Oct 2015 02:43:23 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r47678 - in head: en_US.ISO8859-1/books/handbook en_US.ISO8859-1/books/handbook/basics share/images/books/handbook/basics X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2015 02:43:25 -0000 Author: wblock Date: Tue Oct 27 02:43:23 2015 New Revision: 47678 URL: https://svnweb.freebsd.org/changeset/doc/47678 Log: Update the disk organization section of the very old Basics chapter. This chapter referred to images from the retired Install chapter, which were missing from the Makefile. Some of the information was out of date. The original disk organization diagram had been created in an application that has not existed for over a decade, so I wrote a new diagram in PostScript. This addresses the PR below. This needs to be extended to add a GPT version. PR: 203821 Submitted by: ryan@englandacademy.org Added: head/en_US.ISO8859-1/books/handbook/basics/disk-layout.eps (contents, props changed) head/en_US.ISO8859-1/books/handbook/basics/disk-layout.ps (contents, props changed) head/share/images/books/handbook/basics/ head/share/images/books/handbook/basics/disk-layout.eps (contents, props changed) head/share/images/books/handbook/basics/example-dir1.eps - copied unchanged from r47674, head/share/images/books/handbook/install/example-dir1.eps head/share/images/books/handbook/basics/example-dir2.eps - copied unchanged from r47674, head/share/images/books/handbook/install/example-dir2.eps head/share/images/books/handbook/basics/example-dir3.eps - copied unchanged from r47674, head/share/images/books/handbook/install/example-dir3.eps head/share/images/books/handbook/basics/example-dir4.eps - copied unchanged from r47674, head/share/images/books/handbook/install/example-dir4.eps head/share/images/books/handbook/basics/example-dir5.eps - copied unchanged from r47674, head/share/images/books/handbook/install/example-dir5.eps Deleted: head/en_US.ISO8859-1/books/handbook/basics/disk-layout.kil Modified: head/en_US.ISO8859-1/books/handbook/Makefile head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Modified: head/en_US.ISO8859-1/books/handbook/Makefile ============================================================================== --- head/en_US.ISO8859-1/books/handbook/Makefile Tue Oct 27 00:25:19 2015 (r47677) +++ head/en_US.ISO8859-1/books/handbook/Makefile Tue Oct 27 02:43:23 2015 (r47678) @@ -29,6 +29,12 @@ IMAGES_EN+= advanced-networking/natd.eps IMAGES_EN+= advanced-networking/net-routing.pic IMAGES_EN+= advanced-networking/pxe-nfs.png IMAGES_EN+= advanced-networking/static-routes.pic +IMAGES_EN+= basics/disk-layout.eps +IMAGES_EN+= basics/example-dir1.eps +IMAGES_EN+= basics/example-dir2.eps +IMAGES_EN+= basics/example-dir3.eps +IMAGES_EN+= basics/example-dir4.eps +IMAGES_EN+= basics/example-dir5.eps IMAGES_EN+= bsdinstall/bsdinstall-adduser1.png IMAGES_EN+= bsdinstall/bsdinstall-adduser2.png IMAGES_EN+= bsdinstall/bsdinstall-adduser3.png Modified: head/en_US.ISO8859-1/books/handbook/basics/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Tue Oct 27 00:25:19 2015 (r47677) +++ head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Tue Oct 27 02:43:23 2015 (r47678) @@ -1926,7 +1926,7 @@ root 5211 0.0 0.2 3620 1724 2 - + @@ -1947,7 +1947,7 @@ root 5211 0.0 0.2 3620 1724 2 - + @@ -1978,7 +1978,7 @@ root 5211 0.0 0.2 3620 1724 2 - + @@ -2007,7 +2007,7 @@ root 5211 0.0 0.2 3620 1724 2 - + @@ -2033,7 +2033,7 @@ root 5211 0.0 0.2 3620 1724 2 - + @@ -2330,7 +2330,7 @@ root 5211 0.0 0.2 3620 1724 2 ada0s1a The first partition (a) on the - first slice (s1) on the first IDE + first slice (s1) on the first SATA disk (ada0). @@ -2348,55 +2348,27 @@ root 5211 0.0 0.2 3620 1724 2 Conceptual Model of a Disk - This diagram shows &os;'s view of the first IDE disk - attached to the system. Assume that the disk is 4 GB in - size, and contains two 2 GB slices (&ms-dos; partitions). - The first slice contains a &ms-dos; disk, + This diagram shows &os;'s view of the first SATA disk + attached to the system. Assume that the disk is 250 GB in + size, and contains an 80 GB slice and a 170 GB slice (&ms-dos; partitions). + The first slice contains a &windows; NTFS file system, C:, and the second slice contains a - &os; installation. This example &os; installation has three - data partitions, and a swap partition. + &os; installation. This example &os; installation has four + data partitions and a swap partition. - The three partitions will each hold a file system. - Partition a will be used for the root file - system, e for the - /var/ directory - hierarchy, and f for the - /usr/ directory - hierarchy. + The four partitions each hold a file system. + Partition a is used for the root file + system, d for + /var/, + e for /tmp/, and f for + /usr/. Partition letter + c refers to the entire slice, and so is not + used for ordinary partitions. - + - - - .-----------------. --. -| | | -| DOS / Windows | | -: : > First slice, ad0s1 -: : | -| | | -:=================: ==: --. -| | | Partition a, mounted as / | -| | > referred to as ad0s2a | -| | | | -:-----------------: ==: | -| | | Partition b, used as swap | -| | > referred to as ad0s2b | -| | | | -:-----------------: ==: | Partition c, no -| | | Partition e, used as /var > file system, all -| | > referred to as ad0s2e | of FreeBSD slice, -| | | | ad0s2c -:-----------------: ==: | -| | | | -: : | Partition f, used as /usr | -: : > referred to as ad0s2f | -: : | | -| | | | -| | --' | -`-----------------' --' - @@ -2837,12 +2809,12 @@ Swap: 2048M Total, 2048M Free have open, and attempt to finish what it is doing before shutting down. In some cases, a process may ignore SIGTERM if it is in the middle of some task - that can not be interrupted. + that cannot be interrupted. - SIGKILL can not be ignored by a + SIGKILL cannot be ignored by a process. Sending a SIGKILL to a process will usually stop that process there and then. - There are a few tasks that can not be + There are a few tasks that cannot be interrupted. For example, if the process is trying to read from a file that is on another computer on the network, and the other computer is unavailable, the Added: head/en_US.ISO8859-1/books/handbook/basics/disk-layout.eps ============================================================================== Binary file. No diff available. Added: head/en_US.ISO8859-1/books/handbook/basics/disk-layout.ps ============================================================================== Binary file. No diff available. Added: head/share/images/books/handbook/basics/disk-layout.eps ============================================================================== Binary file. No diff available. Copied: head/share/images/books/handbook/basics/example-dir1.eps (from r47674, head/share/images/books/handbook/install/example-dir1.eps) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/images/books/handbook/basics/example-dir1.eps Tue Oct 27 02:43:23 2015 (r47678, copy of r47674, head/share/images/books/handbook/install/example-dir1.eps) @@ -0,0 +1,299 @@ +%!PS-Adobe-2.0 +%%Creator: dot version 1.8.5 (Sat Jun 29 11:49:08 BST 2002) +%%For: (nik) Nik Clayton +%%Title: directory +%%Pages: (atend) +%%BoundingBox: 35 35 163 177 +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval + +EncodingVector + dup 306 /AE + dup 301 /Aacute + dup 302 /Acircumflex + dup 304 /Adieresis + dup 300 /Agrave + dup 305 /Aring + dup 303 /Atilde + dup 307 /Ccedilla + dup 311 /Eacute + dup 312 /Ecircumflex + dup 313 /Edieresis + dup 310 /Egrave + dup 315 /Iacute + dup 316 /Icircumflex + dup 317 /Idieresis + dup 314 /Igrave + dup 334 /Udieresis + dup 335 /Yacute + dup 376 /thorn + dup 337 /germandbls + dup 341 /aacute + dup 342 /acircumflex + dup 344 /adieresis + dup 346 /ae + dup 340 /agrave + dup 345 /aring + dup 347 /ccedilla + dup 351 /eacute + dup 352 /ecircumflex + dup 353 /edieresis + dup 350 /egrave + dup 355 /iacute + dup 356 /icircumflex + dup 357 /idieresis + dup 354 /igrave + dup 360 /dcroat + dup 361 /ntilde + dup 363 /oacute + dup 364 /ocircumflex + dup 366 /odieresis + dup 362 /ograve + dup 365 /otilde + dup 370 /oslash + dup 372 /uacute + dup 373 /ucircumflex + dup 374 /udieresis + dup 371 /ugrave + dup 375 /yacute + dup 377 /ydieresis + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + dup scale +} bind def + +% styles +/solid { } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw aligned label in bounding box aligned to current point +/alignedtext { % width adj text + /text exch def + /adj exch def + /width exch def + gsave + width 0 gt { + text stringwidth pop adj mul 0 rmoveto + } if + [] 0 setdash + text show + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +%%Page: 1 1 +%%PageBoundingBox: 36 36 163 177 +%%PageOrientation: Portrait +gsave +35 35 128 142 boxprim clip newpath +36 36 translate +0 0 1 beginpage +0 0 translate 0 rotate +0.000 0.000 0.000 graphcolor +14.00 /Times-Roman set_font + +% root +gsave 10 dict begin +63 106 31 25 ellipse_path +stroke +gsave 10 dict begin +63 109 moveto 33 -0.5 (Root) alignedtext +63 93 moveto 5 -0.5 (/) alignedtext +end grestore +end grestore + +% A1/ +gsave 10 dict begin +27 26 27 18 ellipse_path +stroke +gsave 10 dict begin +27 21 moveto 23 -0.5 (A1/) alignedtext +end grestore +end grestore + +% root -> A1/ +newpath 52 82 moveto +48 72 43 61 39 51 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 37 53 moveto +35 43 lineto +42 51 lineto +closepath +fill +0.000 0.000 0.000 edgecolor + +% A2/ +gsave 10 dict begin +99 26 27 18 ellipse_path +stroke +gsave 10 dict begin +99 21 moveto 26 -0.5 (A2/) alignedtext +end grestore +end grestore + +% root -> A2/ +newpath 74 82 moveto +78 72 83 61 87 51 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 84 51 moveto +91 43 lineto +89 53 lineto +closepath +fill +0.000 0.000 0.000 edgecolor +endpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +end +restore +%%EOF Copied: head/share/images/books/handbook/basics/example-dir2.eps (from r47674, head/share/images/books/handbook/install/example-dir2.eps) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/images/books/handbook/basics/example-dir2.eps Tue Oct 27 02:43:23 2015 (r47678, copy of r47674, head/share/images/books/handbook/install/example-dir2.eps) @@ -0,0 +1,341 @@ +%!PS-Adobe-2.0 +%%Creator: dot version 1.8.5 (Sat Jun 29 11:49:08 BST 2002) +%%For: (nik) Nik Clayton +%%Title: directory +%%Pages: (atend) +%%BoundingBox: 35 35 199 249 +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval + +EncodingVector + dup 306 /AE + dup 301 /Aacute + dup 302 /Acircumflex + dup 304 /Adieresis + dup 300 /Agrave + dup 305 /Aring + dup 303 /Atilde + dup 307 /Ccedilla + dup 311 /Eacute + dup 312 /Ecircumflex + dup 313 /Edieresis + dup 310 /Egrave + dup 315 /Iacute + dup 316 /Icircumflex + dup 317 /Idieresis + dup 314 /Igrave + dup 334 /Udieresis + dup 335 /Yacute + dup 376 /thorn + dup 337 /germandbls + dup 341 /aacute + dup 342 /acircumflex + dup 344 /adieresis + dup 346 /ae + dup 340 /agrave + dup 345 /aring + dup 347 /ccedilla + dup 351 /eacute + dup 352 /ecircumflex + dup 353 /edieresis + dup 350 /egrave + dup 355 /iacute + dup 356 /icircumflex + dup 357 /idieresis + dup 354 /igrave + dup 360 /dcroat + dup 361 /ntilde + dup 363 /oacute + dup 364 /ocircumflex + dup 366 /odieresis + dup 362 /ograve + dup 365 /otilde + dup 370 /oslash + dup 372 /uacute + dup 373 /ucircumflex + dup 374 /udieresis + dup 371 /ugrave + dup 375 /yacute + dup 377 /ydieresis + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + dup scale +} bind def + +% styles +/solid { } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw aligned label in bounding box aligned to current point +/alignedtext { % width adj text + /text exch def + /adj exch def + /width exch def + gsave + width 0 gt { + text stringwidth pop adj mul 0 rmoveto + } if + [] 0 setdash + text show + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer get + aload pop sethsbcolor + /nodecolor {nopcolor} def + /edgecolor {nopcolor} def + /graphcolor {nopcolor} def +} bind def + +/onlayer { curlayer ne {invis} if } def + +/onlayers { + /myupper exch def + /mylower exch def + curlayer mylower lt + curlayer myupper gt + or + {invis} if +} def + +/curlayer 0 def + +%%EndResource +%%EndProlog +%%BeginSetup +14 default-font-family set_font +1 setmiterlimit +% /arrowlength 10 def +% /arrowwidth 5 def + +% make sure pdfmark is harmless for PS-interpreters other than Distiller +/pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse +% make '<<' and '>>' safe on PS Level 1 devices +/languagelevel where {pop languagelevel}{1} ifelse +2 lt { + userdict (<<) cvn ([) cvn load put + userdict (>>) cvn ([) cvn load put +} if + +%%EndSetup +%%Page: 1 1 +%%PageBoundingBox: 36 36 199 249 +%%PageOrientation: Portrait +gsave +35 35 164 214 boxprim clip newpath +36 36 translate +0 0 1 beginpage +0 0 translate 0 rotate +0.000 0.000 0.000 graphcolor +14.00 /Times-Roman set_font + +% root +gsave 10 dict begin +99 178 31 25 ellipse_path +stroke +gsave 10 dict begin +99 181 moveto 33 -0.5 (Root) alignedtext +99 165 moveto 5 -0.5 (/) alignedtext +end grestore +end grestore + +% A1/ +gsave 10 dict begin +63 98 27 18 ellipse_path +stroke +gsave 10 dict begin +63 93 moveto 23 -0.5 (A1/) alignedtext +end grestore +end grestore + +% root -> A1/ +newpath 88 154 moveto +84 144 79 133 75 123 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 73 125 moveto +71 115 lineto +78 123 lineto +closepath +fill +0.000 0.000 0.000 edgecolor + +% A2/ +gsave 10 dict begin +135 98 27 18 ellipse_path +stroke +gsave 10 dict begin +135 93 moveto 26 -0.5 (A2/) alignedtext +end grestore +end grestore + +% root -> A2/ +newpath 110 154 moveto +114 144 119 133 123 123 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 120 123 moveto +127 115 lineto +125 125 lineto +closepath +fill +0.000 0.000 0.000 edgecolor + +% B1/ +gsave 10 dict begin +27 26 27 18 ellipse_path +stroke +gsave 10 dict begin +27 21 moveto 21 -0.5 (B1/) alignedtext +end grestore +end grestore + +% A1/ -> B1/ +newpath 54 81 moveto +50 72 45 62 40 52 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 38 53 moveto +36 43 lineto +42 51 lineto +closepath +fill +0.000 0.000 0.000 edgecolor + +% B2/ +gsave 10 dict begin +99 26 27 18 ellipse_path +stroke +gsave 10 dict begin +99 21 moveto 24 -0.5 (B2/) alignedtext +end grestore +end grestore + +% A1/ -> B2/ +newpath 72 81 moveto +76 72 81 62 86 52 curveto +stroke +0.000 0.000 0.000 edgecolor +newpath 84 51 moveto +90 43 lineto +88 53 lineto +closepath +fill +0.000 0.000 0.000 edgecolor +endpage +grestore +%%PageTrailer +%%EndPage: 1 +%%Trailer +%%Pages: 1 +end +restore +%%EOF Copied: head/share/images/books/handbook/basics/example-dir3.eps (from r47674, head/share/images/books/handbook/install/example-dir3.eps) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/images/books/handbook/basics/example-dir3.eps Tue Oct 27 02:43:23 2015 (r47678, copy of r47674, head/share/images/books/handbook/install/example-dir3.eps) @@ -0,0 +1,341 @@ +%!PS-Adobe-2.0 +%%Creator: dot version 1.8.5 (Sat Jun 29 11:49:08 BST 2002) +%%For: (nik) Nik Clayton +%%Title: directory +%%Pages: (atend) +%%BoundingBox: 35 35 199 249 +%%EndComments +save +%%BeginProlog +/DotDict 200 dict def +DotDict begin + +/setupLatin1 { +mark +/EncodingVector 256 array def + EncodingVector 0 + +ISOLatin1Encoding 0 255 getinterval putinterval + +EncodingVector + dup 306 /AE + dup 301 /Aacute + dup 302 /Acircumflex + dup 304 /Adieresis + dup 300 /Agrave + dup 305 /Aring + dup 303 /Atilde + dup 307 /Ccedilla + dup 311 /Eacute + dup 312 /Ecircumflex + dup 313 /Edieresis + dup 310 /Egrave + dup 315 /Iacute + dup 316 /Icircumflex + dup 317 /Idieresis + dup 314 /Igrave + dup 334 /Udieresis + dup 335 /Yacute + dup 376 /thorn + dup 337 /germandbls + dup 341 /aacute + dup 342 /acircumflex + dup 344 /adieresis + dup 346 /ae + dup 340 /agrave + dup 345 /aring + dup 347 /ccedilla + dup 351 /eacute + dup 352 /ecircumflex + dup 353 /edieresis + dup 350 /egrave + dup 355 /iacute + dup 356 /icircumflex + dup 357 /idieresis + dup 354 /igrave + dup 360 /dcroat + dup 361 /ntilde + dup 363 /oacute + dup 364 /ocircumflex + dup 366 /odieresis + dup 362 /ograve + dup 365 /otilde + dup 370 /oslash + dup 372 /uacute + dup 373 /ucircumflex + dup 374 /udieresis + dup 371 /ugrave + dup 375 /yacute + dup 377 /ydieresis + +% Set up ISO Latin 1 character encoding +/starnetISO { + dup dup findfont dup length dict begin + { 1 index /FID ne { def }{ pop pop } ifelse + } forall + /Encoding EncodingVector def + currentdict end definefont +} def +/Times-Roman starnetISO def +/Times-Italic starnetISO def +/Times-Bold starnetISO def +/Times-BoldItalic starnetISO def +/Helvetica starnetISO def +/Helvetica-Oblique starnetISO def +/Helvetica-Bold starnetISO def +/Helvetica-BoldOblique starnetISO def +/Courier starnetISO def +/Courier-Oblique starnetISO def +/Courier-Bold starnetISO def +/Courier-BoldOblique starnetISO def +cleartomark +} bind def + +%%BeginResource: procset +/coord-font-family /Times-Roman def +/default-font-family /Times-Roman def +/coordfont coord-font-family findfont 8 scalefont def + +/InvScaleFactor 1.0 def +/set_scale { + dup 1 exch div /InvScaleFactor exch def + dup scale +} bind def + +% styles +/solid { } bind def +/dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def +/dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def +/invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def +/bold { 2 setlinewidth } bind def +/filled { } bind def +/unfilled { } bind def +/rounded { } bind def +/diagonals { } bind def + +% hooks for setting color +/nodecolor { sethsbcolor } bind def +/edgecolor { sethsbcolor } bind def +/graphcolor { sethsbcolor } bind def +/nopcolor {pop pop pop} bind def + +/beginpage { % i j npages + /npages exch def + /j exch def + /i exch def + /str 10 string def + npages 1 gt { + gsave + coordfont setfont + 0 0 moveto + (\() show i str cvs show (,) show j str cvs show (\)) show + grestore + } if +} bind def + +/set_font { + findfont exch + scalefont setfont +} def + +% draw aligned label in bounding box aligned to current point +/alignedtext { % width adj text + /text exch def + /adj exch def + /width exch def + gsave + width 0 gt { + text stringwidth pop adj mul 0 rmoveto + } if + [] 0 setdash + text show + grestore +} def + +/boxprim { % xcorner ycorner xsize ysize + 4 2 roll + moveto + 2 copy + exch 0 rlineto + 0 exch rlineto + pop neg 0 rlineto + closepath +} bind def + +/ellipse_path { + /ry exch def + /rx exch def + /y exch def + /x exch def + matrix currentmatrix + newpath + x y translate + rx ry scale + 0 0 1 0 360 arc + setmatrix +} bind def + +/endpage { showpage } bind def + +/layercolorseq + [ % layer color sequence - darkest to lightest + [0 0 0] + [.2 .8 .8] + [.4 .8 .8] + [.6 .8 .8] + [.8 .8 .8] + ] +def + +/setlayer {/maxlayer exch def /curlayer exch def + layercolorseq curlayer get + aload pop sethsbcolor + /nodecolor {nopcolor} def *** DIFF OUTPUT TRUNCATED AT 1000 LINES ***