ldm icon indicating copy to clipboard operation
ldm copied to clipboard

udev versus ldm

Open kaihendry opened this issue 5 years ago • 1 comments

Bit confused by this comment https://www.youtube.com/watch?v=d0X3EVw0QgY&lc=UgzwzYqPqaVb8dYfKbl4AaABAg

Why should I be using ldm over say /usr/lib/udev/rules.d? Many thanks!

kaihendry avatar Jun 26 '20 09:06 kaihendry

Sorry for the late reply.

ldm is a thin automation layer built on top of udev that abstracts away the boring bookkeeping you'd have to do by hand in a udev-rule callback (pick a mountpoint, pick some default options depending on the filesystem, invoke the user-specified callbacks, set the gid/uid and so on...).

LemonBoy avatar Jul 06 '20 07:07 LemonBoy