File System Management ๐: Organizes and controls the data stored on storage devices.
1. EXT4 (Fourth Extended File System) ๐
- Platform: Primarily used on Linux systems ๐ง.
- Characteristics:
- Journaling ๐: Keeps track of changes to help recover data after a crash.
- File Size Support: Handles large files up to 16 TiB ๐.
- Volume Size: Supports up to 1 EiB ๐.
- Performance ⚡: Optimized to reduce fragmentation.
- Compatibility: Native on Linux, not supported by Windows ๐ซ.
2. NTFS (New Technology File System) ๐ฅ️
- Platform: Primarily used on Windows ๐ป.
- Characteristics:
- Journaling ๐: Similar to EXT4, it ensures data recovery after crashes.
- File Size Support: Up to 16 TiB ๐.
- Volume Size: Can support volumes up to 256 TiB ๐.
- Security ๐: Features like file permissions, encryption, and disk quotas.
- Performance ⚡: Better for large files but less efficient with smaller files.
- Compatibility: Native to Windows, can be read/written on Linux via
ntfs-3g
.
3. FAT32 (File Allocation Table 32) ๐พ
- Platform: Cross-platform, works with Windows, Linux, macOS ๐ฑ๐ป.
- Characteristics:
- File Size Limit ⛔: Maximum file size of 4 GB.
- Volume Size Limit ⛔: Maximum volume size of 8 TB.
- Compatibility ๐: Universally supported across devices and OS.
- Performance ⚡: Less efficient with large files compared to NTFS and EXT4.
- Lack of Security ๐ซ: No journaling or advanced file permissions.
Linux File System Hierarchy ๐
/ (Root) ๐
- The top-most directory.
/bin ๐ฆ
- Essential system binaries (e.g.,
ls
,cp
).
- Essential system binaries (e.g.,
/boot ๐
- Boot-related files, including the kernel.
/dev ⚙️
- Device files (e.g.,
/dev/sda
for hard disks).
- Device files (e.g.,
/etc ๐ ️
- Configuration files for system and apps.
/home ๐
- User home directories (e.g.,
/home/velluraju
).
- User home directories (e.g.,
/lib ๐
- Shared libraries needed for running programs.
/media ๐
- Mount point for removable media (USBs, CD-ROMs).
/mnt ๐
- Temporary mount point for filesystems.
/opt ๐️
- Optional software packages.
/proc ๐
- Virtual filesystem for kernel and process information.
/root ๐
- Home directory for the root (admin) user.
/sbin ๐ง
- System binaries for administrative tasks.
/srv ๐ ️
- Service-related data (e.g., web server files).
/sys ⚙️
- Virtual filesystem for kernel and system hardware.
/tmp ๐️
- Temporary files that are cleared often.
/usr ๐ข
- User-related programs and data.
/var ๐
- Variable data like logs and databases.
0 Comments