Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 314187 Details for
Bug 456001
mkdumprd unable to detect USB root filesystem
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
new corrected patch
mkdumprd.patch (text/plain), 1.73 KB, created by
Neil Horman
on 2008-08-13 10:52:08 UTC
(
hide
)
Description:
new corrected patch
Filename:
MIME Type:
Creator:
Neil Horman
Created:
2008-08-13 10:52:08 UTC
Size:
1.73 KB
patch
obsolete
>Index: mkdumprd >=================================================================== >RCS file: /cvs/extras/rpms/kexec-tools/devel/mkdumprd,v >retrieving revision 1.23 >diff -u -r1.23 mkdumprd >--- mkdumprd 14 Jul 2008 14:52:37 -0000 1.23 >+++ mkdumprd 13 Aug 2008 10:50:27 -0000 >@@ -135,8 +135,7 @@ > } > > findone() { >- echo nash-find "$@" | /sbin/nash --force --quiet \ >- | /bin/awk '{ print $1; exit; }' >+ find "$@" | /bin/awk '{ print $1; exit; }' > } > > findall() { >@@ -269,6 +268,9 @@ > [ "$PWD" = "/sys" ] && return > cd .. > done >+ >+ IS_USB=`echo $1 | grep usb` >+ > cd $(readlink ./device) > while [ ! -f modalias ]; do > [ "$PWD" = "/sys/devices" ] && return >@@ -277,6 +279,10 @@ > modalias=$(cat modalias) > for driver in $(modprobe --set-version $kernel --show-depends $modalias 2>/dev/null| awk '{ print gensub(".*/","","g",$2) }') ; do > findmodule ${driver%%.ko} >+ if [ -n "$IS_USB" ] >+ then >+ findmodule usb_storage.ko >+ fi > done > } > >@@ -293,11 +299,19 @@ > continue > fi > vecho "Looking for driver for device $device" >+ IS_LINK="" > device=`echo $device | sed 's/\//\!/g'` >- sysfs=$(findone -type d /sys/block -name $device) >- [ -z "$sysfs" ] && return >+ sysfs=$(findone /sys/block -type d -name $device) >+ if [ -z "$sysfs" ] >+ then >+ sysfs=$(findone /sys/block -type l -name $device) >+ [ -z "$sysfs" ] && return >+ IS_LINK=`readlink $sysfs` >+ else >+ IS_LINK=`readlink $sysfs/device` >+ fi > pushd $sysfs >/dev/null 2>&1 >- findstoragedriverinsys >+ findstoragedriverinsys $IS_LINK > popd >/dev/null 2>&1 > done > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 456001
:
312812
|
313889
|
313986
|
314013
|
314015
|
314121
|
314187
|
314309