[blivet:master 5/6] Make it possible for NTFS to recognize the label it reads.
mulhern
amulhern at redhat.com
Fri Dec 5 16:08:35 UTC 2014
The regular expression was incorrect because NTFS really wasn't being
tested, because no NTFS filesystem could be created.
Signed-off-by: mulhern <amulhern at redhat.com>
---
blivet/formats/fslabel.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blivet/formats/fslabel.py b/blivet/formats/fslabel.py
index f6a48c8..0e5a8a3 100644
--- a/blivet/formats/fslabel.py
+++ b/blivet/formats/fslabel.py
@@ -194,7 +194,7 @@ class NTFSLabel(FSLabelApp):
name = "ntfslabel"
reads = True
- _label_regex = r'label = "(?P<label>.*)"'
+ _label_regex = r'(?P<label>.*)'
def _writeLabelArgs(self, fs):
return [fs.device, fs.label]
--
1.9.3
More information about the anaconda-patches
mailing list