1 FILESYSTEM(5) Standards, Environments, and Macros FILESYSTEM(5) 2 3 4 5 NAME 6 filesystem - File system organization 7 8 SYNOPSIS 9 / 10 11 12 /usr 13 14 15 DESCRIPTION 16 The file system tree is organized for administrative convenience. 17 Distinct areas within the file system tree are provided for files that 18 are private to one machine, files that can be shared by multiple 19 machines of a common platform, files that can be shared by all 20 machines, and home directories. This organization allows sharable files 21 to be stored on one machine but accessed by many machines using a 22 remote file access mechanism such as NFS. Grouping together similar 23 files makes the file system tree easier to upgrade and manage. 24 25 26 The file system tree consists of a root file system and a collection of 27 mountable file systems. The mount(2) program attaches mountable file 28 systems to the file system tree at mount points (directory entries) in 29 the root file system or other previously mounted file systems. Two file 30 systems, / (the root) and /usr, must be mounted and /var must be 31 accessible to have a functional system. The root file system is mounted 32 automatically by the kernel at boot time; the /usr file system is 33 mounted by the system start-up script, which is run as part of the 34 booting process. /var can be mounted as its own file system or be part 35 of /usr, as it is by default. 36 37 38 Certain locations, noted below, are approved installation locations for 39 bundled Foundation Solaris software. In some cases, the approved 40 locations for bundled software are also approved locations for add-on 41 system software or for applications. The following descriptions make 42 clear where the two locations differ. For example, /etc is the 43 installation location for platform-dependent configuration files that 44 are bundled with Solaris software. The analogous location for 45 applications is /etc/opt/packagename. 46 47 48 In the following descriptions, subsystem is a category of application 49 or system software, such as a window system (dt) or a language 50 (java1.2) 51 52 53 The following descriptions make use of the terms platform, platform- 54 dependent, platform-independent, and platform-specific. Platform refers 55 to a machines Instruction Set Architecture or processor type, such as 56 is returned by uname -i. Platform-dependent refers to a file that is 57 installed on all platforms and whose contents vary depending on the 58 platform. Like a platform-dependent file, a platform-independent file 59 is installed on all platforms. However, the contents of the latter type 60 remains the same on all platforms. An example of a platform-dependent 61 file is compiled, executable program. An example of a platform- 62 independent file is a standard configuration file, such as /etc/hosts. 63 Unlike a platform-dependent or a platform-independent file, the 64 platform-specific file is installed only on a subset of supported 65 platforms. Most platform-specific files are gathered under /platform 66 and /usr/platform. 67 68 69 In the following file or directory descriptions, GNOME stands for GNU 70 Network Object Model Environment. The GNOME Desktop is shipped with the 71 Solaris operating system. 72 73 Root File System 74 The root file system contains files that are unique to each machine. It 75 contains the following directories: 76 77 / 78 79 Root of the overall file system name space. 80 81 82 /dev 83 84 Primary location for special files. Typically, device files are 85 built to match the kernel and hardware configuration of the 86 machine. 87 88 89 /dev/cfg 90 91 Symbolic links to physical ap_ids. 92 93 94 /dev/cpu 95 96 Provides configuration and capability information about the 97 processor type 98 99 100 /dev/cua 101 102 Device files for uucp. 103 104 105 /dev/dsk 106 107 Block disk devices. 108 109 110 /dev/dtrace 111 112 Pseudo-devices used by the DTrace framework. 113 114 115 /dev/dtrace/provider 116 117 Pseudo-device drivers representing instrumentation providers for 118 the DTrace framework. 119 120 121 /dev/fbs 122 123 Frame buffer device files. 124 125 126 /dev/fd 127 128 File descriptors. 129 130 131 /dev/md 132 133 Logical volume management meta-disk devices. 134 135 136 /dev/net 137 138 Network data-link interface devices. 139 140 141 /dev/printers 142 143 USB printer device files. 144 145 146 /dev/pts 147 148 Pseudo-terminal devices. 149 150 151 /dev/rdsk 152 153 Raw disk devices. 154 155 156 /dev/rmt 157 158 Raw tape devices. 159 160 161 /dev/sad 162 163 Entry points for the STREAMS Administrative driver. 164 165 166 /dev/sound 167 168 Audio device and audio device control files. 169 170 171 /dev/swap 172 173 Default swap device. 174 175 176 /dev/term 177 178 Terminal devices. 179 180 181 /devices 182 183 Physical device files. 184 185 186 /etc 187 188 Platform-dependent administrative and configuration files and 189 databases that are not shared among systems. /etc may be viewed as 190 the directory that defines the machine's identity. An approved 191 installation location for bundled Solaris software. The analogous 192 location for add-on system software or for applications is 193 /etc/opt/packagename. 194 195 196 /etc/X11 197 198 Xorg Xserver (X11) configuration files. 199 200 201 /etc/acct 202 203 Accounting system configuration information. 204 205 206 /etc/apache 207 208 Apache configuration files. 209 210 211 /etc/apoc 212 213 Files for configuring Sun Java Desktop System Configuration Manager 214 remote access. 215 216 217 /etc/bonobo-activation 218 219 GNOME XML configuration file for identifying CORBA servers. 220 221 222 /etc/cron.d 223 224 Configuration information for cron(1M). 225 226 227 /etc/dat 228 229 Contains a list of interface adapters supported by uDAPL service 230 providers. 231 232 233 /etc/default 234 235 Defaults information for various programs. 236 237 238 /etc/devices 239 240 Contains device-related data. 241 242 243 /etc/dfs 244 245 Configuration information for shared file systems. 246 247 248 /etc/dhcp 249 250 Dynamic Host Configuration Protocol (DHCP) configuration files. 251 252 253 /etc/dmi 254 255 Solstice Enterprise Agents configuration files. 256 257 258 /etc/dt 259 260 Desktop configuration files. 261 262 263 /etc/flash 264 265 Solaris Flash Archive configuration files. 266 267 268 /etc/fm 269 270 Fault manager configuration files. For more information, see 271 fmd(1M). 272 273 274 /etc/fonts 275 276 Font configuration information. 277 278 279 /etc/fs 280 281 Binaries organized by file system types for operations required 282 before /usr is mounted. 283 284 285 /etc/ftpd 286 287 ftpd configuration files. 288 289 290 /etc/gconf 291 292 GConf system configuration (including system defaults and system 293 mandatory settings) 294 295 296 /etc/gimp 297 298 GNU Image Manipulation Program (GIMP) configuration files. 299 300 301 /etc/gnome 302 303 GNOME Desktop configuration files. 304 305 306 /etc/gnome-vfs-2.0 307 308 Files for customizing GNOME 2.0 desktop menus. 309 310 311 /etc/gnopernicus-1.0 312 313 Configuration files for GNOME's Gnopernicus, an Assistive 314 Technology (AT) screen reader. 315 316 317 /etc/gss 318 319 Generic Security Service (GSS) Application Program Interface 320 configuration files. 321 322 323 /etc/gtk 324 325 GTK+ configuration files 326 327 328 /etc/gtk-2.0 329 330 GTK+ Pixbuf loaders and Input Method modules 331 332 333 /etc/imq 334 335 Sun Java System Message Queue security configuration files. 336 337 338 /etc/inet 339 340 Configuration files for Internet services. 341 342 343 /etc/init.d 344 345 Shell scripts for transitioning between run levels. 346 347 348 /etc/krb5 349 350 Kerberos configuration files. 351 352 353 /etc/lib 354 355 Shared libraries needed during booting. 356 357 358 /etc/llc2 359 360 Logical link control (llc2) driver configuration files. 361 362 363 /etc/lp 364 365 Configuration information for the printer subsystem. 366 367 368 /etc/lvm 369 370 Solaris Logical Volume Manager configuration files. 371 372 373 /etc/mail 374 375 Mail subsystem configuration. 376 377 378 /etc/nca 379 380 Solaris Network Cache and Accelerator (NCA) configuration files. 381 382 383 /etc/net 384 385 Configuration information for transport independent network 386 services. 387 388 389 /etc/nfs 390 391 NFS server logging configuration file. 392 393 394 /etc/opt 395 396 Configuration information for optional packages. 397 398 399 /etc/pango 400 401 Pango configuration and module information. 402 403 404 /etc/patch 405 406 Configuration files for patch management. 407 408 409 /etc/ppp 410 411 Solaris PPP configuration files. 412 413 414 /etc/rc0.d 415 416 Scripts for entering or leaving run level 0. See init(1M). 417 418 419 /etc/rc1.d 420 421 Scripts for entering or leaving run level 1. See init(1M). 422 423 424 /etc/rc2.d 425 426 Scripts for entering or leaving run level 2. See init(1M). 427 428 429 /etc/rc3.d 430 431 Scripts for entering or leaving run level 3. See init(1M). 432 433 434 /etc/rcS.d 435 436 Scripts for bringing the system up in single user mode. 437 438 439 /etc/rcm 440 441 Directory for reconfiguration manager (RCM) custom scripts. 442 443 444 /etc/rpcsec 445 446 This directory might contain an NIS+ authentication configuration 447 file. 448 449 450 /etc/saf 451 452 Service Access Facility files. 453 454 455 /etc/sasl 456 457 Simple Authentication and Security Layer (SASL) server 458 configuration files. 459 460 461 /etc/security 462 463 Solaris-delivered security configuration files (Audit, RBAC, 464 crypto, Trusted Extensions). 465 466 467 /etc/sfw 468 469 Platform-dependent administrative, configuration files and 470 databases for subsystems from /usr/sfw that are not shared among 471 systems. 472 473 474 /etc/sfw/samba 475 476 Samba configuration files. 477 478 479 /etc/skel 480 481 Default profile scripts for new user accounts. See useradd(1M). 482 483 484 /etc/sma 485 486 Systems Management Agent (SMA) configuration files. 487 488 489 /etc/smartcard 490 491 Solaris Smart Card configuration files. 492 493 494 /etc/snmp 495 496 Solstice Enterprise Agents configuration files. 497 498 499 /etc/sound 500 501 Sound Events configuration files. 502 503 504 /etc/ssh 505 506 Secure Shell configuration files. See ssh(1) 507 508 509 /etc/svc 510 511 SMF service repository. 512 513 514 /etc/sysevent 515 516 syseventd configuration files. 517 518 519 /etc/subsystem 520 521 Platform-dependent subsystem configuration files that are not 522 shared among systems. An approved installation location for bundled 523 Solaris software. The analogous location for add-on system 524 software or for applications is /etc/opt/packagename. 525 526 527 /etc/tm 528 529 Trademark files; contents displayed at boot time. 530 531 532 /etc/usb 533 534 USB configuration information. 535 536 537 /etc/uucp 538 539 UUCP configuration information. See uucp(1C). 540 541 542 /etc/xml 543 544 Extensible Markup Language (XML) catalog. 545 546 547 /etc/zones 548 549 Solaris Zones configuration files. 550 551 552 /export 553 554 Default root of the shared file system tree. 555 556 557 /home 558 559 Default root of a subtree for user directories. 560 561 562 /kernel 563 564 Subtree of platform-dependent loadable kernel modules required as 565 part of the boot process. It includes the generic part of the core 566 kernel that is platform-independent, /kernel/genunix. See 567 kernel(1M) An approved installation location for bundled Solaris 568 software and for add-on system software. 569 570 571 /kernel/drv 572 573 32-bit x86 device drivers. 574 575 576 /kernel/drv/sparcv9 577 578 64-bit SPARC device drivers. 579 580 581 /kernel/drv/amd64 582 583 64-bit device drivers for 64-bit x86 platforms. 584 585 586 /kernel/dtrace 587 588 Kernel modules representing components in the DTrace framework. 589 590 591 /kernel/genunix 592 593 Platform-independent kernel. 594 595 596 /kernel/amd64/genunix 597 598 64-bit, platform-independent kernel. 599 600 601 /kernel/subsystem/amd64 602 603 64-bit x86 platform-dependent modules required for boot. An 604 approved installation location for bundled Solaris software and for 605 add-on system software. 606 607 608 /kernel/subsystem/sparcv9 609 610 64-bit SPARC platform-dependent modules required for boot. An 611 approved installation location for bundled Solaris software and for 612 add-on system software. 613 614 615 /lib/svc/manifest 616 617 SMF method scripts. An approved installation location for bundled 618 Solaris software. The analogous location for add-on system software 619 or for applications is /opt/packagename/lib/svc/manifest. 620 621 622 /mnt 623 624 Default temporary mount point for file systems. This is an empty 625 directory on which file systems can be temporarily mounted. 626 627 628 /net 629 630 Temporary mount point for file systems that are mounted by the 631 automounter. 632 633 634 /opt 635 636 Root of a subtree for add-on application packages. 637 638 639 /platform 640 641 Subtree of platform-specific objects which need to reside on the 642 root filesystem. It contains a series of directories, one per 643 supported platform. The semantics of the series of directories is 644 equivalent to / (root). 645 646 647 /platform/`uname -i`/kernel 648 649 Platform-specific modules required for boot. These modules have 650 semantics equivalent to /kernel. It includes the file unix, the 651 core kernel. See kernel(1M). An approved installation location for 652 bundled Solaris software and for add-on system software. 653 654 655 /platform/`uname -m`/kernel 656 657 Hardware class-specific modules required for boot. An approved 658 installation location for bundled Solaris software and for add-on 659 system software. 660 661 662 /platform/`uname -i`/kernel/subsystem/amd64 663 664 x86 64-bit, platform-dependent modules required for boot. This is 665 an approved installation location for bundled Solaris software. 666 667 668 /platform/`uname -i`/kernel/subsystem/sparcv9 669 670 SPARC 64-bit platform-specific modules required for boot. An 671 approved installation location for bundled Solaris software. 672 673 674 /platform/`uname -i`/kernel/sparcv9/unix 675 676 64-bit platform-dependent kernel. 677 678 679 /platform/`uname -i`/kernel/unix 680 681 32-bit platform-dependent kernel on i86 and a symlink to 682 sparcv9/unix on SPARC. 683 684 685 /platform/`uname -i`/lib 686 687 Platform-specific shared objects required for boot. Semantics are 688 equivalent to /lib. An approved installation location for bundled 689 Solaris software and for add-on system software. 690 691 692 /platform/`uname -i`/sbin 693 694 Platform-specific administrative utilities required for boot. 695 Semantics are equivalent to /sbin. An approved installation 696 location for bundled Solaris software and for add-on system 697 software. 698 699 700 /proc 701 702 Root of a subtree for the process file system. 703 704 705 /sbin 706 707 Essential executables used in the booting process and in manual 708 system recovery. The full complement of utilities is available only 709 after /usr is mounted. /sbin is an approved installation location 710 for bundled Solaris software. 711 712 713 /system 714 715 Mount point for the contract (CTFS) and object (OBJFS) file 716 systems. 717 718 719 /tmp 720 721 Temporary files; cleared during the boot operation. 722 723 724 /usr 725 726 Mount point for the /usr file system. See description of /usr file 727 system, below. 728 729 730 /var 731 732 Root of a subtree for varying files. Varying files are files that 733 are unique to a machine but that can grow to an arbitrary (that is, 734 variable) size. An example is a log file. An approved installation 735 location for bundled Solaris software. The analogous location for 736 add-on system software or for applications is /var/opt/packagename. 737 738 739 /var/adm 740 741 System logging and accounting files. 742 743 744 /var/apache 745 746 Scripts, icons, logs, and cache pages for Apache web server. 747 748 749 /var/appserver 750 751 Sun Java System Application Server administrative domain files. 752 753 754 /var/audit 755 756 Default location for Solaris Audit log files. 757 758 759 /var/cores 760 761 Directory provided for global core files storage. 762 763 764 /var/crash 765 766 Default depository for kernel crash dumps. 767 768 769 /var/cron 770 771 Log files for cron(1M). 772 773 774 /var/dmi 775 776 Solstice Enterprise Agents (SEA) Desktop Management Interface (DMI) 777 run-time components. 778 779 780 /var/dt 781 782 dtlogin configuration files. 783 784 785 /var/fm 786 787 Fault manager state files. For more information, see fmd(1M). 788 789 790 /var/imq 791 792 Message queue broker instance configuration file. 793 794 795 /var/ftp 796 797 FTP server directory. 798 799 800 /var/inet 801 802 IPv6 router state files. 803 804 805 /var/krb5 806 807 Database and log files for Kerberos. 808 809 810 /var/ld 811 812 Configuration files for runtime linker. 813 814 815 /var/ldap 816 817 LDAP client configuration files. 818 819 820 /var/lib 821 822 Directory for variable state information. 823 824 825 /var/log 826 827 System log files. 828 829 830 /var/lp 831 832 Line printer subsystem logging information. 833 834 835 /var/mail 836 837 Directory where users' mail is kept. 838 839 840 /var/mysql 841 842 Dynamic database directory for MySQL Database Management System. 843 844 845 /var/news 846 847 Community service messages. This is not the same as USENET-style 848 news. 849 850 851 /var/nfs 852 853 NFS server log files. 854 855 856 /var/nis 857 858 NIS+ databases. 859 860 861 /var/ntp 862 863 Network Time Protocol (NTP) server state directory. 864 865 866 /var/opt 867 868 Root of a subtree for varying files associated with optional 869 software packages. An approved installation location for add-on 870 system software and applications. 871 872 873 /var/patchsrv 874 875 Patch management log files. 876 877 878 /var/preserve 879 880 Backup files for vi(1) and ex(1). 881 882 883 /var/run 884 885 Temporary files which are not needed across reboots. Only root may 886 modify the contents of this directory. 887 888 889 /var/sadm 890 891 Databases maintained by the software package management utilities. 892 893 894 /var/sadm/system/logs 895 896 Status log files produced by software management functions and/or 897 applications. For example, log files produced for product 898 installation. An approved installation location for bundled Solaris 899 software and for add-on system software and applications. 900 901 902 /var/saf 903 904 Service access facility logging and accounting files. 905 906 907 /var/samba 908 909 Log and lock files for Samba. 910 911 912 /var/sma_snmp 913 914 Systems Management Agent (SMA) security and MIB component 915 information. 916 917 918 /var/snmp 919 920 SNMP status and configuration information. 921 922 923 /var/spool 924 925 Contains directories for files used in printer spooling, mail 926 delivery, cron(1M), at(1), and so forth. 927 928 929 /var/spool/clientmqueue 930 931 sendmail(1M) client files. 932 933 934 /var/spool/cron 935 936 cron(1M) and at(1) spooling files. 937 938 939 /var/spool/locks 940 941 Spooling lock files. 942 943 944 /var/spool/lp 945 946 Line printer spool files. See lp(1). 947 948 949 /var/spool/mqueue 950 951 Mail queued for delivery. 952 953 954 /var/spool/pkg 955 956 Spooled packages. 957 958 959 /var/spool/print 960 961 LP print service client-side request staging area. 962 963 964 /var/spool/samba 965 966 Samba print queue. 967 968 969 /var/spool/uucp 970 971 Queued uucp(1C) jobs. 972 973 974 /var/spool/uucppublic 975 976 Files deposited by uucp(1C). 977 978 979 /var/statmon 980 981 Network status monitor files. 982 983 984 /var/svc/log 985 986 SMF log files. 987 988 989 /var/svc/manifest 990 991 SMF service manifests. An approved installation location for 992 bundled, add-on system software and applications. 993 994 995 /var/svc/manifest/site 996 997 Site-local SMF service manifests. 998 999 1000 /var/tmp 1001 1002 Files that vary in size or presence during normal system 1003 operations. This directory is not cleared during the boot 1004 operation. An approved installation location for bundled Solaris 1005 software and for add-on system software and applications. 1006 1007 It is possible to change the default behavior for /var/tmp to clear 1008 all of the files except editor temporary files by setting the 1009 clean_vartmp property value of the rmtmpfiles service. This is done 1010 with the following commands: 1011 1012 # svccfg -s svc:/system/rmtmpfiles setprop \ 1013 options/clean_vartmp = "true" 1014 # svcadm refresh svc:/system/rmtmpfiles:default 1015 1016 1017 The solaris.smf.value.rmtmpfiles authorization is required to 1018 modify this property. 1019 1020 1021 /var/uucp 1022 1023 uucp(1C) log and status files. 1024 1025 1026 /var/yp 1027 1028 Databases needed for backwards compatibility with NIS and 1029 ypbind(1M); unnecessary after full transition to NIS+. 1030 1031 1032 /usr File System 1033 Because it is desirable to keep the root file system small and not 1034 volatile, on disk-based systems larger file systems are often mounted 1035 on /home, /opt, /usr, and /var. 1036 1037 1038 The file system mounted on /usr contains platform-dependent and 1039 platform-independent sharable files. The subtree rooted at /usr/share 1040 contains platform-independent sharable files; the rest of the /usr tree 1041 contains platform-dependent files. By mounting a common remote file 1042 system, a group of machines with a common platform may share a single 1043 /usr file system. A single /usr/share file system can be shared by 1044 machines of any platform. A machine acting as a file server can share 1045 many different /usr file systems to support several different 1046 architectures and operating system releases. Clients usually mount /usr 1047 read-only so that they do not accidentally change any shared files. 1048 1049 1050 The /usr file system contains the following subdirectories: 1051 1052 /usr/4lib 1053 1054 a.out libraries for the Binary Compatibility Package. 1055 1056 1057 /usr/5bin 1058 1059 Symbolic link to the /usr/bin directory. 1060 1061 1062 /usr/SUNWale 1063 1064 Configuration files for Asian Lanuguage Environment (ALE). 1065 1066 1067 /usr/X 1068 1069 Symbolic link to the /usr/openwin directory. 1070 1071 1072 /usr/X11 1073 1074 Xorg Xserver (X11) executables and documentation. 1075 1076 1077 /usr/adm 1078 1079 Symbolic link to the /var/adm directory. 1080 1081 1082 /usr/apache 1083 1084 Apache executables, loadable modules, and documentation. 1085 1086 1087 /usr/appserver 1088 1089 Sun Java System Application Server software. 1090 1091 1092 /usr/benchmarks 1093 1094 Directory for benchmarks. 1095 1096 1097 /usr/bin 1098 1099 Platform-dependent, user-invoked executables. These are commands 1100 users expect to be run as part of their normal $PATH. For 1101 executables that are different on a 64-bit system than on a 32-bit 1102 system, a wrapper that selects the appropriate executable is placed 1103 here. See isaexec(3C). An approved installation location for 1104 bundled Solaris software. The analogous location for add-on system 1105 software or for applications is /opt/packagename/bin. 1106 1107 1108 /usr/bin/amd64 1109 1110 x86 64-bit, platform-dependent, user-invoked executables. This 1111 directory should not be part of a user's $PATH. A wrapper in 1112 /usr/bin should invoke the executable in this directory. See 1113 isaexec(3C). An approved installation location for bundled Solaris 1114 software. The analogous location for add-on system software or for 1115 applications is /opt/packagename/bin/amd64. 1116 1117 1118 /usr/bin/sparcv9 1119 1120 SPARC platform-dependent, user-invoked executables. This directory 1121 should not be part of a user's $PATH. A wrapper in /usr/bin should 1122 invoke the executable in this directory. See isaexec(3C). An 1123 approved installation location for bundled Solaris software. The 1124 analogous location for add-on system software or for applications 1125 is /opt/packagename/bin/sparcv9. 1126 1127 1128 /usr/bin/subsystem 1129 1130 Platform-dependent user-invoked executables that are associated 1131 with subsystem. These are commands users expect to be run as part 1132 of their normal $PATH. An approved installation location for 1133 bundled Solaris software. The analogous location for add-on system 1134 software or for applications is /opt/packagename/bin. 1135 1136 1137 /usr/subsystem/bin 1138 1139 Platform-dependent user-invoked executables that are associated 1140 with subsystem. These are commands users expect to be run as part 1141 of their normal $PATH. An approved installation location for 1142 bundled Solaris software. The analogous location for add-on system 1143 software or for applications is /opt/packagename/bin. 1144 1145 1146 /usr/subsystem/bin/amd64 1147 1148 x86 64-bit, platform-dependent, user-invoked executables. This 1149 directory should not be part of a user's $PATH. A wrapper in 1150 /usr/bin should invoke the executable in this directory. See 1151 isaexec(3C). An approved installation location for bundled Solaris 1152 software. The analogous location for add-on system software or for 1153 applications is /opt/packagename/bin/amd64. 1154 1155 1156 /usr/subsystem/bin/sparcv9 1157 1158 SPARC 64-bit, platform-dependent, user-invoked executables. This 1159 directory should not be part of a user's $PATH. A wrapper in 1160 /usr/bin should invoke the executable in this directory. See 1161 isaexec(3C). An approved installation location for bundled Solaris 1162 software. The analogous location for add-on system software or for 1163 applications is /opt/packagename/bin/sparcv9. 1164 1165 1166 /usr/ccs 1167 1168 C compilation system. 1169 1170 1171 /usr/ccs/bin 1172 1173 C compilation commands and system utilities. 1174 1175 1176 /usr/ccs/lib 1177 1178 Symbolic link to /usr/lib. 1179 1180 1181 /usr/demo 1182 1183 Demo programs and data. 1184 1185 1186 /usr/dict 1187 1188 Symbolic link to the /usr/share/lib/dict directory, which contains 1189 the dictionary file used by the UNIX spell program. 1190 1191 1192 /usr/dt 1193 1194 root of a subtree for CDE software. 1195 1196 1197 /usr/dt/bin 1198 1199 Primary location for CDE system utilities. 1200 1201 1202 /usr/dt/include 1203 1204 Header files for CDE software. 1205 1206 1207 /usr/dt/lib 1208 1209 Libraries for CDE software. 1210 1211 1212 /usr/dt/share/man 1213 1214 On-line reference manual pages for CDE software. 1215 1216 1217 /usr/games 1218 1219 An empty directory, a remnant of the SunOS 4.0/4.1 software. 1220 1221 1222 /usr/gnome 1223 1224 This is an obsolete directory where 3rd party programs can install 1225 their applications and pixmap files. It is supported for backwards 1226 compatibility. 1227 1228 1229 /usr/include 1230 1231 Include headers (for C programs). 1232 1233 1234 /usr/java* 1235 1236 Directories containing Java programs and libraries. 1237 1238 1239 /usr/jdk* 1240 1241 Java Platform virtual machine and core class libraries. 1242 1243 1244 /usr/kernel 1245 1246 Subtree of platform-dependent loadable kernel modules, not needed 1247 in the root filesystem. An approved installation location for 1248 bundled Solaris software. 1249 1250 1251 /usr/kvm 1252 1253 A mount point, retained for backward compatibility, that formerly 1254 contained platform-specific binaries and libraries. 1255 1256 1257 /usr/lib 1258 1259 Platform-dependent libraries, various databases, commands and 1260 daemons not invoked directly by a human user. An approved 1261 installation location for bundled Solaris software. The analogous 1262 location for add-on system software or for applications is 1263 /opt/packagename/lib. 1264 1265 1266 /usr/lib/32 1267 1268 Symbolic link to /usr/lib. 1269 1270 1271 /usr/lib/64 1272 1273 Symbolic link to the most portable 64-bit Solaris interfaces, on 1274 both SPARC and x86 platforms. 1275 1276 1277 /usr/lib/acct 1278 1279 Accounting scripts and binaries. See acct(1M). 1280 1281 1282 /usr/lib/adb 1283 1284 adb accounting scripts. 1285 1286 1287 /usr/lib/amd64 1288 1289 Platform-dependent libraries, various databases, commands and 1290 daemons not invoked directly by a human user on 64-bit x86. An 1291 approved installation location for bundled Solaris software. The 1292 analogous location for add-on system software or for applications 1293 is /opt/packagename/lib/amd64. 1294 1295 1296 /usr/lib/autofs 1297 1298 Contains the automountd executable. 1299 1300 1301 /usr/lib/cfgadm 1302 1303 Contains cfgadm hardware-specific driver plugins. 1304 1305 1306 /usr/lib/class 1307 1308 Scheduling-class-specific directories containing executables for 1309 priocntl(1) and dispadmin(1M). 1310 1311 1312 /usr/lib/crypto 1313 1314 Contains the kernel-level cryptographic framework daemon (kcfd). 1315 1316 1317 /usr/lib/devfsadm 1318 1319 Contains devfsadm, the daemon version of devfsadm. 1320 1321 1322 /usr/lib/dict 1323 1324 Database files for spell(1). 1325 1326 1327 /usr/lib/dns 1328 1329 Contains DNS resolver libraries. 1330 1331 1332 /usr/lib/dtrace 1333 1334 Contains dtrace D source files. 1335 1336 1337 /usr/lib/flash 1338 1339 Contains Solaris flash archive deployment scripts. 1340 1341 1342 /usr/lib/fm 1343 1344 Contains fmd, the fault manager daemon and the fault manager 1345 library. 1346 1347 1348 /usr/lib/font 1349 1350 troff(1) font description files. 1351 1352 1353 /usr/lib/fs 1354 1355 File system type dependent modules; generally not intended to be 1356 invoked directly by the user. 1357 1358 1359 /usr/lib/gss 1360 1361 Secure services-related libraries. 1362 1363 1364 /usr/lib/iconv 1365 1366 Conversion tables for iconv(1). 1367 1368 1369 /usr/lib/inet 1370 1371 Contains many network-related daemons and libraries. 1372 1373 1374 /usr/lib/ipf 1375 1376 Contains IPFILTER.LICENCE and ipftest. 1377 1378 1379 /usr/lib/ipqosconf 1380 1381 IPQoS configuration utility. 1382 1383 1384 /usr/lib/krb5 1385 1386 Contains the Kerberos database propagation program and libraries. 1387 1388 1389 /usr/lib/ld 1390 1391 Contains the map files for the ld link editor. 1392 1393 1394 /usr/lib/ldap 1395 1396 Contains LDAP client configuration utilities. 1397 1398 1399 /usr/lib/libp 1400 1401 Profiled libraries. 1402 1403 1404 /usr/lib/llc2 1405 1406 Contains logical link control (llc2) driver configuration files. 1407 1408 1409 /usr/lib/locale 1410 1411 Localization databases. 1412 1413 1414 /usr/lib/lp 1415 1416 Line printer subsystem databases and back-end executables. 1417 1418 1419 /usr/lib/netsvc 1420 1421 Internet network services. 1422 1423 1424 /usr/lib/nfs 1425 1426 Auxiliary NFS-related programs and daemons. 1427 1428 1429 /usr/lib/nis 1430 1431 Contains NIS+ administrative commands. 1432 1433 1434 /usr/lib/picl 1435 1436 Platform Information and Control Library. 1437 1438 1439 /usr/lib/pool 1440 1441 Contains the automated resource pools partitioning daemon (poold) 1442 and associated libraries. 1443 1444 1445 /usr/lib/power 1446 1447 Power management daemon, powerd. 1448 1449 1450 /usr/lib/print 1451 1452 Contains lp conversion scripts and the in.lpd daemon. 1453 1454 1455 /usr/lib/rcap 1456 1457 Resource cap enforcement daemon, rcapd. 1458 1459 1460 /usr/lib/rcm 1461 1462 Contains the Reconfiguration and Coordination Manager daemon 1463 (rcm_daemon) and RCM scripts. 1464 1465 1466 /usr/lib/refer 1467 1468 Auxiliary programs for refer(1). 1469 1470 1471 /usr/lib/rmmount 1472 1473 Removable media mounter shared objects. 1474 1475 1476 /usr/lib/sa 1477 1478 Scripts and commands for the system activity report package. See 1479 sar(1). 1480 1481 1482 /usr/lib/saf 1483 1484 Auxiliary programs and daemons related to the service access 1485 facility. 1486 1487 1488 /usr/lib/sasl 1489 1490 Simple Authentication and Security Layer (SASL) plug-in modules. 1491 1492 1493 /usr/lib/secure 1494 1495 Default trusted libraries. 1496 1497 1498 /usr/lib/security 1499 1500 Solaris security plug-in modules. 1501 1502 1503 /usr/lib/smartcard 1504 1505 IFD handler libraries. 1506 1507 1508 /usr/lib/smedia 1509 1510 Removable media device server daemon, rpc.smserverd. 1511 1512 1513 /usr/lib/sparcv9 1514 1515 SPARC 64-bit, platform-dependent libraries, various databases, 1516 commands and daemons not invoked directly by a human user. An 1517 approved installation location for bundled Solaris software. The 1518 analogous location for add-on system software or for applications 1519 is /opt/packagename/lib/sparcv9. 1520 1521 1522 /usr/lib/spell 1523 1524 Auxiliary programs and databases for spell(1). This directory is 1525 only present when the Binary Compatibility Package is installed. 1526 1527 1528 /usr/lib/subsystem 1529 1530 Platform-dependent libraries, various databases, commands and 1531 daemons that are associated with subsystem and that are not invoked 1532 directly by a human user. An approved installation location for 1533 bundled Solaris software. The analogous location for add-on system 1534 software or for applications is /opt/packagename/lib. 1535 1536 1537 /usr/lib/subsystem/amd64 1538 1539 x86 64-bit, platform-dependent libraries, various databases, 1540 commands and daemons that are associated with subsystem and that 1541 are not invoked directly by a human user. An approved installation 1542 location for bundled Solaris software. The analogous location for 1543 add-on system software or for applications is 1544 /opt/packagename/lib/amd64. 1545 1546 1547 /usr/lib/subsystem/sparcv9 1548 1549 SPARC 64-bit, platform-dependent libraries, various databases, 1550 commands and daemons that are associated with subsystem and that 1551 are not invoked directly by a human user. An approved installation 1552 location for bundled Solaris software. The analogous location for 1553 add-on system software or for applications is 1554 /opt/packagename/lib/sparcv9. 1555 1556 1557 /usr/subsystem/lib 1558 1559 Platform-dependent libraries, various databases, commands and 1560 daemons not invoked directly by a human user. An approved 1561 installation location for bundled Solaris software. The analogous 1562 location for add-on system software or for applications is 1563 /opt/packagename/lib. 1564 1565 1566 /usr/subsystem/lib/amd64 1567 1568 x86 64-bit, platform-dependent libraries, various databases, 1569 commands and daemons that are associated with subsystem and that 1570 are not invoked directly by a human user. An approved installation 1571 location for bundled Solaris software. The analogous location for 1572 add-on system software or for applications is 1573 /opt/packagename/lib/amd64. 1574 1575 1576 /usr/subsystem/lib/sparcv9 1577 1578 SPARC 64-bit, platform-dependent libraries, various databases, 1579 commands and daemons that are associated with subsystem and that 1580 are not invoked directly by a human user. An approved installation 1581 location for bundled Solaris software. The analogous location for 1582 add-on system software or for applications is 1583 /opt/packagename/lib/sparcv9. 1584 1585 1586 /usr/lib/sysevent 1587 1588 Contains the system event notification daemon (syseventd) and the 1589 syseventd loadable module (SLM) repository. 1590 1591 1592 /usr/lib/uucp 1593 1594 Auxiliary programs and daemons for uucp(1C). 1595 1596 1597 /usr/lib/webconsole 1598 1599 Sun Java web console programs and scripts. 1600 1601 1602 /usr/lib/zones 1603 1604 Zone administration daemon (zoneamd). 1605 1606 1607 /usr/local 1608 1609 Not part of the SVR4-based Solaris distribution. The /usr directory 1610 is exclusively for software bundled with the Solaris operating 1611 system. If needed for storing machine-local add-on software, create 1612 the directory /opt/local and make /usr/local a symbolic link to 1613 /opt/local. The /opt directory or filesystem is for storing add-on 1614 software to the system. 1615 1616 1617 /usr/mail 1618 1619 Symbolic link to the /var/mail directory. 1620 1621 1622 /usr/man 1623 1624 Symbolic link to the /usr/share/man directory. 1625 1626 1627 /usr/net/servers 1628 1629 Entry points for foreign name service requests relayed using the 1630 network listener. See listen(1M). 1631 1632 1633 /usr/news 1634 1635 Symbolic link to the /var/news directory. 1636 1637 1638 /usr/old 1639 1640 Programs that are being phased out. 1641 1642 1643 /usr/openwin 1644 1645 Installation or mount point for the OpenWindows software. 1646 1647 1648 /usr/perl5 1649 1650 Perl 5 programs and documentation 1651 1652 1653 /usr/platform 1654 1655 Subtree of platform-specific objects which does not need to reside 1656 on the root filesystem. It contains a series of directories, one 1657 per supported platform. The semantics of the series of directories 1658 is equivalent to /platform, except for subdirectories which do not 1659 provide utility under one or the other (for example, 1660 /platform/include is not needed). 1661 1662 1663 /usr/platform/`uname -i`/include 1664 1665 Symbolic link to /../`uname -i`/include. Platform-specific system 1666 (sys, vm) header files with semantics equivalent to /usr/include. 1667 An approved installation location for bundled Solaris software and 1668 for add-on system software. 1669 1670 1671 /usr/platform/`uname -i`/lib 1672 1673 Platform-specific shared objects with semantics equivalent to 1674 /usr/lib. An approved installation location for bundled Solaris 1675 software and for add-on system software. 1676 1677 1678 /usr/platform/`uname -i`/lib/subsystem/amd64 1679 1680 x86 64-bit, platform-specific daemon and shared objects. An 1681 approved installation location for bundled Solaris software and for 1682 add-on system software. 1683 1684 1685 /usr/platform/`uname -i`/sbin 1686 1687 Platform-specific system administration utilities with semantics 1688 equivalent to /usr/sbin. An approved installation location for 1689 bundled Solaris software and for add-on system software. 1690 1691 1692 /usr/preserve 1693 1694 Symbolic link to the /var/preserve directory. 1695 1696 1697 /usr/proc 1698 1699 Directory for the proc tools. 1700 1701 1702 /usr/pub 1703 1704 Symbolic link to /share/lib/pub, which contains files for online 1705 man page and character processing. 1706 1707 1708 /usr/sadm 1709 1710 System administration files and directories. 1711 1712 1713 /usr/sadm/bin 1714 1715 Binaries for the Form and Menu Language Interpreter (FMLI) scripts. 1716 See fmli(1). 1717 1718 1719 /usr/sadm/install 1720 1721 Executables and scripts for package management. 1722 1723 1724 /usr/sbin 1725 1726 Platform-dependent executables for system administration, expected 1727 to be run only by system administrators. An approved installation 1728 location for bundled Solaris software. The analogous location for 1729 add-on system software or for applications is 1730 /opt/packagename/sbin. 1731 1732 1733 /usr/sbin/install.d 1734 1735 Custom Jumpstart scripts and executables. 1736 1737 1738 /usr/sbin/sparc7 and sparc9 1739 1740 32-bit and 64-bit versions of commands. 1741 1742 1743 /usr/sbin/amd64 1744 1745 64-bit x86versions of commands. 1746 1747 1748 /usr/sbin/subsystem 1749 1750 Platform-dependent executables for system administration, expected 1751 to be run only by system administrators, and associated with 1752 subsystem. An approved installation location for bundled Solaris 1753 software. The analogous location for add-on system software or for 1754 applications is /opt/packagename/sbin. 1755 1756 1757 /usr/subsystem/sbin 1758 1759 Platform-dependent executables for system administration, expected 1760 to be run only by system administrators, and associated with 1761 subsystem. An approved installation location for bundled Solaris 1762 software. The analogous location for add-on system software or for 1763 applications is /opt/packagename/sbin. 1764 1765 1766 /usr/sfw 1767 1768 GNU and open source executables, libraries, and documentation. 1769 1770 1771 /usr/share 1772 1773 Platform-independent sharable files. An approved installation 1774 location for bundled Solaris software. 1775 1776 1777 /usr/share/aclocal 1778 1779 Open source m4 files. 1780 1781 1782 /usr/share/applications 1783 1784 Open source desktop applications files. 1785 1786 1787 /usr/share/audio 1788 1789 Sample audio files. 1790 1791 1792 /usr/share/glib-2.0 1793 1794 Makefile for glib. 1795 1796 1797 /usr/share/gnome 1798 1799 GNOME desktop and application data. 1800 1801 1802 /usr/share/gtk-2.0 1803 1804 GTK+ application data and demos 1805 1806 1807 /usr/share/gtk-doc 1808 1809 API documentation for libraries which use gtk-doc documentation 1810 format, which mostly includes desktop interfaces. 1811 1812 1813 /usr/share/icons 1814 1815 Sun Java Desktop icons. 1816 1817 1818 /usr/share/idl 1819 1820 Open source Interface Definition Language (IDL) files. 1821 1822 1823 /usr/share/intltool 1824 1825 XML translation tools. 1826 1827 1828 /usr/share/ipfilter 1829 1830 Open source IP Filter sample files. 1831 1832 1833 /usr/share/javadoc 1834 1835 Help files for Message Queue broker and Smart Card applications. 1836 1837 1838 /usr/share/lib 1839 1840 Platform-independent sharable databases. An approved installation 1841 location for bundled Solaris software. 1842 1843 1844 /usr/share/lib/dict 1845 1846 Contains word list for spell(1). 1847 1848 1849 /usr/share/lib/keytables 1850 1851 Keyboard layout description tables. 1852 1853 1854 /usr/share/lib/mailx 1855 1856 Help files for mailx(1). 1857 1858 1859 /usr/share/lib/nterm 1860 1861 nroff(1) terminal tables. 1862 1863 1864 /usr/share/lib/pub 1865 1866 Character set data files. 1867 1868 1869 /usr/share/lib/tabset 1870 1871 Tab setting escape sequences. 1872 1873 1874 /usr/share/lib/terminfo 1875 1876 Terminal description files for terminfo(4). 1877 1878 1879 /usr/share/lib/tmac 1880 1881 Macro packages and related files for text processing tools, for 1882 example, nroff(1) and troff(1). 1883 1884 1885 /usr/share/lib/zoneinfo 1886 1887 Time zone information. 1888 1889 1890 /usr/share/man 1891 1892 Platform-independent sharable manual pages. An approved 1893 installation location for bundled Solaris software. The analogous 1894 location for add-on system software or for applications is 1895 /opt/packagename/man. 1896 1897 1898 /usr/share/omf 1899 1900 GNOME Scrollkeeper database files. 1901 1902 1903 /usr/share/pixmaps 1904 1905 Sun Java graphics. 1906 1907 1908 /usr/share/scrollkeeper 1909 1910 GNOME Scrollkeeper templates and xslt files. 1911 1912 1913 /usr/share/sgml 1914 1915 Open source SGML files. 1916 1917 1918 /usr/share/sounds 1919 1920 Sound files. 1921 1922 1923 /usr/share/src 1924 1925 Source code for kernel, utilities, and libraries. 1926 1927 1928 /usr/share/themes 1929 1930 GNOME 2.0 Desktop themes. 1931 1932 1933 /usr/share/webconsole 1934 1935 Sun Web Console status files. 1936 1937 1938 /usr/share/xml 1939 1940 GNOME Scrollkeeper DTD files. 1941 1942 1943 /usr/snadm 1944 1945 Files related to system and network administration. 1946 1947 1948 /usr/spool 1949 1950 Symbolic link to the /var/spool directory. 1951 1952 1953 /usr/src 1954 1955 Symbolic link to the /usr/share/src directory. 1956 1957 1958 /usr/tmp 1959 1960 Symbolic link to the /var/tmp directory. 1961 1962 1963 /usr/ucb 1964 1965 Berkeley compatibility package binaries. 1966 1967 1968 /usr/ucbinclude 1969 1970 Berkeley compatibility package headers. 1971 1972 1973 /usr/ucblib 1974 1975 Berkeley compatibility package libraries. 1976 1977 1978 /usr/xpg4 1979 1980 Directory for POSIX-compliant utilities. 1981 1982 1983 /usr/xpg6 1984 1985 Directory for newer versions of POSIX-compliant utilities. 1986 1987 1988 SEE ALSO 1989 at(1), ex(1), fmli(1), iconv(1), lp(1), isainfo(1), mail(1), mailx(1), 1990 nroff(1), priocntl(1), refer(1), sar(1), sh(1), spell(1), svcs(1), 1991 troff(1), uname(1), uucp(1C), vi(1), acct(1M), cron(1M), dispadmin(1M), 1992 dladm(1M), fmd(1M), fsck(1M), init(1M), kernel(1M), mknod(1M), 1993 mount(1M), svcadm(1M), svccfg(1M), useradd(1M), ypbind(1M), mount(2), 1994 Intro(4), terminfo(4) 1995 1996 1997 1998 August 26, 2013 FILESYSTEM(5)