Originally Posted by Tkbp4him@insightbb.c
Ok, I tried the: # mount -t_cd9660 -r /dev/cd0a /cdrom (with a added space thanks, and with the underline before the cd9660 and without it ) and I got : mount : no mount helper program found for _cd9660 : No such file or directory and before that I got same but: Invalid argument.
Also tried: # mount -a -t nonfs, mfs and got: the usage statement for mount?
It appears that keys are just being pushed.
The type of the disc can be verified through disklabel(8)
be run as root. eg.
I will be using a USB DVD drive which is identified by cd(4)
with a data
disc already inserted:
$ sudo disklabel cd0
total sectors: 1822480
# size offset fstype [fsize bsize cpg]
a: 1822480 0 ISO9660
c: 1822480 0 ISO9660
access the disc in raw character mode (even though I specified the block device)
, which is the reason the device is listed as /dev/rcd0c
. The filesystem type ISO9660 implies that the disc can be mounted with the type "cd9660" when mounting with mount(8)
So to mount this disc, a suitable mountpoint must be found. By default, /mnt is created at installation, however some people will create subdirectories to associate different media types. For the sake of discussion here, I will assume that no
subdirectories exist beneath /mnt.
By default, the permissions associated with /dev/cd0a are that of root:
$ ls -l /dev/cd0c
brw-r----- 1 root operator 6, 2 Aug 28 14:59 /dev/cd0c
will have to executed by root:
$ sudo mount -t cd9660 /dev/cd0a /mnt
Issuing the mount(8)
command with no arguments will display all mounted partitions:
/dev/wd0a on / type ffs (local)
/dev/wd0l on /home type ffs (local, nodev, nosuid)
/dev/wd0d on /tmp type ffs (local, nodev, nosuid)
/dev/wd0h on /usr type ffs (local, nodev)
/dev/wd0k on /usr/X11R6 type ffs (local, nodev)
/dev/wd0i on /usr/local type ffs (local, nodev)
/dev/wd0j on /usr/share type ffs (local, nodev, nosuid)
/dev/wd0e on /var type ffs (local, nodev, nosuid)
/dev/wd0f on /var/crash type ffs (local, nodev, nosuid)
/dev/wd0g on /var/git type ffs (local, nodev, nosuid)
/dev/cd0a on /mnt type cd9660 (local, read-only)
The last highlighted line now shows that the "a"
partition on the data disc has been successfully mounted to the filesystem.