From 31a0d1795d28d56e26ea5682a557753dd420a1ab Mon Sep 17 00:00:00 2001 From: Francois Andriot Date: Sun, 17 Feb 2013 12:43:57 +0100 Subject: kdf: ignores 'LABEL=' lines (legacy RedHat patch) --- kdf/disklist.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kdf/disklist.cpp b/kdf/disklist.cpp index b98081c..3526999 100644 --- a/kdf/disklist.cpp +++ b/kdf/disklist.cpp @@ -183,8 +183,9 @@ TQFile f(FSTAB); while (! t.eof()) { s=t.readLine(); s=s.simplifyWhiteSpace(); - if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) ) { + if ( (!s.isEmpty() ) && (s.find(DELIMITER)!=0) && (s.find("LABEL=")!=0) ) { // not empty or commented out by '#' + // skip LABEL entries as long as kdf can't handle them properly // kdDebug() << "GOT: [" << s << "]" << endl; disk = new DiskEntry();// TQ_CHECK_PTR(disk); disk->setMounted(FALSE); -- cgit v1.2.3