Hi All
when i do 'df' command i see second partition where /storage is mounted as /etc/issue. I cant find anything on the Internet what would be the purpose of that. Would somebody be so kind and explain what am I seeing here?
Hi All
when i do 'df' command i see second partition where /storage is mounted as /etc/issue. I cant find anything on the Internet what would be the purpose of that. Would somebody be so kind and explain what am I seeing here?
RPi5:~ # df
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 4085920 16 4085904 0% /dev
tmpfs 1648976 17904 1631072 1% /run
/dev/nvme0n1p1 524008 154160 369848 29% /flash
/dev/loop0 139264 139264 0 100% /
/dev/nvme0n1p2 228336223 3052383 225279744 1% /storage
tmpfs 4122400 0 4122400 0% /dev/shm
tmpfs 4122400 16 4122384 0% /var
tmpfs 1024 0 1024 0% /run/credentials/systemd-journald.service
tmpfs 4122416 0 4122416 0% /tmp
Display More
It's not like that here (on this RPi, or any other device I'm using). Post evidence to support and explain what you're seeing.
Thanks for your reply. Looks like we both have NVME attached to our RPi5s. Mine df -h looks like this:
Filesystem Size Used Available Use% Mounted on
devtmpfs 1.7G 16.0K 1.7G 0% /dev
tmpfs 809.1M 18.7M 790.4M 2% /run
/dev/nvme0n1p1 511.7M 147.0M 364.7M 29% /flash
/dev/loop0 132.0M 132.0M
0 100% /
/dev/nvme0n1p2 915.3G 218.2G 697.1G 24% /storage
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 2.0G 8.9M 2.0G 0% /var
tmpfs 2.0G 0 2.0G 0% /tmp
/dev/nvme0n1p2 915.3G 218.2G 697.1G 24% /etc/issue
What happens if you run umount /etc/issue ??
It unmounts, but after reboot it comes back.
LE doesn't use /etc/fstab although it exists because some tools check for its existence.
Are there any stray .mount files in /storage/.config/system.d ?
I have figured it out. In .config/autostart.sh I have a line:
mount -o bind /storage/.config/motd /etc/motd
to supress welcome message when connecting via ssh. That is causing the /dev/nvme0n1p2 915.3G 218.2G 697.1G 24% /etc/issue mess.
Sorry for bothering you.