Re: [systemd-devel] creating device nodes

2023-04-05 Thread Richard Hector
Great, thanks - that seems to work: /etc/tmpfiles.d/fuse.conf: #Type Path Mode User Group Age Argument c! /dev/fuse 0666 root root - 10:229 Mind you, I'm not entirely clear on what the '!' is for; I just put it in because the manpage said it was a good idea :-) Now to replicate

Re: [systemd-devel] creating device nodes

2023-04-05 Thread Mantas Mikulėnas
.device units do not mknod, they only represent existing state. /dev/fuse is usually created through tmpfiles.d (which gets its configuration via kmod-static-nodes.service). # kmod static-nodes --format=tmpfiles On Wed, Apr 5, 2023 at 11:13 AM Richard Hector wrote: > Hi all, > > I want to

[systemd-devel] creating device nodes

2023-04-05 Thread Richard Hector
Hi all, I want to create a device (/dev/fuse) in an LXC container. The kernel bit works; I can mknod manually, but I'd rather use a systemd unit, and make it a dependency of mounting filesystems from /etc/fstab. It looks like .device units are supposed to be created automatically if there's