About to get access to a CD through the terminal - with Virtual Box working with Ubuntu Desktop and Server, when the Guest Additions .iso file is inserted through:
Devices
->Insert Guest Additions CD image
For the Desktop environment its access is through /media/<username>/VBox_GAs_#.#.#
and for the Server environment its access is through /dev/cdrom
, it to be mount it with the sudo mount /dev/cdrom /cdrom
command.
Observe the difference between /media
and /dev
Question
- Why the CD access in Ubuntu Server is different than expected according with FHS?
I assumed it should be /media
too - it taking in consideration again the FHS
- it according with:
Note this situation happens for the 18.04LTS and 20.04LTS
/cdrom
. Nobody stopped you from mounting it at/media
or wherever. Even on Ubuntu Desktop, if you check the device that's mounted at/media/<username>/VBox_GAs_#.#.#
, it will be/dev/cdrom*
.iso
file - automatically the path is generated to that location. Same as for the Server Environment - I mean, I must use/dev/cdrom
to mount - well - is/cdrom
correct? I used thesudo mount /dev/cdrom /cdrom
command according with a tutorial to install the VB Guest Additions - for Desktop and Server environments/dev/cdrom
path to mount in the desktop environment?Devices -> Insert Guest Additions CD image
is accomplished in the Desktop Environment appears a CD icon in the Desktop, then I open a new terminal, the location of theGuest Addition
content - of the CD - is/media/<username>/VBox_GAs_#.#.#
- important to notice that I did not mount nothing manually/media/<username>/VBox_GAs_#.#.#
. And when you mount the CD manually at/cdrom
, the content is at/cdrom
. Yet, you are for some reason comparing/media/<username>/VBox_GAs_#.#.#
with/dev/cdrom
. Why? How are those two equivalent?