Package Details: ldm 0.7-2

Git Clone URL: https://aur.archlinux.org/ldm.git (read-only)
Package Base: ldm
Description: A lightweight device mounter
Upstream URL: https://github.com/LemonBoy/ldm
Licenses: MIT
Conflicts: ldm-git
Provides: ldm
Submitter: Rolinh
Maintainer: TheLemonMan (dequis)
Last Packager: dequis
Votes: 52
Popularity: 0.002936
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 https://gist.github.com/EvanPurkhiser/9319612

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!

Example:
- 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

@th0th

It's fine compatible with systemd. You just have to make your own ldm.service file but that's quite easy. ( https://wiki.archlinux.org/index.php/Systemd#Writing_custom_.service_files )

Mine is http://paste.archlinux-br.org/2074
(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 https://github.com/LemonBoy/ldm/tags)

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.
/usr/share/mad
The mad markdown reader uses this directory.
Of course the file would need to be renamed to ldm.md
:)