Add a small vga_switcheroo/apple_gmux manual page.
[dragonfly.git] / share / man / man7 / hier.7
blob04f72b72a3a28f03cf6b15c32e4113ab438729a7
1 .\" Copyright (c) 1990, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)hier.7      8.1 (Berkeley) 6/5/93
29 .\" $FreeBSD: src/share/man/man7/hier.7,v 1.29.2.17 2003/01/13 21:43:50 ceri Exp $
30 .\"
31 .Dd May 3, 2017
32 .Dt HIER 7
33 .Os
34 .Sh NAME
35 .Nm hier
36 .Nd layout of filesystems
37 .Sh DESCRIPTION
38 A sketch of the filesystem hierarchy.
39 .Bl -tag -width ".Pa /modules/"
40 .It Pa /
41 root directory of the filesystem
42 .It Pa /bin/
43 user utilities fundamental to both single-user and multi-user environments
44 .It Pa /boot/
45 programs and configuration files used during operating system bootstrap
46 .Pp
47 .Bl -tag -width ".Pa modules.local/" -compact
48 .It Pa defaults/
49 default bootstrapping configuration files; see
50 .Xr loader.conf 5
51 .It Pa kernel/
52 pure kernel executable (the operating system loaded into memory
53 at boot time) and loadable kernel modules;
54 see
55 .Xr kldstat 8
56 .It Pa modules.local/
57 local loadable kernel modules and wrapped external firmware images; see
58 .Xr firmware 9
59 .El
60 .It Pa /compat/
61 files related to compatibility layers
62 .Pp
63 .Bl -tag -width ".Pa ndis/" -compact
64 .It Pa ndis/
65 firmware for
66 .Xr ndis 4
67 drivers
68 .El
69 .It Pa /dev/
70 block and character device files
71 .Pp
72 .Bl -tag -width ".Pa fd/" -compact
73 .It Pa fd/
74 file descriptor files;
75 see
76 .Xr \&fd 4
77 .El
78 .It Pa /etc/
79 system configuration files and scripts
80 .Pp
81 .Bl -tag -width ".Pa bluetooth/" -compact
82 .It Pa autofs/
83 shell scripts to implement special maps and directory services via
84 .Xr autofs 5
85 .It Pa bluetooth/
86 bluetooth configuration files
87 .It Pa defaults/
88 default system configuration files;
89 see
90 .Xr rc 8
91 .It Pa devd/
92 hardware specific
93 .Xr devd 8
94 configuration files
95 .It Pa dma/
96 .Xr dma 8
97 configuration files
98 .It Pa localtime
99 local timezone information;
101 .Xr ctime 3
102 .It Pa mail/
103 Sendmail control files
104 .It Pa mtree/
105 mtree configuration files;
107 .Xr mtree 8
108 .It Pa pam.d/
109 configuration files for the Pluggable Authentication Modules (PAM)
110 library
111 .It Pa periodic/
112 scripts that are run daily, weekly, and monthly, via
113 .Xr cron 8 ;
115 .Xr periodic 8
116 .It Pa ppp/
117 ppp configuration files;
119 .Xr ppp 8
120 .It Pa rc.d/
121 System and daemon startup/control scripts;
123 .Xr rc 8
124 .It Pa ssh/
125 OpenSSH configuration files;
127 .Xr ssh 1
128 .It Pa ssl/
129 OpenSSL configuration files
130 .It Pa upgrade/
131 Files relevant to system upgrades
133 .It Pa /home/
134 HOME directories of non-root users
135 .It Pa /lib/
136 critical system libraries needed for binaries in
137 .Pa /bin
139 .Pa /sbin
140 .It Pa /libexec/
141 critical system utilities needed for binaries in
142 .Pa /bin
144 .Pa /sbin
145 .It Pa /mnt/
146 empty directory commonly used by
147 system administrators as a temporary mount point
148 .It Pa /net/
149 automounted NFS shares;
151 .Xr auto_master 5
152 .It Pa /pfs/
153 pseudo file system directory (on
154 .Xr hammer 5
155 root file systems)
156 .It Pa /proc/
157 process file system;
159 .Xr procfs 5 ,
160 .Xr mount_procfs 8
161 .It Pa /root/
162 root's HOME directory
163 .It Pa /sbin/
164 system programs and administration utilities
165 fundamental to both single-user and multi-user environments
166 .It Pa /sys/
167 the kernel's source code (usually a symbolic link to
168 .Pa /usr/src/sys )
169 .It Pa /tmp/
170 temporary files that are not guaranteed to persist across system reboots
171 .It Pa /usr/
172 contains the majority of user utilities and applications
174 .Bl -tag -width ".Pa libdata/" -compact
175 .It Pa bin/
176 common utilities, programming tools, and applications
177 .It Pa dports/
180 .Xr dports 7
181 collection (optional).
182 .It Pa games/
183 useful and semi-frivolous programs
184 .It Pa include/
185 standard C include files
187 .Bl -tag -width ".Pa protocols/" -compact
188 .It Pa arpa/
189 C include files for Internet service protocols
190 .It Pa c++/
191 C++ include files
192 .It Pa cam/
193 C include files for the Common Access Methods Layer
195 .Bl -tag -width ".Pa scsi/" -compact
196 .It Pa scsi/
197 The SCSI device on top of CAM
200 .It Pa dev/
201 C include files for programming various
203 devices
204 .It Pa fs/
206 .Bl -tag -width ".Pa autofs/" -compact
207 .It Pa autofs/
208 automounter filesystem
209 .It Pa smbfs/
210 SMB/CIFS filesystem
213 .It Pa isofs/
215 .Bl -tag -width ".Pa cd9660/" -compact
216 .It Pa cd9660/
217 iso9660 filesystem
220 .It Pa libprop/
221 C include files for libprop
222 .It Pa machine/
223 machine-specific C include files
224 .It Pa msdosfs/
225 MS-DOS file system
226 .It Pa net/
227 misc network C include files
228 .It Pa netinet/
229 C include files for Internet standard protocols;
231 .Xr inet 4
232 .It Pa netinet6/
233 C include files for Internet protocol version 6;
235 .Xr inet6 4
236 .It Pa netkey/
237 kernel key-management service
238 .It Pa netsmb/
239 SMB/CIFS requester
240 .It Pa nfs/
241 C include files for NFS (Network File System)
242 .It Pa openssl/
243 OpenSSL (Cryptography/SSL toolkit) headers
244 .It Pa pcap/
245 Packet Capture (libpcap) headers;
247 .Xr pcap 3
248 .It Pa pccard/
249 PC-CARD controllers
250 .It Pa protocols/
251 C include files for Berkeley service protocols
252 .It Pa readline/
253 get a line from a user, with editing;
255 .Xr readline 3
256 .It Pa rpc/
257 remote procedure calls;
259 .Xr rpc 3
260 .It Pa rpcsvc/
261 definition of RPC service structures; see
262 .Xr rpc 3
263 .It Pa security/
264 PAM; see
265 .Xr pam 8
266 .It Pa sys/
267 system C include files (kernel data structures)
268 .It Pa ufs/
269 C include files for UFS (The U-word File System)
271 .Bl -tag -width ".Pa ffs/" -compact
272 .It Pa ffs/
273 Fast filesystem
274 .It Pa mfs/
275 memory file system;
277 .Xr mount_mfs 8
278 .It Pa ufs/
279 UFS filesystem
282 .It Pa vm/
283 virtual memory;
285 .Xr vmstat 8
288 .It Pa lib/
289 archive libraries
291 .Bl -tag -width ".Pa engines/" -compact
292 .It Pa aout/
293 a.out archive libraries
294 .It Pa engines/
295 OpenSSL dynamic engines
298 .It Pa libdata/
299 misc. utility data files
300 .It Pa libexec/
301 system daemons & system utilities (executed by other programs)
303 .Bl -tag -width ".Pa binutils225/" -compact
304 .It Pa binutils225/
306 .Bl -tag -width ".Pa bfd-plugins/" -compact
307 .It Pa bfd-plugins/
308 linker plugins
309 .It Pa ldscripts/
310 linker scripts;
312 .Xr ld 1
315 .It Pa binutils227/
317 .Bl -tag -width ".Pa bfd-plugins/" -compact
318 .It Pa bfd-plugins/
319 linker plugins
320 .It Pa ldscripts/
321 linker scripts;
323 .Xr ld 1
326 .It Pa lpr/
327 utilities and filters for LP print system;
329 .Xr lpr 1
330 .It Pa sm.bin/
331 restricted shell for sendmail;
333 .Xr smrsh 8
336 .It Pa local/
337 local executables, libraries, etc.
338 Also used as the default destination for the
340 .Xr dports 7
341 framework.
342 Within
343 .Pa local/ ,
344 the general layout sketched out by
347 .Pa /usr
348 should be used.
349 Exceptions are the
350 .Pa man
351 directory
352 .Po directly under
353 .Pa local/
354 rather than under
355 .Pa local/share/ Ns Pc ,
356 ports documentation
357 .Po in
358 .Pa share/doc/<port>/ Ns Pc ,
360 .Pa /usr/local/etc
361 .Po mimics
362 .Pa /etc Ns Pc .
363 .It Pa obj/
364 architecture-specific target tree produced by building the
365 .Pa /usr/src
366 tree
367 .It Pa sbin/
368 system daemons & system utilities (executed by users)
369 .It Pa share/
370 architecture-independent files
372 .Bl -tag -width ".Pa groff_font/" -compact
373 .It Pa calendar/
374 a variety of pre-fab calendar files;
376 .Xr calendar 1
377 .It Pa dict/
378 word lists;
380 .Xr look 1
382 .Bl -tag -width ".Pa papers/" -compact
383 .It Pa web2
384 words from Webster's 2nd International
385 .It Pa words
386 common words
387 .It Pa papers/
388 reference databases;
390 .Xr refer 1
393 .It Pa doc/
394 miscellaneous documentation
396 .Bl -tag -width ".Pa legal/" -compact
397 .It Pa legal/
398 License files for vendor supplied firmware
401 .It Pa examples/
402 various examples for users and programmers
403 .It Pa games/
404 ASCII text files used by various games
405 .It Pa groff_font/
406 device description file for device name
407 .It Pa i18n/
408 internationalization databases; see
409 .Xr iconv 3
410 .It Pa info/
411 GNU Info hypertext system
412 .It Pa libg++/
413 libg++'s genclass prototype/template class files
414 .It Pa locale/
415 localization files;
417 .Xr setlocale 3
418 .It Pa man/
419 manual pages
420 .It Pa me/
421 macros for use with the me macro package;
423 .Xr me 7
424 .It Pa misc/
425 misc system-wide ASCII text files
427 .Bl -tag -width ".Pa termcap" -compact
428 .It Pa termcap
429 terminal characteristics database;
431 .Xr termcap 5
434 .It Pa mk/
435 templates for make;
437 .Xr make 1
438 .It Pa nls/
439 national language support files;
441 .Xr nls 7
442 .It Pa openssl/
444 .Bl -tag -width ".Pa man/" -compact
445 .It Pa man/
446 OpenSSL manual pages
449 .It Pa sendmail/
450 sendmail configuration files;
452 .Xr sendmail 8
453 .It Pa skel/
454 example . (dot) files for new accounts
455 .It Pa syscons/
456 files used by
457 .Xr syscons 4
459 .Bl -tag -width ".Pa scrnmaps/" -compact
460 .It Pa fonts/
461 console fonts;
463 .Xr vidcontrol 1
465 .Xr vidfont 1
466 .It Pa keymaps/
467 console keyboard maps;
469 .Xr kbdcontrol 1
471 .Xr kbdmap 1
472 .It Pa scrnmaps/
473 console screen maps
476 .It Pa tabset/
477 tab description files for a variety of terminals; used in
478 the termcap file;
480 .Xr termcap 5
481 .It Pa terminfo/
482 compiled
483 .Xr terminfo 5
484 database files
485 .It Pa tmac/
486 text processing macros;
488 .Xr nroff 1
490 .Xr troff 1
491 .It Pa vi/
492 localization support and utilities for
493 .Xr vi 1
494 .It Pa zoneinfo/
495 timezone configuration information;
497 .Xr tzfile 5
500 .It Pa src/
501 .Bx ,
502 third-party, and/or local source files
504 .Bl -tag -width ".Pa nrelease/" -compact
505 .It Pa bin/
506 source code for files in
507 .Pa /bin
508 .It Pa contrib/
509 source code for contributed software
510 .It Pa crypto/
511 source code for contributed cryptography software
512 .It Pa etc/
513 source code for files in
514 .Pa /etc
515 .It Pa games/
516 source code for files in
517 .Pa /usr/games
518 .It Pa gnu/
519 Utilities covered by the GNU General Public License
520 .It Pa include/
521 source code for files in
522 .Pa /usr/include
523 .It Pa lib/
524 source code for files in
525 .Pa /usr/lib
526 .It Pa libexec/
527 source code for files in
528 .Pa /usr/libexec
529 .It Pa nrelease/
530 files required to produce a
532 release
533 .It Pa sbin/
534 source code for files in
535 .Pa /sbin
536 .It Pa share/
537 source for files in
538 .Pa /usr/share
539 .It Pa sys/
540 kernel source code
541 .It Pa tools/
542 tools used for maintenance and testing of
544 .It Pa usr.bin/
545 source code for files in
546 .Pa /usr/bin
547 .It Pa usr.sbin/
548 source code for files in
549 .Pa /usr/sbin
552 .It Pa /var/
553 multi-purpose log, temporary, transient, and spool files
555 .Bl -tag -width ".Pa preserve/" -compact
556 .It Pa account/
557 system accounting files
559 .Bl -tag -width ".Pa acct" -compact
560 .It Pa acct
561 execution accounting file;
563 .Xr acct 5
566 .It Pa at/
567 timed command scheduling files;
569 .Xr \&at 1
571 .Bl -tag -width ".Pa spool/" -compact
572 .It Pa jobs/
573 directory containing job files
574 .It Pa spool/
575 directory containing output spool files
578 .It Pa backups/
579 misc. backup files
580 .It Pa crash/
581 default directory to store kernel crash dumps; see
582 .Xr crash 8
584 .Xr savecore 8
585 .It Pa cron/
586 files used by cron;
588 .Xr cron 8
590 .Bl -tag -width ".Pa tabs/" -compact
591 .It Pa tabs/
592 crontab files;
594 .Xr crontab 5
597 .It Pa db/
598 misc. automatically generated system-specific database files
599 .It Pa empty/
600 empty directory used by
601 .Xr sshd 8
602 for privilege separation
603 .It Pa games/
604 misc. game status and score files
605 .It Pa hammer/
606 per PFS (pseudo file system) snapshots directory for
607 .Xr hammer 5
608 file systems
609 .It Pa log/
610 misc. system log files
612 .Bl -tag -width ".Pa wtmp" -compact
613 .It Pa wtmp
614 login/logout log;
616 .Xr wtmp 5
619 .It Pa mail/
620 user mailbox files
621 .It Pa msgs/
622 system messages database;
624 .Xr msgs 1
625 .It Pa preserve/
626 temporary home of files preserved after an accidental death
627 of an editor;
629 .Xr \&ex 1
630 .It Pa quotas/
631 filesystem quota information files
632 .It Pa run/
633 system information files describing various info about
634 system since it was booted
636 .Bl -tag -width ".Pa ppp/" -compact
637 .It Pa ppp/
638 writable by the
639 .Dq network
640 group for command connection sockets; see
641 .Xr ppp 8
642 .It Pa utmp
643 database of current users;
645 .Xr utmp 5
646 .It Pa sem/
647 rendez-vous files for posix named semaphores;
649 .Xr sem_open 3
652 .It Pa rwho/
653 rwho data files;
655 .Xr rwhod 8 ,
656 .Xr rwho 1 ,
658 .Xr ruptime 1
659 .It Pa spool/
660 misc. printer and mail system spooling directories
662 .Bl -tag -width ".Pa clientmqueue/" -compact
663 .It Pa clientmqueue/
664 undelivered submission mail queue;
666 .Xr sendmail 8
667 .It Pa dma/
668 undelivered mail queue;
670 .Xr dma 8
671 .It Pa ftp/
672 commonly
673 .Pa ~ftp ;
674 the anonymous ftp root directory
675 .It Pa mqueue/
676 undelivered mail queue;
678 .Xr sendmail 8
679 .It Pa output/
680 line printer spooling directories
683 .It Pa tmp/
684 temporary files that are kept between system reboots
686 .Bl -tag -width ".Pa vi.recover/" -compact
687 .It Pa vi.recover/
688 the directory where recovery files are stored
691 .It Pa yp/
692 the NIS maps
695 .Sh NOTES
696 This manual page documents the default
698 filesystem layout, but
699 the actual hierarchy on a given system is defined at the system
700 administrator's discretion.
701 A well-maintained installation will include a customized version of
702 this document.
703 .Sh SEE ALSO
704 .Xr apropos 1 ,
705 .Xr find 1 ,
706 .Xr finger 1 ,
707 .Xr grep 1 ,
708 .Xr ls 1 ,
709 .Xr whatis 1 ,
710 .Xr whereis 1 ,
711 .Xr which 1 ,
712 .Xr fsck 8
713 .Sh HISTORY
716 manual page appeared in
717 .At v7 .