Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Apr 2004 17:12:38 -0700
From:      Victor Gregorio <victor@opsource.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problems Mounting a CD (solved)
Message-ID:  <407B3076.8000601@opsource.net>
In-Reply-To: <407B2A4F.6070103@opsource.net>
References:  <407B1EF9.9040704@opsource.net> <407B2A4F.6070103@opsource.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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
>>
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?407B3076.8000601>