resolve symlinks when reading device nodes from fstab
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1130866
This commit is contained in:
parent
88494c8607
commit
b7dfc67ca9
|
@ -234,6 +234,8 @@ bool EditMountPointDialogWidget::readMountpoints(const QString& filename)
|
|||
type = MountEntry::label;
|
||||
device = findBlkIdDevice("LABEL", QString(device).remove("LABEL="));
|
||||
}
|
||||
else if (device.startsWith("/"))
|
||||
device = QFile::symLinkTarget(device);
|
||||
|
||||
if (!device.isEmpty())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue