News for hackers. Stuff that matters.
Re:GNUstep LiveCD 2017 by cpach on Thursday August 10, 2017 @10:07AM (#14979805)
Do you still get plug and play for e.g. USB drives and such when using Windowmaker? (As compared to a full desktop environment such as XFCE or KDE.)
Re:GNUstep LiveCD 2017 by notalaser on Thursday August 10, 2017 @10:21AM (#14979932)
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).
Re:GNUstep LiveCD 2017 by JdeBP on Thursday August 10, 2017 @10:48AM (#14980238)
Of course, since the headlined article mentions the absence of systemd, this raises the question of whether there is udev in there.
Re:GNUstep LiveCD 2017 by vesinisa on Thursday August 10, 2017 @11:00AM (#14980368)
They do have it: 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.

Re:GNUstep LiveCD 2017 by ktRolster on Thursday August 10, 2017 @03:46PM (#14983406)
My understanding is it's in the same repository (for convenience), but is logically separate, so "forking" it mainly means copying the correct directory.
Re:GNUstep LiveCD 2017 by gens on Thursday August 10, 2017 @04:57PM (#14984175)
No, it's tied to systemd. That was one of the big reasons behind systemd adoption in the first place.
Re:GNUstep LiveCD 2017 by LukeShu on Thursday August 10, 2017 @06:42PM (#14985045)
Eh, not really. Many Parabola users who use OpenRC instead of systemd still use systemd-udev, as opposed to eudev or one of the other non-system forks.
Re:GNUstep LiveCD 2017 by notalaser on Thursday August 10, 2017 @12:13PM (#14981132)
I 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).
Re:GNUstep LiveCD 2017 by JdeBP on Friday August 11, 2017 @12:23PM (#14991420)
The headlined article explains that it is Debian 9, which does not have eudev, nor vdev (which is in Devuan), nor Suckless mdev.
Re:GNUstep LiveCD 2017 by cpach on Thursday August 10, 2017 @10:31AM (#14980052)
Cool. Is much tweaking needed to get it to work smoothly?
Re:GNUstep LiveCD 2017 by vesinisa on Thursday August 10, 2017 @10:54AM (#14980301)
If 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.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.

Re:GNUstep LiveCD 2017 by notalaser on Thursday August 10, 2017 @12:17PM (#14981181)
Honestly -- 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?)