Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 05 Jun 2004 01:34:47 -0700
From:      Victor Gregorio <victor@opsource.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Problems mounting my cdrom drive
Message-ID:  <1086424487.652.84.camel@localhost>
In-Reply-To: <1086419861.871.26.camel@solid.solisixoffice.com>
References:  <1086414299.871.4.camel@solid.solisixoffice.com> <1086419312.652.26.camel@localhost> <1086419861.871.26.camel@solid.solisixoffice.com>

next in thread | previous in thread | raw e-mail | index | archive | help
An audio CD?  Try cdplay (/usr/ports/audio).
# cdplay -d /dev/acd0

I'm not sure you can mount an audio CD since it has no filesystem.  You
need an application that can read the data off the device.

Interesting links...
http://www.unixguide.net/freebsd/faq/09.20.shtml
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html
http://www.unixguide.net/freebsd/faq/09.20.shtml

-Victor

On Sat, 2004-06-05 at 00:17, Bruce Hunter wrote:
> That didn't work for me.
> I did a man cdcontrol and tried
> #cdcontrol
> #cdcontrol>play
> and it started to play my cd. But won't mount the sucker?? i was trying
> to mount it to play with xmms. Hmm...
> 
> 
> THIS IS WHAT I DID
> -----------------------------
> root@solid# cdcontrol
> Compact Disc Control utility, version 2.0
> Type `?' for command list
> 
> cdcontrol> info
> Starting track = 1, ending track = 12, TOC size = 106 bytes
> track     start  duration   block  length   type
> -------------------------------------------------
>     1   0:02.00   4:23.20       0   19745  audio
>     2   4:25.20   3:26.02   19745   15452  audio
>     3   7:51.22   4:50.18   35197   21768  audio
>     4  12:41.40   3:59.57   56965   17982  audio
>     5  16:41.22   3:40.53   74947   16553  audio
>     6  20:22.00   4:50.12   91500   21762  audio
>     7  25:12.12   2:03.00  113262    9225  audio
>     8  27:15.12   3:29.38  122487   15713  audio
>     9  30:44.50   5:06.00  138200   22950  audio
>    10  35:50.50   5:03.62  161150   22787  audio
>    11  40:54.37   5:47.50  183937   26075  audio
>    12  46:42.12   9:03.25  210012   40750  audio
>   170  55:45.37         -  250762       -      -
> cdcontrol> quit
> root@solid# mount -v -s 19745 /dev/acd0 /cdrom/
> mount: illegal option -- s
> usage: mount [-dfpruvw] [-o options] [-t ufs | external_type] special
> node
>        mount [-adfpruvw] [ -F fstab] [-t ufs | external_type]
>        mount [-dfpruvw] special | node
> root@solid# mount_cd9660 -v -s 19745 /dev/acd0 /cdrom/
> 
> -----------------------------
> 
> -Bruce-
> 
> On Sat, 2004-06-05 at 03:08, Victor Gregorio wrote:
> > This has happened to me.  The problem was with the file system
> > startsector.  By default, mount_cd9660 uses a default of 15112. I had to
> > use mount_cd9660 along with -s startsector.
> > 
> > Here is how I used cdcontrol to get the right startsector for a
> > particular track...
> > 
> > # mount_cd9660 -v /dev/acd0 /mnt
> > using starting sector 15112
> > mount_cd9660: /dev/acd0: Invalid argument
> > # 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       -      -
> > 
> > If I changed the startsector to 0, I saw the root FS and some data but
> > no folders.  I had to use -s 14660.  
> > 
> > So the solution for me was:
> > root:/# mount_cd9660 -v -s 14660 /dev/acd0 /mnt
> > 
> > Hope this helps.
> > 
> > -Victor
> > 
> > On Fri, 2004-06-04 at 22:44, Bruce Hunter wrote:
> > > I am having problems mounting my cdrom drive.
> > > 
> > > i have also run the command 
> > > mount_cd9660, and this is the result
> > > 
> > > root@solid# mount_cd9660 /dev/acd0 /cdrom/
> > > mount_cd9660: /dev/acd0: Invalid argument
> > > 
> > > this is with the mount command
> > > 
> > > root@solid# mount -v -t cd9660 /dev/acd0 /cdrom/
> > > cd9660: /dev/acd0: Invalid argument
> > > 
> > > Thanks guys,
> > > Bruce
> > > 
> > > _______________________________________________
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> > > 
> > 
> > 
> > 
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



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