Disable unallowed options for udisks/udisks2 in tdehw storage backend

pull/16/head
Slávek Banko 11 years ago
parent 8054860ca3
commit 58852c67b5

@ -626,7 +626,8 @@ TQString TDEStorageDevice::mountDevice(TQString mediaName, TDEStorageMountOption
if( (mountOptions["filesystem"] == "jfs")) {
if (mountOptions["utf8"] == "true") {
optionString.append(",iocharset=utf8");
// udisks/udisks2 for now does not support option iocharset= for jfs
// optionString.append(",iocharset=utf8");
}
}
@ -640,7 +641,8 @@ TQString TDEStorageDevice::mountDevice(TQString mediaName, TDEStorageMountOption
|| (mountOptions["filesystem"] == "ext4")
) {
if (mountOptions.contains("journaling")) {
optionString.append(TQString(",data=%1").arg(mountOptions["journaling"]));
// udisks/udisks2 for now does not support option data= for ext3/ext4
// optionString.append(TQString(",data=%1").arg(mountOptions["journaling"]));
}
}

Loading…
Cancel
Save