Dosya Sistemi

Note

To get a complete understanding of the Linux™ file system, the Linux™ Filesystem Hierarchy documentation hosted by tldp is recommended reading.

A filesystem is a method of storing and organizing files — not only in Linux™, but also in other computer operating systems. In Linux™, most files are regular files, except for directories, special files, links, sockets, and named pipes. The most common filetypes that users interact with are regular files, directories, and links.

Open a terminal (in Kubuntu™ this is called Konsole) and typing

ls /

This brings up a list similar to the following:

bin
boot
cdrom
dev
etc
home
initrd.img
lib
lib32
lib64
lost+found
media
mnt
proc
root
sbin
selinux
srv
sys
tmp
usr
var
vmlinuz

Note

Tüm listeler yukarıdakinin birebir aynısı olmayabilir.

Aşağıda, yukarıda bahsedilen dosyalar ve dizinlerle alakalı genel bilgi bulabilirsiniz.

Dosya Sistemine Genel Bakış

bin

Contains terminal commands that are useful to system administrators (who have full access privileges) and to regular users (who have limited access privileges). The commands in this directory are essential to the operation of a Linux™ system. Some of the commands in the bin directory are bash, ls, cp, and cat.

boot

Contains the files required for the boot process. In the case of Kubuntu™, it contains the files for the GRUB2 boot-loader, master boot records, map files, and the Linux™ kernel.

cdrom

A symlink or symbolic link to /media/cdrom, which itself is a symlink to /media/cdrom0. If a CD is placed into the CDROM drive, the contents of that CD will be available in the /media/cdrom0 directory.

dev

Location of special or device files. For example, /dev/sda0 is the first partition on the hard drive.

etc

Programların tüm sistemle alakalı yapılandırma dosyalarını barındırır. Bu dizindeki dosyalar işlemleri denetlemek için kullanılırlar.

home

Sistemdeki her kullanıcının ev (home) dizinini içerir. Bir kullanıcının ev dizini kullanıcının kişisel ayar dosyalarını ve belge, müzik, video ve diğer kullanıcı-tanımlı dizin ve dosyaları barındırır.

initrd.img

A symlink to /boot/initrd.img-<kernel version> which is required for system startup.

lib

Kernel modülleri ve sistemi açmak ve komutları yürütmek için gerekli paylaşılan kütüphane dosyaları bu klasörde bulunur

lib32

Same as lib above, but contains only the 32-bit versions.

lib64

Same as lib above, but contains only the 64-bit versions.

lost+found

Beklenmeyen kapanma ya da sistem kazası gibi durumlarda kurtarılan dosyaları barındırır.

media

Contains the subdirectories which are used as mount points for removable media, such as CDROM drives, USB disks, or floppy disks.

mnt

Generic mount point for filesystems or devices. In most cases, media is where most devices will be auto-mounted.

opt

optional kelimesinin kısaltılmış halidir. Bu dizin kullanıcı tarafından eklenen paketleri içerir.

proc

Çalışma zamanı sistem bilgilerinini dosya benzeri bir yapıda gösteren yapay bir dosya sistemi.

/root

root (kök) olarak bilinen sistem yöneticisinin home (ev) dizini.

sbin

Contains programs that are essential to the working of the system, such as fdisk, ifconfig, reboot, and shutdown.

selinux

A pseudo-filesystem containing the commands used by the kernel sub-system for the Security-Enhanced Linux™ feature.

srv

Sistem tarafından hazırlanan sitelere özgü verileri barındırır.

sys

Contains the Linux™ kernel, firmware, and system-related files.

tmp

Geçici olarak ihtiyaç duyulan dosyaları barındırır. Çoğu yazılım geçici depolama alanı olarak kullanmak için bu dizinde kilitli dosyalar oluşturur.

usr

Salt okunur kullanıcı verileri, programlar, belgeler, kütüphaneler, başlık dosyaları da dahil olmak üzere sistemdeki paylaşılan verinin büyük bir kısmını barındırır.

/var/

Kayıt dosyaları, e-posta ve yazıcı kuyrukları gibi değişken sistem bilgilerini barındırır

vmlinuz

A symlink to a compressed executable of the Linux™ kernel.