Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DVD+RW blanking?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Mon Jun 20, 2005 9:40 pm    Post subject: DVD+RW blanking? Reply with quote

Ok so I have a DVD+RW I am using to learn the process of DVD authoring in linux I am following this wonderful guide:

https://forums.gentoo.org/viewtopic.php?t=117709&highlight=dvdauthor

I have a tiny script that is blanking and writing the dvd for me when I inevitably screw the DVD up and must re-author. In it I have this line:

growisofs -Z /dev/dvd=/dev/zero

What I am wondering is this the proper method for blanking the media before calling

growisofs -Z /dev/dvd -dvd-video DVD/

If I don't do the former blank line growisofs throws an error. Is this leading to a premature death of the media? Do I have no other choice considering what I am doing with the media?
_________________
Immanuel doesnt pun cuz he Kant!
Back to top
View user's profile Send private message
jdgill0
Veteran
Veteran


Joined: 25 Mar 2003
Posts: 1366
Location: Lexington, Ky -- USA

PostPosted: Tue Jun 21, 2005 3:30 am    Post subject: Reply with quote

th0th696,

The man page for growisofs seems to indicate what you said as being proper. You can also blank DVDs with dvd+rw-format, from the app-cdr/dvd+rw-tools. There is also means of blanking with the app-cdr/cdrecord-prodvd package.
_________________
Vim has excellent syntax highlighting for configuration files: emerge gentoo-syntax
Learn how to use Vim: vimtutor
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Tue Jun 21, 2005 5:50 am    Post subject: exactly Reply with quote

Yes, this is the problem apparently you should only dvd+rw-format a dvd+rw once. As I understand it. But if you do:

growisofs -Z /dev/dvd=/dev/zero

then you are physically writing a zero to every bit on the dvd+rw media, no? And does using dvd+rw-format in some write to fewer sectors therefore prolonging the life of said dvd+rw? Or does any other utility do this more efficiently?
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue Jun 21, 2005 6:29 am    Post subject: Reply with quote

There is an authoring page here you may find interesting.. in it, use of dvd+rw-format /dev/xxx is mentioned.
http://www.tappin.me.uk/Linux/dvd.html and http://fy.chalmers.se/~appro/linux/DVD+RW/

I use this as the first stage of preparing +rw media for packet writing too.
Mvh
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Tue Jun 21, 2005 7:09 am    Post subject: Commands? Reply with quote

Would you mind giving the command you use to blank your media?
Back to top
View user's profile Send private message
dh3rm3
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2003
Posts: 101

PostPosted: Tue Jun 21, 2005 7:45 am    Post subject: Reply with quote

Using cdrecord-prodvd
Code:

cdrecord-ProDVD -v dev=ATAPI:0,1,0 -blank=all
cdrecord-ProDVD -v dev=ATAPI:0,1,0 -blank=fast

_________________
dh3rm3's place
Back to top
View user's profile Send private message
mnxAlpha
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 210

PostPosted: Tue Jun 21, 2005 9:25 am    Post subject: Reply with quote

Don't bother. Just write over the top of them. Unlike CD-RWs, DVD+RWs do not need to be blanked before you use them. I think DVD-RWs do (I've not written over any of the ones I have yet), but DVD+RWs certainly do not. Just write the new image over the top of the old one.

If you actually want to erase the contents of the disc, just write the contents of /dev/zero to the disc, as you're already doing. But you only need to do that if you want to end up with a blank disc.
Back to top
View user's profile Send private message
Cintra
Advocate
Advocate


Joined: 03 Apr 2004
Posts: 2111
Location: Norway

PostPosted: Tue Jun 21, 2005 10:32 am    Post subject: Re: Commands? Reply with quote

th0th696 wrote:
Would you mind giving the command you use to blank your media?

Please read the link I gave you http://fy.chalmers.se/~appro/linux/DVD+RW/ ..they are the people who wrote dvd+rw-tools if I understand correctly!

To quote them
Quote:
Formatting the DVD+RW media. Virgin DVD+RW media needs to be initally formatted prior usage. Once again, only virgin DVD+RW media needs to be formatted.


I already gave you that command
Code:
dvd+rw-format /dev/xxx

where xxx should be replaced by hdc, hdd, or whatever your burner is...
_________________
"I am not bound to please thee with my answers" W.S.
Back to top
View user's profile Send private message
mnxAlpha
Apprentice
Apprentice


Joined: 15 Sep 2004
Posts: 210

PostPosted: Tue Jun 21, 2005 2:39 pm    Post subject: Reply with quote

You only need to do that with new media. If you're overwriting an old one, you don't need to do that again (and, in fact, you can't do that again - it won't work).
Back to top
View user's profile Send private message
th0th696
Apprentice
Apprentice


Joined: 08 Dec 2004
Posts: 185

PostPosted: Tue Jun 21, 2005 4:59 pm    Post subject: Confusing? Reply with quote

Let me sum up :lol:

dvd+rw-format is to be used only once on dvd+rw media, afterwhich you SHOULD be able to just write over the old data.

However, when I run this command to create my new DVD:

growisofs -Z /dev/dvd -dvd-video DVD/

I get an error telling me that an iso filesystem is already there and growisofs refuses to burn.

So at this point I am using this command to blank:

growisofs -Z /dev/dvd=/dev/zero

Which physically writes a zero to every bit on the disc (as I understand it). What my question is, is whether or not this line (or any other):

cdrecord-ProDVD -v dev=ATAPI:0,1,0 -blank=fast

is better on the lifespan of the media?
Back to top
View user's profile Send private message
Darknight
Guru
Guru


Joined: 26 Jan 2004
Posts: 483
Location: Italy

PostPosted: Sun Oct 01, 2006 9:56 pm    Post subject: Reply with quote

Someone may find this topic, so I add my 2c.

I've been investigating this, my reasoning is that using growisofs with /dev/zero as input is as good as it can be.
Even if I'm not an expert I've come to the conclusion that it will burn a new blank file system in the already formatted media without rewriting the "format area".
If this wasn't true then every growisfs, even those with proper iso images, would imply a reformat of the media.

From http://fy.chalmers.se/~appro/linux/DVD+RW/
Quote:
Note that re-formatting procedure does not substitute for blanking. If you want to nullify the media, e.g. for privacy reasons, do it explicitly with 'growisofs -Z /dev/scdN=/dev/zero'. Otherwise just write over previous recording as it simply wasn't there, no re-formatting is required.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum