FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 11-01-2010, 12:44 PM
Chris Lumens
 
Default Fix support for "part --ondisk=/dev/disk/by-..." (#621515).

---
storage/udev.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/storage/udev.py b/storage/udev.py
index dd540ab..1659b74 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -49,8 +49,12 @@ def udev_resolve_devspec(devspec):
ret = dev
break
else:
+ spec = devspec
+ if not spec.startswith("/dev/"):
+ spec = os.path.normpath("/dev/" + spec)
+
for link in dev["symlinks"]:
- if devspec == link:
+ if spec == link:
ret = dev
break

--
1.7.1.1

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 06:30 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org