It’s depend on, if run device is booted up and running,
or not. (if you edit file with your PC outside your device)
- If you device is up and running, parts of 1. partition (FAT32) name “boot” will be sync into the RAM and mounted as RAMDisk to /DietPi/ and resynced while shutdown
- If you device is up and running, the 1. partition (FAT32) name “boot” will be mounted to /boot/
What me personally help to see and understand this is:
root@RPi-Zero:~# ls -lah /boot/
insgesamt 21M
drwxr-xr-x 5 root root 2,5K Jan 1 1970 .
drwxr-xr-x 21 root root 4,0K Feb 24 17:44 ..
-rwxr-xr-x 1 root root 16K Okt 30 11:36 bcm2708-rpi-0-w.dtb
-rwxr-xr-x 1 root root 16K Okt 30 11:36 bcm2708-rpi-b.dtb
-rwxr-xr-x 1 root root 16K Okt 30 11:36 bcm2708-rpi-b-plus.dtb
-rwxr-xr-x 1 root root 15K Okt 30 11:36 bcm2708-rpi-cm.dtb
-rwxr-xr-x 1 root root 17K Okt 30 11:36 bcm2709-rpi-2-b.dtb
-rwxr-xr-x 1 root root 18K Okt 30 11:36 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root 17K Okt 30 11:36 bcm2710-rpi-cm3.dtb
-rwxr-xr-x 1 root root 50K Aug 11 2017 bootcode.bin
-rwxr-xr-x 1 root root 142 Feb 19 09:32 cmdline.txt
-rwxr-xr-x 1 root root 2,1K Feb 24 17:01 config.txt
-rwxr-xr-x 1 root root 19K Aug 21 2015 COPYING.linux
drwxr-xr-x 5 root root 4,0K Feb 20 20:15 dietpi
-rwxr-xr-x 1 root root 269 Feb 2 09:48 DietPi_OpenVPN_Client.ovpn
-rwxr-xr-x 1 root root 10K Feb 24 17:01 dietpi.txt
-rwxr-xr-x 1 root root 2,6K Okt 30 11:36 fixup_cd.dat
-rwxr-xr-x 1 root root 6,4K Okt 30 11:36 fixup.dat
-rwxr-xr-x 1 root root 9,5K Okt 30 11:36 fixup_db.dat
-rwxr-xr-x 1 root root 9,5K Okt 30 11:36 fixup_x.dat
-rwxr-xr-x 1 root root 145 Nov 29 03:37 issue.txt
-rwxr-xr-x 1 root root 4,4M Okt 30 11:36 kernel7.img
-rwxr-xr-x 1 root root 4,2M Okt 30 11:36 kernel.img
-rwxr-xr-x 1 root root 1,5K Nov 18 2015 LICENCE.broadcom
-rwxr-xr-x 1 root root 19K Nov 29 03:37 LICENSE.oracle
drwxr-xr-x 2 root root 10K Nov 29 02:21 overlays
-rwxr-xr-x 1 root root 6,0K Jan 10 13:09 README.md
-rwxr-xr-x 1 root root 652K Okt 30 11:36 start_cd.elf
-rwxr-xr-x 1 root root 4,8M Okt 30 11:36 start_db.elf
-rwxr-xr-x 1 root root 2,7M Okt 30 11:36 start.elf
-rwxr-xr-x 1 root root 3,8M Okt 30 11:36 start_x.elf
root@RPi-Zero:~# ls -lah /DietPi/
insgesamt 24K
drwxrwxrwt 3 root root 120 Feb 28 07:17 .
drwxr-xr-x 21 root root 4,0K Feb 24 17:44 ..
-rwxr-xr-x 1 root root 2,1K Feb 28 07:17 config.txt
drwxr-xr-x 5 root root 920 Feb 28 18:48 dietpi
-rwxr-xr-x 1 root root 10K Feb 28 07:17 dietpi.txt
-rw-r--r-- 1 root root 2 Feb 28 07:17 .ramdisk
root@RPi-Zero:~# df -h
Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
/dev/root 7,3G 1,3G 5,8G 18% /
devtmpfs 237M 0 237M 0% /dev
tmpfs 241M 0 241M 0% /dev/shm
tmpfs 241M 3,4M 238M 2% /run
tmpfs 5,0M 0 5,0M 0% /run/lock
tmpfs 241M 0 241M 0% /sys/fs/cgroup
tmpfs 20M 80K 20M 1% /var/log
tmpfs 10M 1,4M 8,7M 14% /DietPi
/dev/mmcblk0p1 41M 23M 19M 54% /boot
root@RPi-Zero:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk0 179:0 0 7,4G 0 disk
├─mmcblk0p1 179:1 0 41,5M 0 part /boot
└─mmcblk0p2 179:2 0 7,4G 0 part /
root@RPi-Zero:~# blkid
/dev/mmcblk0p1: LABEL="boot" UUID="CDD4-B453" TYPE="vfat" PARTUUID="6f0c83bc-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="72bfc10d-73ec-4d9e-a54a-1cc507ee7ed2" TYPE="ext4" PARTUUID="6f0c83bc-02"
/dev/mmcblk0: PTUUID="6f0c83bc" PTTYPE="dos"