[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/sysadmin/partitionmanager/src/gui
From:       Volker Lanz <vl () fidra ! de>
Date:       2010-05-26 16:52:20
Message-ID: 20100526165220.5F180AC8C0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1130866 by vlanz:

resolve symlinks when reading device nodes from fstab


 M  +2 -0      editmountpointdialogwidget.cpp  


--- trunk/extragear/sysadmin/partitionmanager/src/gui/editmountpointdialogwidget.cpp #1130865:1130866
@@ -234,6 +234,8 @@
 			type = MountEntry::label;
 			device = findBlkIdDevice("LABEL", QString(device).remove("LABEL="));
 		}
+		else if (device.startsWith("/"))
+			device = QFile::symLinkTarget(device);
 
 		if (!device.isEmpty())
 		{
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic