Ok, so the problem was with the starting sector. By default, the sector was 15112.

root:/# mount_cd9660 -v /dev/acd0 /mnt
using starting sector 15112
mount_cd9660: /dev/acd0: Invalid argument

If I changed the starting sector to 0, I saw the fs but no folders. I had to use -s 14660. I was able to get "14660" from cdcontrol....

cdcontrol> info
Starting track = 1, ending track = 3, TOC size = 34 bytes
track     start  duration   block  length   type
-------------------------------------------------
    1   0:02.00   3:15.35       0   14660   data
    2   3:17.35   0:06.02   14660     452   data
    3   3:23.37  11:02.37   15112   49687   data
  170  14:25.74         -   64799       -      -

Solution:
root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt

Just figured I'd post the solution since I had seen this question asked in a few freebsd.org mailing lists.

-Victor

Victor Gregorio wrote:
For the record, this is *not* an audio CD. Just a data disk.

-Victor

Victor Gregorio wrote:

Hello. I'm having a problem mounting a CD, and was wondering if anyone could help.

root:~# dmesg | grep acd0
acd0: DVDROM <HL-DT-STDVD-ROM GDR8081N> at ata1-master PIO4
root:~# cat /etc/fstab | grep cdrom
/dev/acd0               /cdrom          cd9660  ro,noauto       0  0

root:~# mount /cdrom
cd9660: /dev/acd0: Invalid argument

root:~# mount_cd9660 /dev/acd0 /cdrom
mount_cd9660: /dev/acd0: Invalid argument

root:~# ls -l /dev/acd0
crw-r-----  1 root  operator    4,  18 Apr 12 15:42 /dev/acd0

The CD mounts OK on RedHat Linux with mount type cd9660. What argument is invalid? Or is this a known bug that I need to patch? Thanks,

Victor


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to