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 314198 Details for
Bug 444527
RFE: ext4/ext4dev support in anaconda for RHEL5
[?]
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]
ext4dev support - detection of partitions
ext4_detection.patch (text/plain), 1.29 KB, created by
Radek Vykydal
on 2008-08-13 11:58:42 UTC
(
hide
)
Description:
ext4dev support - detection of partitions
Filename:
MIME Type:
Creator:
Radek Vykydal
Created:
2008-08-13 11:58:42 UTC
Size:
1.29 KB
patch
obsolete
>diff --git a/fsset.py b/fsset.py >index 890341e..cf423a1 100644 >--- a/fsset.py >+++ b/fsset.py >@@ -2923,6 +2923,8 @@ def getFStoTry(device): > create = 0 > else: > create = 1 >+ if ext2HasTestFSFlag(device): >+ rc.append("ext4dev") > if isys.ext2HasJournal(device, makeDevNode = create): > rc.append("ext3") > rc.append("ext2") >@@ -3058,3 +3060,17 @@ def getDiskPart(dev): > partNum = None > > return (name, partNum) >+ >+def ext2HasTestFSFlag(device): >+ >+ import re >+ r = re.compile(r'^Filesystem flags:.*test_filesystem') >+ >+ args = ["-h", device] >+ output = iutil.execWithCapture("dumpe4fs", args, stderr = "/dev/tty5") >+ >+ for line in output.split("\n"): >+ if r.match(line): >+ return True >+ return False >+ >diff --git a/partedUtils.py b/partedUtils.py >index 25a8f0d..6d5ec70 100644 >--- a/partedUtils.py >+++ b/partedUtils.py >@@ -484,7 +484,10 @@ def sniffFilesystemType(device): > # ext2 check > if struct.unpack("<H", buf[1080:1082]) == (0xef53,): > if isys.ext2HasJournal(dev, makeDevNode = 0): >- return "ext3" >+ if fsset.ext2HasTestFSFlag(dev): >+ return "ext4dev" >+ else: >+ return "ext3" > else: > return "ext2" >
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 444527
:
314196
| 314198 |
314540
|
314545
|
314546