Re: Blanking/Formating a BD-RE
The thing I want to get is the following: I need to get the difference
between a written bd-re (containing toc/filesytem/data/..) and an
"empty" one.
But here my problem starts. When I do a dvd+rw-mediainfo on a media
which was formatted (after it was written with an iso) with dvd+rw-
format I get the following info:
[root@smooth /]# dvd+rw-mediainfo /dev/hdb
INQUIRY: [Optiarc ][BDRW BD-M100A ][1.0e]
GET [CURRENT] CONFIGURATION:
Mounted Media: 43h, BD-RE
Media ID: SONY/ES1
Current Write Speed: 2.0x4495=8991KB/s
Write Speed #0: 2.0x4495=8991KB/s
Speed Descriptor#0: 01/11826175 R@2.0x4495=8991KB/s
W@2.0x4495=8991KB/s
BD SPARE AREA INFORMATION:
Spare Area: 393216/393216=100.0% free
READ DISC INFORMATION:
Disc status: complete
Number of Sessions: 1
State of Last Session: complete
Number of Tracks: 1
READ FORMAT CAPACITIES:
formatted: 11826176*2048=24220008448
00h(3000): 11826176*2048=24220008448
01h(800): 11564032*2048=23683137536
30h(3000): 11826176*2048=24220008448
30h(5000): 11564032*2048=23683137536
30h(1000): 12088320*2048=24756879360
31h(800): 12219392*2048=25025314816
READ TRACK INFORMATION[#1]:
Track State: complete
Track Start Address: 0*2KB
Free Blocks: 0*2KB
Track Size: 11826176*2KB
FABRICATED TOC:
Track#1 : 14@0
Track#AA : 14@11826176
Multi-session Info: #1@0
READ CAPACITY: 11826176*2048=24220008448
Compared with a new one (fresh from the box):
[root@smooth ~]# dvd+rw-mediainfo /dev/hdb
INQUIRY: [Optiarc ][BDRW BD-M100A ][1.0e]
GET [CURRENT] CONFIGURATION:
Mounted Media: 43h, BD-RE
Media ID: SONY/ES1
Current Write Speed: 2.0x4495=8991KB/s
Write Speed #0: 2.0x4495=8991KB/s
Speed Descriptor#0: 01/12219391 R@2.0x4495=8991KB/s
W@2.0x4495=8991KB/s
READ DISC INFORMATION:
Disc status: blank
Number of Sessions: 1
State of Last Session: empty
"Next" Track: 1
Number of Tracks: 1
READ FORMAT CAPACITIES:
unformatted: 12219392*2048=25025314816
00h(3000): 11826176*2048=24220008448
01h(800): 11564032*2048=23683137536
30h(3000): 11826176*2048=24220008448
30h(5000): 11564032*2048=23683137536
30h(1000): 12088320*2048=24756879360
31h(800): 12219392*2048=25025314816
READ TRACK INFORMATION[#1]:
Track State: blank
Track Start Address: 0*2KB
Free Blocks: 0*2KB
Track Size: 0*2KB
Here you can see the difference: in the first output even when I
format the disc with dvd+rw-format it says "completed" and that it has
a TOC.
On the "fresh" media it says blank which is perfect for me.
Anyone has an idea how to know from the dvd+rw-mediainfo output if it
is really blank or if it contains data ?
yours
Arnold
Am 05.03.2008 um 14:20 schrieb Andy Polyakov:
If someone can provide me some tool or instructions how to do it I
could try it on another PC with BD-RE drive.
If the only goal is to render media unmountable, then, as Thomas
suggested, you should find a way to nullify beginning of media. One
way is to 'dd if=/dev/zero bs=1k count=64 | growisofs -Z /dev/cdrom=/
dev/fd/0'. If you ought to nullify the whole thing, e.g. for privacy
reasons, then 'growisofs -Z /dev/cdrom=/dev/zero' would do.
However!!! As it's time consuming procedure it's probably more
appropriate to spend this time on 'dvd+rw-format -format=full /dev/
cdrom', because it will also verify media for eventual defects. On
the other hand if current data-set is much less than media capacity
and you want to nullify only this data, you can save time by
figuring out how large is the data-set and adjusting count in above
mentioned dd command accordingly. For example take "1k-blocks" value
from 'df -k /mnt/cdrom' output and feed it as count to dd. A.
Reply to: