Remove some old UUCP remains and adjust better to net/freebsd-uucp pkg.
[dragonfly.git] / share / man / man7 / hier.7
blob746cf2ad3d8306d8401c71cefbd57f2b62059405
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 November 24, 2016
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 bluetooth/
83 bluetooth configuration files
84 .It Pa defaults/
85 default system configuration files;
86 see
87 .Xr rc 8
88 .It Pa devd/
89 hardware specific
90 .Xr devd 8
91 configuration files
92 .It Pa dma/
93 .Xr dma 8
94 configuration files
95 .It Pa localtime
96 local timezone information;
97 see
98 .Xr ctime 3
99 .It Pa mail/
100 Sendmail control files
101 .It Pa mtree/
102 mtree configuration files;
104 .Xr mtree 8
105 .It Pa pam.d/
106 configuration files for the Pluggable Authentication Modules (PAM)
107 library
108 .It Pa periodic/
109 scripts that are run daily, weekly, and monthly, via
110 .Xr cron 8 ;
112 .Xr periodic 8
113 .It Pa ppp/
114 ppp configuration files;
116 .Xr ppp 8
117 .It Pa rc.d/
118 System and daemon startup/control scripts;
120 .Xr rc 8
121 .It Pa ssh/
122 OpenSSH configuration files;
124 .Xr ssh 1
125 .It Pa ssl/
126 OpenSSL configuration files
127 .It Pa upgrade/
128 Files relevant to system upgrades
130 .It Pa /home/
131 HOME directories of non-root users
132 .It Pa /lib/
133 critical system libraries needed for binaries in
134 .Pa /bin
136 .Pa /sbin
137 .It Pa /libexec/
138 critical system utilities needed for binaries in
139 .Pa /bin
141 .Pa /sbin
142 .It Pa /mnt/
143 empty directory commonly used by
144 system administrators as a temporary mount point
145 .It Pa /net/
146 automounted NFS shares;
148 .Xr auto_master 5
149 .It Pa /pfs/
150 pseudo file system directory (on
151 .Xr hammer 5
152 root file systems)
153 .It Pa /proc/
154 process file system;
156 .Xr procfs 5 ,
157 .Xr mount_procfs 8
158 .It Pa /root/
159 root's HOME directory
160 .It Pa /sbin/
161 system programs and administration utilities
162 fundamental to both single-user and multi-user environments
163 .It Pa /sys/
164 the kernel's source code (usually a symbolic link to
165 .Pa /usr/src/sys )
166 .It Pa /tmp/
167 temporary files that are not guaranteed to persist across system reboots
168 .It Pa /usr/
169 contains the majority of user utilities and applications
171 .Bl -tag -width ".Pa libdata/" -compact
172 .It Pa bin/
173 common utilities, programming tools, and applications
174 .It Pa dports/
177 .Xr dports 7
178 collection (optional).
179 .It Pa games/
180 useful and semi-frivolous programs
181 .It Pa include/
182 standard C include files
184 .Bl -tag -width ".Pa protocols/" -compact
185 .It Pa arpa/
186 C include files for Internet service protocols
187 .It Pa c++/
188 C++ include files
189 .It Pa cam/
190 C include files for the Common Access Methods Layer
192 .Bl -tag -width ".Pa scsi/" -compact
193 .It Pa scsi/
194 The SCSI device on top of CAM
197 .It Pa dev/
198 C include files for programming various
200 devices
201 .It Pa emulation/
202 Include Files for various emulation layers
203 .It Pa fs/
205 .Bl -tag -width ".Pa smbfs/" -compact
206 .It Pa smbfs/
207 SMB/CIFS filesystem
210 .It Pa isofs/
212 .Bl -tag -width ".Pa cd9660/" -compact
213 .It Pa cd9660/
214 iso9660 filesystem
217 .It Pa libprop/
218 C include files for libprop
219 .It Pa machine/
220 machine-specific C include files
221 .It Pa msdosfs/
222 MS-DOS file system
223 .It Pa net/
224 misc network C include files
225 .It Pa netinet/
226 C include files for Internet standard protocols;
228 .Xr inet 4
229 .It Pa netinet6/
230 C include files for Internet protocol version 6;
232 .Xr inet6 4
233 .It Pa netkey/
234 kernel key-management service
235 .It Pa netsmb/
236 SMB/CIFS requester
237 .It Pa nfs/
238 C include files for NFS (Network File System)
239 .It Pa openssl/
240 OpenSSL (Cryptography/SSL toolkit) headers
241 .It Pa pcap/
242 Packet Capture (libpcap) headers;
244 .Xr pcap 3
245 .It Pa pccard/
246 PC-CARD controllers
247 .It Pa protocols/
248 C include files for Berkeley service protocols
249 .It Pa readline/
250 get a line from a user, with editing;
252 .Xr readline 3
253 .It Pa rpc/
254 remote procedure calls;
256 .Xr rpc 3
257 .It Pa rpcsvc/
258 definition of RPC service structures; see
259 .Xr rpc 3
260 .It Pa security/
261 PAM; see
262 .Xr pam 8
263 .It Pa sys/
264 system C include files (kernel data structures)
265 .It Pa ufs/
266 C include files for UFS (The U-word File System)
268 .Bl -tag -width ".Pa ffs/" -compact
269 .It Pa ffs/
270 Fast filesystem
271 .It Pa mfs/
272 memory file system;
274 .Xr mount_mfs 8
275 .It Pa ufs/
276 UFS filesystem
279 .It Pa vm/
280 virtual memory;
282 .Xr vmstat 8
285 .It Pa lib/
286 archive libraries
288 .Bl -tag -width ".Pa engines/" -compact
289 .It Pa aout/
290 a.out archive libraries
291 .It Pa engines/
292 OpenSSL dynamic engines
295 .It Pa libdata/
296 misc. utility data files
297 .It Pa libexec/
298 system daemons & system utilities (executed by other programs)
300 .Bl -tag -width ".Pa binutils225/" -compact
301 .It Pa binutils225/
303 .Bl -tag -width ".Pa bfd-plugins/" -compact
304 .It Pa bfd-plugins/
305 linker plugins
306 .It Pa ldscripts/
307 linker scripts;
309 .Xr ld 1
312 .It Pa binutils227/
314 .Bl -tag -width ".Pa bfd-plugins/" -compact
315 .It Pa bfd-plugins/
316 linker plugins
317 .It Pa ldscripts/
318 linker scripts;
320 .Xr ld 1
323 .It Pa lpr/
324 utilities and filters for LP print system;
326 .Xr lpr 1
327 .It Pa sm.bin/
328 restricted shell for sendmail;
330 .Xr smrsh 8
333 .It Pa local/
334 local executables, libraries, etc.
335 Also used as the default destination for the
337 .Xr dports 7
338 framework.
339 Within
340 .Pa local/ ,
341 the general layout sketched out by
344 .Pa /usr
345 should be used.
346 Exceptions are the
347 .Pa man
348 directory
349 .Po directly under
350 .Pa local/
351 rather than under
352 .Pa local/share/ Ns Pc ,
353 ports documentation
354 .Po in
355 .Pa share/doc/<port>/ Ns Pc ,
357 .Pa /usr/local/etc
358 .Po mimics
359 .Pa /etc Ns Pc .
360 .It Pa obj/
361 architecture-specific target tree produced by building the
362 .Pa /usr/src
363 tree
364 .It Pa sbin/
365 system daemons & system utilities (executed by users)
366 .It Pa share/
367 architecture-independent files
369 .Bl -tag -width ".Pa groff_font/" -compact
370 .It Pa calendar/
371 a variety of pre-fab calendar files;
373 .Xr calendar 1
374 .It Pa dict/
375 word lists;
377 .Xr look 1
379 .Bl -tag -width ".Pa papers/" -compact
380 .It Pa web2
381 words from Webster's 2nd International
382 .It Pa words
383 common words
384 .It Pa papers/
385 reference databases;
387 .Xr refer 1
390 .It Pa doc/
391 miscellaneous documentation
393 .Bl -tag -width ".Pa legal/" -compact
394 .It Pa legal/
395 License files for vendor supplied firmware
398 .It Pa examples/
399 various examples for users and programmers
400 .It Pa games/
401 ASCII text files used by various games
402 .It Pa groff_font/
403 device description file for device name
404 .It Pa i18n/
405 internationalization databases; see
406 .Xr iconv 3
407 .It Pa info/
408 GNU Info hypertext system
409 .It Pa libg++/
410 libg++'s genclass prototype/template class files
411 .It Pa locale/
412 localization files;
414 .Xr setlocale 3
415 .It Pa man/
416 manual pages
417 .It Pa me/
418 macros for use with the me macro package;
420 .Xr me 7
421 .It Pa misc/
422 misc system-wide ASCII text files
424 .Bl -tag -width ".Pa termcap" -compact
425 .It Pa termcap
426 terminal characteristics database;
428 .Xr termcap 5
431 .It Pa mk/
432 templates for make;
434 .Xr make 1
435 .It Pa nls/
436 national language support files;
438 .Xr nls 7
439 .It Pa openssl/
441 .Bl -tag -width ".Pa man/" -compact
442 .It Pa man/
443 OpenSSL manual pages
446 .It Pa sendmail/
447 sendmail configuration files;
449 .Xr sendmail 8
450 .It Pa skel/
451 example . (dot) files for new accounts
452 .It Pa syscons/
453 files used by
454 .Xr syscons 4
456 .Bl -tag -width ".Pa scrnmaps/" -compact
457 .It Pa fonts/
458 console fonts;
460 .Xr vidcontrol 1
462 .Xr vidfont 1
463 .It Pa keymaps/
464 console keyboard maps;
466 .Xr kbdcontrol 1
468 .Xr kbdmap 1
469 .It Pa scrnmaps/
470 console screen maps
473 .It Pa tabset/
474 tab description files for a variety of terminals; used in
475 the termcap file;
477 .Xr termcap 5
478 .It Pa terminfo/
479 compiled
480 .Xr terminfo 5
481 database files
482 .It Pa tmac/
483 text processing macros;
485 .Xr nroff 1
487 .Xr troff 1
488 .It Pa vi/
489 localization support and utilities for
490 .Xr vi 1
491 .It Pa zoneinfo/
492 timezone configuration information;
494 .Xr tzfile 5
497 .It Pa src/
498 .Bx ,
499 third-party, and/or local source files
501 .Bl -tag -width ".Pa nrelease/" -compact
502 .It Pa bin/
503 source code for files in
504 .Pa /bin
505 .It Pa contrib/
506 source code for contributed software
507 .It Pa crypto/
508 source code for contributed cryptography software
509 .It Pa etc/
510 source code for files in
511 .Pa /etc
512 .It Pa games/
513 source code for files in
514 .Pa /usr/games
515 .It Pa gnu/
516 Utilities covered by the GNU General Public License
517 .It Pa include/
518 source code for files in
519 .Pa /usr/include
520 .It Pa lib/
521 source code for files in
522 .Pa /usr/lib
523 .It Pa libexec/
524 source code for files in
525 .Pa /usr/libexec
526 .It Pa nrelease/
527 files required to produce a
529 release
530 .It Pa sbin/
531 source code for files in
532 .Pa /sbin
533 .It Pa share/
534 source for files in
535 .Pa /usr/share
536 .It Pa sys/
537 kernel source code
538 .It Pa tools/
539 tools used for maintenance and testing of
541 .It Pa usr.bin/
542 source code for files in
543 .Pa /usr/bin
544 .It Pa usr.sbin/
545 source code for files in
546 .Pa /usr/sbin
549 .It Pa /var/
550 multi-purpose log, temporary, transient, and spool files
552 .Bl -tag -width ".Pa preserve/" -compact
553 .It Pa account/
554 system accounting files
556 .Bl -tag -width ".Pa acct" -compact
557 .It Pa acct
558 execution accounting file;
560 .Xr acct 5
563 .It Pa at/
564 timed command scheduling files;
566 .Xr \&at 1
568 .Bl -tag -width ".Pa spool/" -compact
569 .It Pa jobs/
570 directory containing job files
571 .It Pa spool/
572 directory containing output spool files
575 .It Pa backups/
576 misc. backup files
577 .It Pa crash/
578 default directory to store kernel crash dumps; see
579 .Xr crash 8
581 .Xr savecore 8
582 .It Pa cron/
583 files used by cron;
585 .Xr cron 8
587 .Bl -tag -width ".Pa tabs/" -compact
588 .It Pa tabs/
589 crontab files;
591 .Xr crontab 5
594 .It Pa db/
595 misc. automatically generated system-specific database files
596 .It Pa empty/
597 empty directory used by
598 .Xr sshd 8
599 for privilege separation
600 .It Pa games/
601 misc. game status and score files
602 .It Pa hammer/
603 per PFS (pseudo file system) snapshots directory for
604 .Xr hammer 5
605 file systems
606 .It Pa log/
607 misc. system log files
609 .Bl -tag -width ".Pa wtmp" -compact
610 .It Pa wtmp
611 login/logout log;
613 .Xr wtmp 5
616 .It Pa mail/
617 user mailbox files
618 .It Pa msgs/
619 system messages database;
621 .Xr msgs 1
622 .It Pa preserve/
623 temporary home of files preserved after an accidental death
624 of an editor;
626 .Xr \&ex 1
627 .It Pa quotas/
628 filesystem quota information files
629 .It Pa run/
630 system information files describing various info about
631 system since it was booted
633 .Bl -tag -width ".Pa ppp/" -compact
634 .It Pa ppp/
635 writable by the
636 .Dq network
637 group for command connection sockets; see
638 .Xr ppp 8
639 .It Pa utmp
640 database of current users;
642 .Xr utmp 5
643 .It Pa sem/
644 rendez-vous files for posix named semaphores;
646 .Xr sem_open 3
649 .It Pa rwho/
650 rwho data files;
652 .Xr rwhod 8 ,
653 .Xr rwho 1 ,
655 .Xr ruptime 1
656 .It Pa spool/
657 misc. printer and mail system spooling directories
659 .Bl -tag -width ".Pa clientmqueue/" -compact
660 .It Pa clientmqueue/
661 undelivered submission mail queue;
663 .Xr sendmail 8
664 .It Pa dma/
665 undelivered mail queue;
667 .Xr dma 8
668 .It Pa ftp/
669 commonly
670 .Pa ~ftp ;
671 the anonymous ftp root directory
672 .It Pa mqueue/
673 undelivered mail queue;
675 .Xr sendmail 8
676 .It Pa output/
677 line printer spooling directories
680 .It Pa tmp/
681 temporary files that are kept between system reboots
683 .Bl -tag -width ".Pa vi.recover/" -compact
684 .It Pa vi.recover/
685 the directory where recovery files are stored
688 .It Pa yp/
689 the NIS maps
692 .Sh NOTES
693 This manual page documents the default
695 filesystem layout, but
696 the actual hierarchy on a given system is defined at the system
697 administrator's discretion.
698 A well-maintained installation will include a customized version of
699 this document.
700 .Sh SEE ALSO
701 .Xr apropos 1 ,
702 .Xr find 1 ,
703 .Xr finger 1 ,
704 .Xr grep 1 ,
705 .Xr ls 1 ,
706 .Xr whatis 1 ,
707 .Xr whereis 1 ,
708 .Xr which 1 ,
709 .Xr fsck 8
710 .Sh HISTORY
713 manual page appeared in
714 .At v7 .