Dr. Nikolaus Klepp wrote:
OK ... then I can assure you this folder has been
there for a long long
time. Debian installer from the dark past used to create saif fstab entry
+ /media/cdrom0 (that's the reason why it passed unnoticed on my system)
:)
here it says 2017
# ls -al /media/
total 16
drwxr-xr-x 4 root root 4096 Jul 9 2020 .
drwxr-xr-x 27 root root 4096 Feb 28 17:31 ..
lrwxrwxrwx 1 root root 6 Jul 17 2017 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 Jul 17 2017 cdrom0
but the system was installed many many moons before this date. I assume it
was created once when /media become the place for automatically mounting
stuff.
https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/media.html
I am still not sure if it was created automatically though.