Re: Help with cdrecord

From: Jeff Vian (jvian10_at_charter.net)
Date: 02/09/04

  • Next message: Coume - Lubox.com: "How to add some fonts to Gimp?"
    To: fedora-list@redhat.com
    Date: Mon, 09 Feb 2004 00:49:20 -0600
    
    

    Andrew Robinson wrote:

    > Mads V. Pedersen wrote:
    >
    >> Hi Andrew,
    >>
    >> Andrew Robinson wrote:
    >>
    >>> I'm trying to teach myself how to use mkisofs and cdrecord. I'm a
    >>> little ahead on mkisofs, though that is like saying my verbals
    >>> skills are better than my math skills because I can say "Ma Ma" but
    >>> I cannot add 2+2.
    >>>
    >>> Anyway, I wrote a script that uses mkisofs to create an iso of mp3
    >>> files from an m3u play list. The size of the iso file is 747200512
    >>> bytes. When I try burning it with gnome toaster, it refuses because
    >>> it says the track is too large. The CDR is supposed to hold 700 MB,
    >>> which according to my calculator equates to 786432000 bytes. So
    >>> either there is overhead in burning the iso to disk or the CDR maker
    >>> is figuring megabytes the way hard disk manufacturers do.
    >>
    >>
    > --snipped--
    >
    >>>
    >>> My question is this. Is there a way to determine exactly how large
    >>> an iso file a CDR will hold? I looked at the man page for cdrecord
    >>> and found options that will tell me about the recorder, but not the
    >>> media. But I'm pretty sure Nero and Toast on other OS's will tell me
    >>> how much space is available on the CDR.
    >>
    >>
    >>
    >> check the -atip option of cdrecord.
    >>
    > I've copied the output of 'cdrecord dev=2,0,0 -atip' below. There is
    > a blank CDR in the drive. I don't see where it is telling me how much
    > space is available on the disc. Can you help me some more?
    >
    I did a " cdrecord -v -v -v dev=0,0,0 speed=16 -eject <filename.iso> "
    and got the information below on the disk. (note: output trimmed for space)
    In general, each -v increases the verbosity by one level until it gets
    to max. Also, cdrecord -help gives a lot of useful information for
    using the command.
    -------------------------------------------------------------------------------------
    Device seems to be: Generic mmc CD-RW.
    Drive current speed: 40
    Drive default speed: 40
    Drive max speed : 40
    Selected speed : 16
    Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
    Driver flags : MMC-2 SWABAUDIO BURNFREE
    Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
    Drive buf size : 1806336 = 1764 KB
    FIFO size : 4194304 = 4096 KB
    Track 01: data 699 MB
    --------------------------------------------------------------------------------------
    this is the iso size
    ---------------------------------------------------------------------------------------
    track: 1 start: 0 pregap: 150
    Total size: 803 MB (79:38.21) = 358366 sectors
    Lout start: 804 MB (79:40/16) = 358366 sectors[root@bluebird
    knoppix]# dc
    358366 2048 * p
    733933568

     --------------------------------------------------------------------------------------
    There are a total of 358366 sectors of 2Kb each.
    Total space is thus:

    358366 * 2048 = 733933568 bytes

    This is the total available disk data size. Data size is less since
    formatting and burning overhead is involved. Unless some other options
    are used (overburning, etc), the data is limited to 700mb. NOTE: these
    CDs are 700mb, 80 min. and look at the listed time above. The time is
    audio format, the sectors are data format.
    ----------------------------------------------------------------------------------------
    Disk type: Short strategy type (Phthalocyanine or similar)
    Manuf. index: 27
    Manufacturer: Prodisc Technology Inc.
    Blocks total: 359848 Blocks current: 359848 Blocks remaining: 1482
    ------------------------------------------------------------------------------------------
    this is the image size and remaining sectors on the disk after writing
    is done. 1482 * 2k = <3mb.
    Nothing in relation to thte full size of the disk
    -------------------------------------------------------------------------------------------
    BURN-Free is ON.
    Turning BURN-Free off
    Performing OPC...
    Starting new track at sector: 0
    Track 01: 699 of 699 MB written (fifo 100%) [buf 95%] 19.5x.
    Track 01: Total bytes read/written: 733929472/733929472 (358364 sectors).
    -------------------------------------------------------------------------------------------------
    I did not use BURN-Free, and it reports 699mb with 733929472 bites.
    -------------------------------------------------------------------------------------------------

    I think in general, you are confusing the formatted capacity with the
    raw physical size. Yes, these CDs are 80 minute CDs, and they report
    803mb of space (unformatted). CD audio is burned in a different format,
    and not subject to the same space loss associated with a formated
    filesystem as we see with data so audio can use the entire space. A
    filesystem is different, For example, a 20GB hard disk usually only gets
    about 19GB of filesystem space. The same occurs on a CD with data.
     Thus 700MB is the limit for data on this size CD.

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Coume - Lubox.com: "How to add some fonts to Gimp?"

    Relevant Pages

    • Help on disk format when upgrade dosFS patch.
      ... format the SCSI disk, I found the disk format is a little bit different ... total number of sectors: 4,233,600 ... first cluster is in sector # 525 ...
      (comp.os.vxworks)
    • Re: Transfer floppy files to CDROM?
      ... these commands let you read or write the entire track in a single rotation of the disk. ... sectors in a given operation, to give the computer time to process the selection of the next sector. ... which simply format the disk with the physical sectors interleaved, ...
      (comp.os.cpm)
    • Re: Transfer floppy files to CDROM?
      ... single rotation of the disk. ... not a "read raw track data" function - it just reads all the sectors on the ... which simply format the disk with the physical sectors interleaved, ...
      (comp.os.cpm)
    • Re: Recovery of Disks project (CBM disk formatting mysteries...)
      ... On top of the empty sectors being written, I would note that the ROM disassembly shows the following other things happen to the tracks during the CBM format. ... It then measures the difference between the amount of each disk pattern, and does the whole thing over and over again until it "figures ...
      (comp.sys.cbm)
    • Re: conflict of software Nero Recordnow Drivers - or ??
      ... disk package anywhere. ... If Not when Would I format a disk? ... For most normal disc burning projects, music CDs, playable DVDs, Photo CDs, ... I know I did have DLA, On both drives and I was using when asked if I ...
      (microsoft.public.windowsxp.hardware)