Problem
I am trying to mount a CDROM, DVD or ISO image on my OpenServer 5.0.7 system using a command similar to:
# mount /dev/cd0 /mntand I am getting the error:mount: cannot open /dev/cd0, will mount first session: Not a
directory (error 20)The mount still works but I would like to know if these is a way that I can prevent this message from appearing.
Solution
This error message can be seen sometimes when attempting to
mount ISO, CDROM or DVD images that have been created
as multisession images.You can avoid this error message by using the following syntax:
# mount -o session=1 /dev/cd0 /mnt