Technical Terms
From ArchWiki
i18n |
---|
English |
Nederlands |
Русский |
Contents |
Introduction
This page is devoted to listing technical linux terms and examples. Please feel free to add to this page as you see fit.
WARNING: All of the information on this page is Arch specific, but may carrry across to other distros as well.
Convention
Please, please, please! follow this convention and read Help:Editing before adding to this page.
Partitions
This section contains examples and various info about different types of filesystems and layouts for your partitions.
Standard Directory Structure
The standard directory structure in Arch Linux is as follows:
(items in bold are generated automatically)
- root partition
- bin — system utilities
- boot — kernel boot images and configuration
- dev — devices
- etc — system configuration files
- rc.d — daemon start/stop scripts
- conf.d — daemon configuration
- profile.d — global shell configuration
- home — users personal files
- lib
- firmware — firmware for kernel modules
- modules — kernel modules
- security — authentication modules
- tls — glibc modules
- udev — udev scripts
- mnt — mounted media
- opt — large groups of applications
- proc — process info
- root — root's personal files
- sbin — system utilities (root access only)
- sys — system information
- tmp — temporary files
- usr
- bin — application executables
- include — application headers
- lib — application libraries
- man — man pages
- sbin — application executables (root acccess only
- src — kernel source code
- share — shared application files
- var
- abs — Arch ABS files
- cache — non-volatile storage
- pacman — pacman cache of package and source files
- lib — databases of information
- pacman — pacman repository databases
- log — log files
- spool — incoming mail
Partitioning Layout
There are many many ways to set up your partitions. The examples provided here are simply how some people set up their partitions.
Convention:
*root_partition — size (filesystem) **partition — size (filesystem) ***sub_partition — size (filesystem) **partition — size (filesystem) Explination and details (if desired)
Shadowhands's Layout
- root — 8G (ext3)
- boot — 1G (ext3)
- home — 30G (jfs)
- var — 4G (reiserfs)
- media — 140G (ext3)
All of the ext3 partitions are using dir_index (Details) as well. I picked ext3 over ext2 for /boot because ext3 can be mounted as ext2, but offers better data recovery options. I'm using reiserfs for /var because reiserfs is very good at handling a lot of small (<16K) files, which /var (mostly) is. I keep all my music, games, movies, etc. in /media, out of my home dir (which only contains personal files).
Romashka's Layout
- root — 1G (ext3)
- boot — 64M (ext3)
- usr — 8G (ext3)
- var — 4G (ext3)
- home — 32G (ext3)
- storage — 120G (xfs)
Device Naming
Convention:
Description *type #name 1 #name 2 *type #name 1 #name 2 #name 3
Hard Drives
In the following list, X = drive letter or number (a-z or 0-99), Y = partition number (0-99). The first drive in udev is a, in devfs and GRUB it is 0
- udev name
- /dev/hdXY (IDE)
- /dev/sdXY (SATA/SCSI)
- devfs name (obsolete >= Arch 0.7.1)
- /dev/discs/discX/partY
- GRUB name
- (hdX,Y)
CD/DVD Drives
In the following list, X = drive letter (a-z).
- udev IDE name
1. /dev/hdX
- udev SCSI name (SATA or SCSCI cdrom)
1. /dev/sdX
USB Drives
Add your stuff here!