Bug 87983

Summary: devlabel does not work with cdrom units
Product: [Retired] Red Hat Linux Reporter: David Balažic <david.balazic>
Component: devlabelAssignee: Bill Nottingham <notting>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-01-21 23:13:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description David Balažic 2003-04-04 10:08:31 UTC
Description of problem:

devlabel is more or less unusable with (IDE) CD-ROM units.
It either works or fails with different error messages.

My system :

hde : Teac CD-532E-B , 32x CD-ROM
hdg : Teac CD-W540E  , 40x12x48x CD-MRW

devlabel results :

(hdg has a CD inserted,but not mounted, hde is empty) :

[root@slave6 label]# devlabel  add -d /dev/hdg -s $PWD/cdx
Created symlink /dev/label/cdx -> /dev/hdg
[root@slave6 label]# devlabel  add -d /dev/hde -s $PWD/cdy

/dev/hde does not exist.
Failure.  Since this device does not exist, it did not return an identifier.


( no CD inserted in either drive ) :

[root@slave6 ide]# devlabel  add -d /dev/hde -s $PWD/cde

Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.
[root@slave6 ide]# devlabel  add -d /dev/hdg -s $PWD/cdg

/dev/hdg does not exist.
Failure.  Since this device does not exist, it did not return an identifier.

And ( CD in both drives , both mounted ) :

[root@slave6 mnt]# devlabel  add -d /dev/hde -s $PWD/cde

Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.
[root@slave6 mnt]# devlabel  add -d /dev/hdg -s $PWD/cdg

Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.

And finally, CD in both, none mounted :

[root@slave6 mnt]# devlabel  add -d /dev/hde -s $PWD/cde

Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.
[root@slave6 mnt]# devlabel  add -d /dev/hdg -s $PWD/cdg

Failure.
The device you are trying to add to devlabel does not show up in


Version-Release number of selected component (if applicable):
devlabel-0.26.08-3
kernel-2.4.20-8.athlon.rpm

Comment 1 Bill Nottingham 2004-09-08 19:50:22 UTC
Please try to reproduce on a current release (FC1/FC2).