growisofs -use-the-force-luke=4gms doesn't work?

张韡武 <[email protected]>
Newsgroups gmane.comp.audio.cd-record
Organization REAL Softservice
Message-ID <[email protected]>
Hello. According to growisofs.c:

 * - -use-the-force-luke=4gms to allow ISO9660 directory structures
 *   to cross 4GB boundary, the option is effective only with DVD+R DL
 *   and for data to be accessible under Linux isofs a kernel patch is
 *   required;

Now I've got a DVD+R DL, failed with 2 trials:

$ growisofs -M /dev/sr0 -speed 1 -use-the-force-luke=4gms -iso-level 2 -r \
  -J -V PHOTOS_YLS -old-root / \
  -graft-points /tmp/empty Photos=Photos/ f-spot=.config/f-spot/
:-( next session would cross 4GB boundary, aborting...

$ growisofs -M /dev/sr0 -speed 1 -use-the-force-luke=4gms -iso-level 2 -r\
  -V PHOTOS_YLS -old-root / \
  -graft-points /tmp/empty Photos=Photos/ f-spot=.config/f-spot/
:-( next session would cross 4GB boundary, aborting...

I wonder if I could workaround this issue by replacing growisofs with 
"genisoimage -C xx,xx -M" followed by "cdrskin"?

Thanks in advance!

P.S.

I verified available space on the DVD+R DL is enough to hold the content, by
first checking Free Blocks with dvd+rw-mediainfo then with genisoimage
-print-size

$ dvd+rw-mediainfo /dev/sr0 
INQUIRY:                [HL-DT-ST][DVDRAM GSA-H10A ][JL02]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         2Bh, DVD+R Double Layer
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:        4.0x1385=5540KB/s
 Write Speed #1:        2.4x1385=3324KB/s
GET [CURRENT] PERFORMANCE:
 Write Performance:     4.0x1385=5540KB/s@[0 -> 4173823]
 Speed Descriptor#0:    02/4173823 [email protected]=4568KB/s [email protected]=5540KB/s
 Speed Descriptor#1:    02/4173823 [email protected]=4568KB/s [email protected]=3324KB/s
READ DVD STRUCTURE[#0h]:
 Media Book Type:       00h, DVD-ROM book [revision 0]
 Media ID:              RITEK/S04
 Legacy lead-out at:    2086912*2KB=4273995776
DVD+R DOUBLE LAYER BOUNDARY INFORMATION:
 L0 Data Zone Capacity: 2086912*2KB, can no longer be set
READ DISC INFORMATION:
 Disc status:           appendable
 Number of Sessions:    9
 State of Last Session: empty
 "Next" Track:          9
 Number of Tracks:      9
READ TRACK INFORMATION[#1]:
 Track State:           partial/complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            1632*2KB
READ TRACK INFORMATION[#2]:
 Track State:           partial/complete
 Track Start Address:   3680*2KB
 Free Blocks:           0*2KB
 Track Size:            608*2KB
READ TRACK INFORMATION[#3]:
 Track State:           partial/complete
 Track Start Address:   6336*2KB
 Free Blocks:           0*2KB
 Track Size:            176*2KB
READ TRACK INFORMATION[#4]:
 Track State:           partial/complete
 Track Start Address:   8560*2KB
 Free Blocks:           0*2KB
 Track Size:            176*2KB
READ TRACK INFORMATION[#5]:
 Track State:           partial/complete
 Track Start Address:   10784*2KB
 Free Blocks:           0*2KB
 Track Size:            2170592*2KB
READ TRACK INFORMATION[#6]:
 Track State:           partial/complete
 Track Start Address:   2183424*2KB
 Free Blocks:           0*2KB
 Track Size:            221968*2KB
READ TRACK INFORMATION[#7]:
 Track State:           partial/complete
 Track Start Address:   2407440*2KB
 Free Blocks:           0*2KB
 Track Size:            257312*2KB
READ TRACK INFORMATION[#8]:
 Track State:           partial/complete
 Track Start Address:   2666800*2KB
 Free Blocks:           0*2KB
 Track Size:            13216*2KB
READ TRACK INFORMATION[#9]:
 Track State:           blank
 Track Start Address:   2682064*2KB
 Next Writable Address: 2682064*2KB
 Free Blocks:           1491760*2KB
 Track Size:            1491760*2KB
FABRICATED TOC:
 Track#1  :             14@0
 Track#2  :             14@3680
 Track#3  :             14@6336
 Track#4  :             14@8560
 Track#5  :             14@10784
 Track#6  :             14@2183424
 Track#7  :             14@2407440
 Track#8  :             14@2666800
 Track#AA :             14@2680016
 Multi-session Info:    #8@2666800
READ CAPACITY:          2680016*2048=5488672768

$ cdrskin -msinfo
cdrskin 0.8.0 : limited cdrecord compatibility wrapper for libburn
cdrskin: scanning for devices ...
cdrskin: ... scanning for devices done
2666800,2682064
$ genisoimage -C 2666800,2682064 -M /dev/sr0 -print-size -iso-level 2 -r \
  -V PHOTOS_YLS -old-root / \
  -graft-points /tmp/empty Photos=Photos/ f-spot=.config/f-spot/
I: -input-charset not specified, using utf-8 (detected in locale settings)
Rock Ridge signatures found
Total extents scheduled to be written = 656996
656996




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.