[Bug 678419] [NEW] volname does not work for dvd's / udf images

Launchpad Bug Tracker 678419 at bugs.launchpad.net
Sat Nov 27 17:04:11 UTC 2010


You have been subscribed to a public bug by Scott Ritchie (scottritchie):

Binary package hint: eject

The package 'eject' includes the handy utility 'volname'.
eject works with both cd-roms and dvds, but volname doesn't.
Let's fix that.  I had a quick look at what it would take.

First, udf seems complex, so rather than extend the simple
hardcoded iso parser in volname.c, it might make sense to
use libdvdread's handy UDFGetVolumeIdentifier() function,
and fall back to the existing iso parser if that fails (e.g. if the disc
is not udf format).

Second, volname currently right-justifies the volume name,
which probably works nicely with isos because their names
are space-padded, but looks funny with dvds, because 
UDFGetVolumeIdentifier does not space-pad.  Might want
to left-justify the output of volname, or remove the padding.

Third, libdvdread suffers from a bug
( http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1451 )
which keeps it from reading the volume name properly.
This is fixed upstream, but they haven't don't a release
yet, so we'd want to include a patch.

Fourth, libdvd's DVDOpen() function prints an annoying
warning about encrypted dvds not being supported, even
when you're just getting a volume name.  That probably should
be suppressed or printed later, so it's not seen when just
retrieving the volume name.

I'll attach my quickie patches to the eject and libdvdread packages
showing what I have so far.  Ideally, someone will reply
and say "Oh, we already fixed all that" :-)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: eject 2.1.5+deb1+cvs20081104-7
ProcVersionSignature: Ubuntu 2.6.32-25.45-generic 2.6.32.21+drm33.7
Uname: Linux 2.6.32-25-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Sun Nov 21 23:59:49 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: eject

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


** Tags: apport-bug i386 lucid
-- 
volname does not work for dvd's / udf images
https://bugs.launchpad.net/bugs/678419
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.



More information about the Ubuntu-sponsors mailing list