Registered Member
|
I've been using gparted to modify partitions on removable devices. KDE keeps automounting the partitions when gparted performs certain actions.
To start, I unmount the device, then start gparted (with root permissions). Immediately, KDE remounts the device. That's fine, if a little annoying. I unmount again, and (for example) start resizing and moving partitions. As gparted starts to resize, KDE remounts the device again! This is obviously very dangerous, as partitions should not be mounted when resized. Then, as the move stage commences, KDE remounts the device yet again! (I click like crazy on the eject button, to prevent filesystem corruption.) Is this a bug, or a (dangerous) feature? If the former, I'm happy to file it. Also, is there a workaround to stop KDE from automounting temporarily. Arch Linux KDE 4.13.3 gparted 0.19.1-1
Last edited by sparhawk on Thu Aug 14, 2014 10:56 am, edited 1 time in total.
|
Administrator
|
By default, KDE doesn't automount devices. My guess is you enabled this behaviour in System Settings > Removable Devices. I'd suggest disabling it next time you resize a disk.
In regards to why KDE is automounting when gparted does it's work - my guess is it asks the kernel to re-enumerate file systems on the disk it is working with. This triggers "new partition" notifications in UDisks, which KDE then acts on accordingly.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Good points. It's probably something specific to Arch, since I never saw this in Kubuntu. I've unchecked the automount option as suggested, which should hopefully fix this problem. FWIW I hadn't changed this in my migration from Kubuntu from Arch.
I imagine I could possibly solve this by fiddling with Arch-specific configurations, but turning off automount will do for now. Thanks again, bcooksley. |
Administrator
|
Not a problem. Interesting though - the infrastructure involved should be common among all distributions.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
It could possibly be systemd related. I also had issues with Network Manager being slow to connect in Arch, but not Kubuntu, which I possibly relates to Arch's use of systemctl for suspend.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]