Find the answer to your Linux question:
Results 1 to 4 of 4
When I insert my cd-rw and run `dd if=/dev/zero of=/dev/sr0` it started to work, does something with cd, reports that 680 MBs was written, but actually I still able to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Apr 2010
    Location
    Novosibirsk, Russia
    Posts
    145

    Question Clear cd with dd


    When I insert my cd-rw and run `dd if=/dev/zero of=/dev/sr0` it started to work, does something with cd, reports that 680 MBs was written, but actually I still able to access the old files correctly. It does not write anything! Why it happens?..

  2. #2
    Linux Newbie theNbomr's Avatar
    Join Date
    May 2007
    Location
    BC Canada
    Posts
    155
    This fails for the same reason you cannot simply copy data files to your CD. You need to use a burner application to erase and write to a CD. Most such applications have an 'erase' function to allow you to do what you are trying to accomplish. Alrternatively, you might be able to use dd to create a zero-filled image file of the size of the CD, and burn it to the CD.
    --- rod.
    Stuff happens. Then stays happened.

  3. #3
    Linux Newbie
    Join Date
    Apr 2010
    Location
    Novosibirsk, Russia
    Posts
    145

    Smile

    Quote Originally Posted by theNbomr View Post
    This fails for the same reason you cannot simply copy data files to your CD. You need to use a burner application to erase and write to a CD. Most such applications have an 'erase' function to allow you to do what you are trying to accomplish. Alrternatively, you might be able to use dd to create a zero-filled image file of the size of the CD, and burn it to the CD.
    --- rod.
    okay, I understood. I think /dev/zero will be appropriate in any case )

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,760
    Writing data to CD-RW/DVD-RW via copy/move commands is called "packet writing" (AKA Mount Rainier support.) Is has been supported in Linux for some time. You can find more information with Google.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •