Solved [Solved] mount /cdrom

FreeBSD ver 10.
When I type in this command mount /cdrom I get the result that
Code:
command does not exist
.
Is there a way to mount a CD or DVD?
 
Re: [solved]mount /cdrom

The command and the error do not match. @bold, please show the exact command typed and the exact error message given.

Usually, it would be mount -t cd9660 /dev/cd0 /cdrom. Or, if /etc/fstab contains an entry for /cdrom, just mount /cdrom.
 
Last edited by a moderator:
Re: [solved]mount /cdrom

wblock@ said:
The command and the error do not match. @bold, please show the exact command typed and the exact error message given.
The exact command is
Code:
mount /cdrom

I have figured out the exact command to mount it. I guess it is
Code:
#mount_cd9660 /dev/cd0 /media/cdrom
if /etc/fstab contains an entry for /cdrom, just mount /cdrom
How to add an entry in /etc/fstab in order to mount easily?
 
Last edited by a moderator:
Re: [solved]mount /cdrom

bold said:
wblock@ said:
The command and the error do not match. @bold, please show the exact command typed and the exact error message given.
The exact command is
Code:
mount /cdrom

And what was the exact error message?

I have figured out the exact command to mount it. I guess it is
Code:
#mount_cd9660 /dev/cd0 /media/cdrom

The preferred version is mount -t cd9660 /dev/cd0 /cdrom.

How to add an entry in /etc/fstab in order to mount easily?

An example is shown in the fstab(5) in FreeBSD 10:
Code:
/dev/cd0        /cdrom          cd9660  ro,noauto       0       0
 
Last edited by a moderator:
Re: [solved]mount /cdrom

Windmill said:
It says that command doesn't exist. I guess you are mounting without root privileges
I have logged in as root.
 
I have a similar problem in PC-BSD 10.0, namely my DVD drive cannot play film DVD's. Facts are:
  1. The drive plays audio CD's using VLC or other players
  2. The drive played DVD's on this hard drive with Ubuntu 12.04 installed on it previously
  3. The drive works perfectly for installing this or other O/S
  4. The drive plays DVD's on a second hard drive where I have Ubuntu
I have tried all these commands but must confess that I am inexperienced on the command line and these anyway refer to a non-mounting DVD/CD drive.

Error messages are:
Code:
mount_udf: /dev/cd0 invalid argument    and
Dbus error .org.freedektop .DBus.Error.No Reply

Apologies if this is inappropriate.Have only used computers (lightly) for 5 years and am low on the curve still, but I would like to scrap Ubuntu and get on with learning Unix.
 
Back
Top