Re: growisofs minus_rw_quickgrow question

2004-03-24 Thread chen zhao
Andy,

   I think what you explained was very clear, so I fully formatted my disk

# dvd+rw-format -force=full /dev/dvd

# dvd+rw-mediainfo /dev/dvd
INQUIRY:[TOSHIBA ][DVD-ROM SD-R6112][1031]
GET [CURRENT] CONFIGURATION:
Mounted Media: 13h, DVD-RW Restricted Overwrite
Media ID:  OPTODISCK001
GET [CURRENT] PERFORMANCE:
Write Performance: 1.0x1385=1350KB/[EMAIL PROTECTED] - 2297887]
Speed Descriptor#0:00/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#10h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Last border-out at:2297888*2KB=4706074624
READ DISC INFORMATION:
Disc status:   complete
Number of Sessions:1
State of Last Session: complete
Number of Tracks:  1
READ TRACK INFORMATION[#1]:
Track State:   complete incremental
Track Start Address:   0*2KB
Free Blocks:   0*2KB
Fixed Packet Size: 16*2KB
Track Size:2297888*2KB
FABRICATED TOC:
Track#1  : [EMAIL PROTECTED]
Track#AA : [EMAIL PROTECTED]
Multi-session Info:[EMAIL PROTECTED]
# cat tmp/VIDEO_TS/* | growisofs -use-the-force-luke=0 -Z /dev/dvd=/dev/fd/0
Executing 'builtin_dd if=/dev/fd/0 of=/dev/dvd obs=32k seek=0'
/dev/dvd: Quick Grow session...
/dev/dvd: Current Write Speed is 1.0x1385KBps.
  7766016/4706074624 ( 0.2%) @1.6x, remaining 50:24
 12419072/4706074624 ( 0.3%) @1.0x, remaining 50:23
 17039360/4706074624 ( 0.4%) @1.0x, remaining 55:02
 21692416/4706074624 ( 0.5%) @1.0x, remaining 53:59
 26312704/4706074624 ( 0.6%) @1.0x, remaining 53:21
 30965760/4706074624 ( 0.7%) @1.0x, remaining 55:21
 35586048/4706074624 ( 0.8%) @1.0x, remaining 54:41
 40206336/4706074624 ( 0.9%) @1.0x, remaining 54:09
 44859392/4706074624 ( 1.0%) @1.0x, remaining 55:25
 49479680/4706074624 ( 1.1%) @1.0x, remaining 54:53
 54099968/4706074624 ( 1.1%) @1.0x, remaining 54:27
 58753024/4706074624 ( 1.2%) @1.0x, remaining 55:22
 63373312/4706074624 ( 1.3%) @1.0x, remaining 54:56
builtin_dd: 32352*2KB out
/dev/dvd: flushing cache
/dev/dvd: writing lead-out
/dev/dvd: reloading tray
However, I can't even mount it back,
# mount /dev/dvd -t udf /mnt/dvd
mount: block device /dev/dvd is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/dvd,
  or too many mounted file systems
# dvd+rw-mediainfo /dev/dvd
INQUIRY:[TOSHIBA ][DVD-ROM SD-R6112][1031]
GET [CURRENT] CONFIGURATION:
Mounted Media: 13h, DVD-RW Restricted Overwrite
Media ID:  OPTODISCK001
GET [CURRENT] PERFORMANCE:
Write Performance: 1.0x1385=1350KB/[EMAIL PROTECTED] - 2297887]
Speed Descriptor#0:00/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#10h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Last border-out at:2297888*2KB=4706074624
READ DISC INFORMATION:
Disc status:   complete
Number of Sessions:1
State of Last Session: complete
Number of Tracks:  1
READ TRACK INFORMATION[#1]:
Track State:   complete incremental
Track Start Address:   0*2KB
Free Blocks:   0*2KB
Fixed Packet Size: 16*2KB
Track Size:2297888*2KB
FABRICATED TOC:
Track#1  : [EMAIL PROTECTED]
Track#AA : [EMAIL PROTECTED]
Multi-session Info:[EMAIL PROTECTED]
Can you please explain what happened, thanks in advance, Chen


From: Andy Polyakov [EMAIL PROTECTED]
To: chen zhao [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: growisofs minus_rw_quickgrow question
Date: Sat, 06 Mar 2004 10:02:37 +0100
 I was trying to write arbitrary files to DVD-RW using growisofs.  
When I
 use
 dumpsomething | growisofs -use-the-force-luke=seek:N -Z 
/dev/dvd=/dev/fd/0,
 the DVD can not be play back. I think it was because the media wasn't
 closed,

Define can not be played back. Point is that under most circumstances
recorder unit is perfectly capable of accessing open media and it's
essential to understand how does can not be played back manifest
itself in order to answer the question. Always(!) complement problem
reports with dvd+rw-mediainfo output (as well as exact growisofs command
line and exact output).
 but I don't know how to set quickgrown=1 to active Close session
 cmd in minus_rw_finalize.
quickgrown is DVD-RW Restricted Overwrite thing, so I assume we're
talking about DVD-RW Restricted Overwrite. Note that in order for the
referred procedure to work with DVD-RW media, the latter has to be
*fully* formatted prior recording(*), e.g. with 'dvd+rw-format
-force=full /dev/dvd'(**). Why? Here is how DVD-RW Restricted Overwrite
works. Imagine you've just formatted your DVD-RW disc with
'dvd+rw-format -force /dev/dvd'. The only thing you can do with it at
this point is 

Re: growisofs minus_rw_quickgrow question

2004-03-24 Thread Lourens Veen
On Wed 24 March 2004 23:18, chen zhao wrote:
 Andy,

snip
 Can you please explain what happened, thanks in advance, Chen

You create a disk with growISOfs, and then try to mount it as a UDF 
filesystem. That's not going to work. growisofs makes ISO9660 
filesystems, so you should mount with -t iso9660, not with -t udf.

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key



Re: growisofs minus_rw_quickgrow question

2004-03-24 Thread chen zhao
Andy,
   I think what you explained was very clear, so I fully formatted my disk
# dvd+rw-format -force=full /dev/dvd
# dvd+rw-mediainfo /dev/dvd
INQUIRY:[TOSHIBA ][DVD-ROM SD-R6112][1031]
GET [CURRENT] CONFIGURATION:
Mounted Media: 13h, DVD-RW Restricted Overwrite
Media ID:  OPTODISCK001
GET [CURRENT] PERFORMANCE:
Write Performance: 1.0x1385=1350KB/[EMAIL PROTECTED] - 2297887]
Speed Descriptor#0:00/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#10h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Last border-out at:2297888*2KB=4706074624
READ DISC INFORMATION:
Disc status:   complete
Number of Sessions:1
State of Last Session: complete
Number of Tracks:  1
READ TRACK INFORMATION[#1]:
Track State:   complete incremental
Track Start Address:   0*2KB
Free Blocks:   0*2KB
Fixed Packet Size: 16*2KB
Track Size:2297888*2KB
FABRICATED TOC:
Track#1  : [EMAIL PROTECTED]
Track#AA : [EMAIL PROTECTED]
Multi-session Info:[EMAIL PROTECTED]
# cat tmp/VIDEO_TS/* | growisofs -use-the-force-luke=0 -Z /dev/dvd=/dev/fd/0
Executing 'builtin_dd if=/dev/fd/0 of=/dev/dvd obs=32k seek=0'
/dev/dvd: Quick Grow session...
/dev/dvd: Current Write Speed is 1.0x1385KBps.
  7766016/4706074624 ( 0.2%) @1.6x, remaining 50:24
 12419072/4706074624 ( 0.3%) @1.0x, remaining 50:23
 17039360/4706074624 ( 0.4%) @1.0x, remaining 55:02
 21692416/4706074624 ( 0.5%) @1.0x, remaining 53:59
 26312704/4706074624 ( 0.6%) @1.0x, remaining 53:21
 30965760/4706074624 ( 0.7%) @1.0x, remaining 55:21
 35586048/4706074624 ( 0.8%) @1.0x, remaining 54:41
 40206336/4706074624 ( 0.9%) @1.0x, remaining 54:09
 44859392/4706074624 ( 1.0%) @1.0x, remaining 55:25
 49479680/4706074624 ( 1.1%) @1.0x, remaining 54:53
 54099968/4706074624 ( 1.1%) @1.0x, remaining 54:27
 58753024/4706074624 ( 1.2%) @1.0x, remaining 55:22
 63373312/4706074624 ( 1.3%) @1.0x, remaining 54:56
builtin_dd: 32352*2KB out
/dev/dvd: flushing cache
/dev/dvd: writing lead-out
/dev/dvd: reloading tray
However, I can't even mount it back,
# mount /dev/dvd -t udf /mnt/dvd
mount: block device /dev/dvd is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/dvd,
  or too many mounted file systems
# dvd+rw-mediainfo /dev/dvd
INQUIRY:[TOSHIBA ][DVD-ROM SD-R6112][1031]
GET [CURRENT] CONFIGURATION:
Mounted Media: 13h, DVD-RW Restricted Overwrite
Media ID:  OPTODISCK001
GET [CURRENT] PERFORMANCE:
Write Performance: 1.0x1385=1350KB/[EMAIL PROTECTED] - 2297887]
Speed Descriptor#0:00/2298495 [EMAIL PROTECTED]/s [EMAIL PROTECTED]/s
READ DVD STRUCTURE[#10h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Legacy lead-out at:2298496*2KB=4707319808
READ DVD STRUCTURE[#0h]:
Media Book Type:   32h, DVD-RW book [revision 2]
Last border-out at:2297888*2KB=4706074624
READ DISC INFORMATION:
Disc status:   complete
Number of Sessions:1
State of Last Session: complete
Number of Tracks:  1
READ TRACK INFORMATION[#1]:
Track State:   complete incremental
Track Start Address:   0*2KB
Free Blocks:   0*2KB
Fixed Packet Size: 16*2KB
Track Size:2297888*2KB
FABRICATED TOC:
Track#1  : [EMAIL PROTECTED]
Track#AA : [EMAIL PROTECTED]
Multi-session Info:[EMAIL PROTECTED]
Can you please explain what happened, thanks in advance, Chen

From: Andy Polyakov [EMAIL PROTECTED]
To: chen zhao [EMAIL PROTECTED]
CC: cdwrite@other.debian.org
Subject: Re: growisofs minus_rw_quickgrow question
Date: Sat, 06 Mar 2004 10:02:37 +0100
 I was trying to write arbitrary files to DVD-RW using growisofs.  
When I
 use
 dumpsomething | growisofs -use-the-force-luke=seek:N -Z 
/dev/dvd=/dev/fd/0,
 the DVD can not be play back. I think it was because the media wasn't
 closed,

Define can not be played back. Point is that under most circumstances
recorder unit is perfectly capable of accessing open media and it's
essential to understand how does can not be played back manifest
itself in order to answer the question. Always(!) complement problem
reports with dvd+rw-mediainfo output (as well as exact growisofs command
line and exact output).
 but I don't know how to set quickgrown=1 to active Close session
 cmd in minus_rw_finalize.
quickgrown is DVD-RW Restricted Overwrite thing, so I assume we're
talking about DVD-RW Restricted Overwrite. Note that in order for the
referred procedure to work with DVD-RW media, the latter has to be
*fully* formatted prior recording(*), e.g. with 'dvd+rw-format
-force=full /dev/dvd'(**). Why? Here is how DVD-RW Restricted Overwrite
works. Imagine you've just formatted your DVD-RW disc with
'dvd+rw-format -force /dev/dvd'. The only thing you can do with it at
this point is 

Re: growisofs minus_rw_quickgrow question

2004-03-24 Thread Lourens Veen
On Wed 24 March 2004 23:18, chen zhao wrote:
 Andy,

snip
 Can you please explain what happened, thanks in advance, Chen

You create a disk with growISOfs, and then try to mount it as a UDF 
filesystem. That's not going to work. growisofs makes ISO9660 
filesystems, so you should mount with -t iso9660, not with -t udf.

Lourens
-- 
GPG public key: http://home.student.utwente.nl/l.e.veen/lourens.key