[Bug 432166] [NEW] "wodim -msinfo" breaks other commands that use it, by inserting too many lines in stdout

komputes komputes at gmail.com
Thu Sep 17 23:56:18 BST 2009


Public bug reported:

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://howto-pages.org/cdwriting/08.php


"cdrecord -msinfo" used to identify only the "last_sess_start,next_sess_start" which is needed for using multi-session media. This used to be usable directly in a command such as the one above. "wodim -msinfo" breaks commands by inserting too many lines in stdout.

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: 19ba8f45e3d3d7bf348103cee5a0eeaa
CheckboxSystem: 099634613a96bc3665b92c4a813055e8
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
ProcVersionSignature: Ubuntu 2.6.31-10.34-generic
SourcePackage: cdrkit
Uname: Linux 2.6.31-10-generic i686

** Affects: cdrkit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
"wodim -msinfo" breaks other commands that use it, by inserting too many lines in stdout
https://bugs.launchpad.net/bugs/432166
You received this bug notification because you are a member of Ubuntu
Burning Team, which is subscribed to cdrkit in ubuntu.



More information about the Ubuntu-burning mailing list