Bug 102056 - devlabel must be run twice to add symlink for USB hard drive
Summary: devlabel must be run twice to add symlink for USB hard drive
Keywords:
Status: CLOSED DUPLICATE of bug 144537
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: devlabel
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-10 01:49 UTC by Chris Runge
Modified: 2014-03-17 02:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 18:58:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Chris Runge 2003-08-10 01:49:11 UTC
Description of problem:

I have a USB hard drive connected to a Cardbus USB 2 card. When I try to use
devlabel to add a symlink for the device in question (/dev/sda1), it is
necessary to run the command twice. The first time it complains that it can't
see the device in /proc/partitions. e.g.,

# /sbin/devlabel add -s /dev/firelite -d /dev/sda1
 
Failure.
The device you are trying to add to devlabel does not show up in
/proc/partitions.

# /sbin/devlabel add -s /dev/firelite -d /dev/sda1
SYMLINK: /dev/firelite -> /dev/sda1
Added /dev/firelite to /etc/sysconfig/devlabel


Version-Release number of selected component (if applicable):

devlabel-0.41.01-1

How reproducible:

100% reproducible if USB hard drive has not yet been mounted

Comment 1 Bill Nottingham 2003-08-11 03:01:02 UTC
Odd, devlabel should be getting run by hotplug anyway.

Comment 2 Bill Nottingham 2005-01-21 23:14:35 UTC

*** This bug has been marked as a duplicate of 144537 ***

Comment 3 Red Hat Bugzilla 2006-02-21 18:58:04 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.