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 157877 Details for
Bug 244994
RHEL 5.1: anaconda fails to mark iSCSI root with _netdev mount option
[?]
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]
anaconda-device-options.patch
anaconda-device-options.patch (text/plain), 2.34 KB, created by
Mark McLoughlin
on 2007-06-26 10:59:06 UTC
(
hide
)
Description:
anaconda-device-options.patch
Filename:
MIME Type:
Creator:
Mark McLoughlin
Created:
2007-06-26 10:59:06 UTC
Size:
2.34 KB
patch
obsolete
>--- anaconda-11.1.2.44/fsset.py.device-options 2007-06-26 05:01:31.701451000 -0400 >+++ anaconda-11.1.2.44/fsset.py 2007-06-26 05:30:56.128860000 -0400 >@@ -1250,7 +1250,7 @@ > fstab = fstab + entry.device.getComment() > fstab = fstab + format % (device, entry.mountpoint, > entry.fsystem.getName(), >- entry.options, entry.fsck, >+ entry.getOptions(), entry.fsck, > entry.order) > return fstab > >@@ -1264,8 +1264,9 @@ > # swap doesn't end up in the mtab > if entry.fsystem.getName() == "swap": > continue >- if entry.options: >- options = "rw," + entry.options >+ options = entry.getOptions() >+ if options: >+ options = "rw," + options > else: > options = "rw" > mtab = mtab + format % (devify(entry.device.getDevice()), >@@ -1987,11 +1988,7 @@ > self.fsystem = fsystem > self.origfsystem = origfsystem > self.migrate = migrate >- if options: >- self.options = options >- else: >- self.options = fsystem.getDefaultOptions(mountpoint) >- self.options += device.getDeviceOptions() >+ self.options = options > self.mountcount = 0 > self.label = None > if fsck == -1: >@@ -2055,6 +2052,12 @@ > > def getMountPoint(self): > return self.mountpoint >+ >+ def getOptions(self): >+ options = self.options >+ if not options: >+ options = self.fsystem.getDefaultOptions(self.mountpoint) >+ return options + self.device.getDeviceOptions() > > def setFormat (self, state): > if self.migrate and state: >@@ -2094,7 +2097,7 @@ > " bytesPerInode: %(bytesPerInode)s label: %(label)s\n"% > {"device": self.device.getDevice(), "mountpoint": mntpt, > "fsystem": self.fsystem.getName(), "format": self.format, >- "mounted": self.mountcount, "options": self.options, >+ "mounted": self.mountcount, "options": self.getOptions(), > "bytesPerInode": self.bytesPerInode, "label": self.label}) > return str >
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 244994
: 157877