LemonBoy / ldm

A lightweight device mounter, with libudev as only dependency
MIT License
204 stars 23 forks source link

udev versus ldm #77

Open kaihendry opened 4 years ago

kaihendry commented 4 years ago

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!

LemonBoy commented 4 years ago

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...).