Weird mount on /etc/issue...

  • 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?

  • 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

  • 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.