fstab udev

This commit is contained in:
2025-11-23 00:18:46 +01:00
parent ab556dc297
commit 68b65dd039
6 changed files with 75 additions and 0 deletions

33
fstab Normal file
View File

@@ -0,0 +1,33 @@
# You can use "dietpi-drive_manager" to setup mounts.
# NB: It overwrites and re-creates physical drive mount entries on use.
#----------------------------------------------------------------
# NETWORK
#----------------------------------------------------------------
#----------------------------------------------------------------
# TMPFS
#----------------------------------------------------------------
#tmpfs /tmp tmpfs size=30M,noatime,lazytime,nodev,nosuid,mode=1777
#tmpfs /var/log tmpfs size=30M,noatime,lazytime,nodev,nosuid
tmpfs /dev/shm tmpfs defaults,size=10M 0 0
tmpfs /run tmpfs defaults,size=30M 0 0
/dev/zram0 /var/log ext4 noatime,lazytime,nodev,nosuid 0 0
/dev/zram1 /tmp ext4 noatime,lazytime,nodev,nosuid 0 0
#----------------------------------------------------------------
# MISC: ecryptfs, vboxsf, glusterfs, mergerfs, bind, Btrfs subvolume
#----------------------------------------------------------------
#----------------------------------------------------------------
# SWAP SPACE
#----------------------------------------------------------------
/var/swap none swap sw
#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
PARTUUID=37fb515b-02 / ext4 noatime,lazytime,rw 0 1
PARTUUID=37fb515b-01 /boot/firmware vfat noatime,lazytime,rw 0 2