Linux File System

 

This is a quick reference to the Linux file system.

The common file systems used on new Linux installations are:

  • EXT4
  • XFS

Ext4 gør det muligt at skrumpe og udvide volumen, henviser XFS kun tillader at udvide mængder.

 

Lejring

Både ext4 og XFS er lejring filsystemer, hvilket betyder, når du skriver / gemme filer til en disk, the file system will save somewhere else temporarily until the full file has been successfully saved. It makes a log of the status of the write and will complete save operations by checking the log. This approach cuts down on corrupted files.

 

Sletning og redigering af filer

Linux gør det muligt at slette og redigere åbne filer. This is done by still linking the files to the OS even if it deleted. You can also move files whilst being partially downloaded or delete programs that are currently running without crashing.

 

Fragmentering

Linux filsystemer er designet til at minimere fragmentering ved at holde tilstrækkelig plads mellem filer på harddisken. This allows files to grow and still be written to the same location on the hard disk. Overtime though the file system can become fragmented where tools are provided for de-fragmentation.

 

 

 

 

Skriv et svar