5 ms·
Yes. This is all handled via udev, udisks & co., XFCE, Gnome and KDE have nothing to do with it (other than having it work more or less out of the box).
by notalaser 9y ago
Yes. This is all handled via udev, udisks & co., XFCE, Gnome and KDE have nothing to do with it (other than having it work more or less out of the box).
- cpach 9y agoCool. Is much tweaking needed to get it to work smoothly?
- vesinisa 9y agoIf you mean auto-mounting on inserting USB devices, it is handled a bit differently depending on your distribution. E.g. https://wiki.archlinux.org/index.php/Udisks https://wiki.archlinux.org/index.php/Udisks https://wiki.debian.org/AutoFs https://wiki.debian.org/AutoFs I personally don't think it's that much of a trouble to just journalctl for the /dev/sdX of the inserted device and then sudo mount /dev/sdX /mnt/tmp manually, because I so rarely plug USB drives. For permanently attached or frequently used devices you can add them to fstab and mount by UUID to a fixed path. Either way, you will still always need to umount manually or risk loosing data.
- notalaser 9y agoHonestly -- I have no idea, I only had to do it a few times, on Yocto and buildroot images, and in pretty restricted cases. It was pretty easy (basically udev has this file which matches a set of device selection rules with a set of actions, effectively saying "if I encounter a device of this type, I'm going to do these particular things"), but I googled my way through it. I expect there are some distro-specific hoops to jump through, but I have no idea which ones -- I really don't like automounting, I keep it disabled even on KDE. (Why? Old habits die hard, I guess?)
- JdeBP 9y agoOf course, since the headlined article mentions the absence of systemd, this raises the question of whether there is udev in there.
- vesinisa 9y agoThey do have it: http://www.aiei.ch/gnustep/gnustep-2.5.txt http://www.aiei.ch/gnustep/gnustep-2.5.txt udev existed before systemd, but was merged to it sometime in 2014. By quick Googling there are still several forks that maintain it as a separate component.
- ktRolster 9y agoMy understanding is it's in the same repository (for convenience), but is logically separate, so "forking" it mainly means copying the correct directory.
- notalaser 9y agoI don't know what they use, but there's always eudev, Gentoo's fork which works just fine, and offers pretty much everything that udev offers (except for the systemd dependency).
- JdeBP 9y agoThe headlined article explains that it is Debian 9, which does not have eudev, nor vdev (which is in Devuan), nor Suckless mdev.