"wodim -msinfo" breaks other commands that use it, by inserting too many lines in stdout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cdrkit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
wodim is used as a replacement for cdrecord, yet it outputs too many lines in stdout to be used properly in a command such as the following:
mkisofs -J -r -V Session2 -C `cdrecord dev=0,0 -msinfo` -M 0,0 -o output.iso /path/to/back/up
This command is found here: http://
"cdrecord -msinfo" used to identify only the "last_sess_
The command "wodim -msinfo" currently outputs the following:
WARNING: the deprecated pseudo SCSI syntax found as device specification.
Support for that may cease in the future versions of wodim. For now,
the device will be mapped to a block device file where possible.
Run "wodim --devices" for details.
77856,86010
Requesting (expecting) that the command "wodim -msinfo" output only the following:
77856,86010
==
Workaround:
# Generates ISO image session1 from dir1
genisoimage -J -r -V session1 -o /tmp/session1.iso /home/me/dir1
# Burns at session1 at 4x
wodim speed=4 fs=16m -v -multi -eject /tmp/session1.iso
# Reads the CDs last session start, next session start and writes it to
/tmp/msi
wodim -msifile=/tmp/msi
# Generates ISO image session2 from dir2
# using the content of /tmp/msi as the multi-session offset
genisoimage -J -r -V session2 -C $(cat /tmp/msi) -M '/dev/scd0' -o
/tmp/session2.iso /home/me/dir2
# Burns at session2 at 4x
wodim speed=4 fs=16m -v -multi -eject /tmp/session2.iso
ProblemType: Bug
Architecture: i386
CheckboxSubmission: 19ba8f45e3d3d7b
CheckboxSystem: 099634613a96bc3
Date: Thu Sep 17 18:54:54 2009
DistroRelease: Ubuntu 9.10
Package: wodim 9:1.1.9-1ubuntu1
ProcEnviron:
LANGUAGE=
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: cdrkit
Uname: Linux 2.6.31-10-generic i686
summary: |
- "wodim -msinfo" breaks commands by inserting too many lines in stdout + "wodim -msinfo" breaks other commands that use it, by inserting too many + lines in stdout |
Upgrading to original software
ftp://ftp. berlios. de/pub/ cdrecord/ alpha/ cdrecord. berlios. de/
http://
fixes the problem. This is one of the bugs that have been introduced by the
"creators" of wodim.