Package Details: ldm 0.7-2

Git Clone URL: (read-only, click to copy)
Package Base: ldm
Description: A lightweight device mounter
Upstream URL:
Licenses: MIT
Conflicts: ldm-git
Provides: ldm
Submitter: Rolinh
Maintainer: TheLemonMan (dequis)
Last Packager: dequis
Votes: 53
Popularity: 0.000035
First Submitted: 2012-06-15 20:32
Last Updated: 2017-09-24 05:55

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

evanpurkhiser commented on 2014-03-03 06:44

Here's a PKGBUILD that is slightly more modern

addamm_aur commented on 2014-01-03 15:06

Could be nice that ldm doesn't mount a device into another mountpoint if the *same* device is still pugged-in when system reboots or shutdown/starts!

- When 1st plugged-in my external USB HDD, ldm created this muntpoint "/mnt/44B829F3B829E460/";
- Then I rebooted Arch with the external USB HDD still plugged-in;
- When the system came up, I saw that the ldm created another new mountpoint for the same device and mounted it at "/mnt/44B829F3B829E460_/" (note the underscore added!!!) and the previous mountpoint ("/mnt/44B829F3B829E460/") still exists but it's empty.

Thanks! :)

Anonymous comment on 2013-06-19 07:46

Unfortunately, ldm does not work out of the box when installed via the AUR. The install script does not create the /media directory so ldm shows the following error when trying to mount an USB stick:

Jun 19 09:38:36 arakis ldm[27022]: Error while mounting /dev/sdc1 (No such file or directory)

Could someone please add the relevant mkdir -p /media line to the PKGBUILD? Thanks!

z3bra commented on 2013-04-03 11:34

Because the (few) customizables options are set in the ldm.c:
#define MOUNT_PATH "/media/"
#define CALLBACK_PATH NULL /* script to be executed after a device is mounted */
#define OPT_FMT "uid=%i,gid=%i"
#define MAX_DEVICES 20

Rolinh commented on 2013-03-30 15:24

@z3bra: I'm not sure why you would want to edit ldm.c (as this is the unique source code file)? Do you have an example? For blacklisting you need to edit your fstab and set the noauto option.

z3bra commented on 2013-03-26 16:28

That's such a nice program ! Anyway, I see on github that the few tweak the user can make, are done by editing source code (ldm.c / blacklist.h).
Could the PKGBUILD ask to editing before compilation ? (Like for dwm or evilvte)

Anonymous comment on 2012-12-10 09:47


It's fine compatible with systemd. You just have to make your own ldm.service file but that's quite easy. ( )

Mine is
(replace -u 100 -g 1000 with your values)

Rolinh commented on 2012-12-03 12:49

Please, don't mark it as outdated when it is not. The only official stable release to date is version 0.3 (check

th0th commented on 2012-11-04 23:18

Are you planning to make ldm compatible with systemd?

Alister.Hood commented on 2012-08-23 04:43

Not /usr/share/man.
The mad markdown reader uses this directory.
Of course the file would need to be renamed to