Permalink
Commits on Aug 11, 2017
  1. Merge pull request #71 from jschwab/fix-version-number

    LemonBoy committed Aug 11, 2017
    Adjust VERSION in Makefile to match most recent tag
Commits on Jul 25, 2017
  1. Remove a global variable that's not needed

    LemonBoy committed Jul 25, 2017
    The pointer to the lock file is only needed for a short time.
Commits on Jul 16, 2017
  1. Make the systemd service respect BINDIR

    LemonBoy committed Jul 16, 2017
    Also update the copyright year in some source files.
Commits on Feb 5, 2017
  1. Merge pull request #70 from RomanSaveljev/configurable-fmask-dmask

    LemonBoy committed Feb 5, 2017
    Allow fmask and dmask configuration for systemd unit
Commits on Feb 4, 2017
  1. Allow fmask and dmask configuration for systemd unit

    RomanSaveljev committed Feb 4, 2017
    Adds optional `FMASK_DMASK` variable to `/etc/ldm.conf`. The value defaults
    to `0133,0002` and is passed to the daemon in `-m` parameter
Commits on Sep 30, 2016
  1. Show a nice error message when the folder doesn't exist.

    LemonBoy committed Sep 30, 2016
    Also update the copyright years.
Commits on Mar 21, 2016
  1. Merge pull request #63 from maroviher/master

    LemonBoy committed Mar 21, 2016
    In some cases it is necessary to do something before an already unplugged device will be unmounted by ldm.
Commits on Mar 18, 2016
  1. In some cases it is necessary to do something before an already unplu…

    maroviher
    maroviher committed Mar 18, 2016
    …gged device will be unmounted by ldm.
    
    For example: NFS clients can hold a file on already unplugged disk on the NFS server on a disk mounted by ldm.
    To avoid such situation we have to stop NFS server before unmount.
    Otherwise:
    Mar 18 12:26:20 myhost ldm[2473]: Error in syscall (Device or resource busy)
    Mar 18 12:26:20 myhost ldm[2473]: Error while unmounting /dev/sda1
    
    The idea is to call an already existing command passed in "-c" command line parameter before unmount happens.
    LDM_ACTION is set to "pre_unmount".
Commits on Jan 21, 2016
  1. Adjust some types, less casts all around.

    LemonBoy committed Jan 21, 2016
    Adjust the copyright year.
  2. Minor whitespace fixes.

    LemonBoy committed Jan 21, 2016
  3. Fix mtab change detection.

    LemonBoy committed Jan 21, 2016
    Also remove the fstab watching, the user could just reload the daemon.
Commits on Jan 19, 2016
  1. Better error reporting.

    LemonBoy committed Jan 19, 2016
  2. Update the documentation.

    LemonBoy committed Jan 19, 2016
  3. Make ldm compatible with umount.

    LemonBoy committed Jan 19, 2016
    The user is now free to unmount the devices by using umount.
Commits on Nov 10, 2015
  1. Update the README.

    LemonBoy committed Nov 10, 2015
Commits on Sep 2, 2015
  1. Merge pull request #54 from Stephen304/feature-library-order

    LemonBoy committed Sep 2, 2015
    Put flags after objects for linker. Fixes compilation on Ubuntu systems.
Commits on Sep 1, 2015
Commits on Aug 31, 2015
  1. Merge pull request #52 from Stephen304/feature-readonly-udf

    LemonBoy committed Aug 31, 2015
    Mark the UDF filesystem as read only.
Commits on Aug 2, 2015
  1. Accept a user name instead of a pair of gid/uid

    LemonBoy committed Aug 2, 2015
    It's definitely simpler from the point of view of the user and it's a nice
    addiction for a bunch of LOC. 10/10 would add again.
Commits on Jul 30, 2015
  1. Let's get musl-friendly

    LemonBoy committed Jul 30, 2015
  2. Adjust the returned value

    LemonBoy committed Jul 30, 2015
  3. Don't unlink the ipc socket when not needed

    LemonBoy committed Jul 30, 2015
    I never managed to catch the obvious and silly error since the unlink call
    always failed with EPERM.
    Also, the ipc socket suffix has been changed to '.socket' to reflect the
    undeniable fact that it's a unix socket.
Commits on Jul 26, 2015
  1. Simpler logic to handle the 'change' events

    LemonBoy committed Jul 26, 2015
    As a bonus, it won't crash anymore due to a stale 'udev' pointer.
  2. Don't mkdir() the mountpoint if it already exists

    LemonBoy committed Jul 26, 2015
    As acknowledged by @pejobo (#48)
Commits on Jul 7, 2015
  1. Fix the callback-script-related crash (#48)

    LemonBoy committed Jul 7, 2015
    Hopefully this time it'll work as intended, as a pro-tip always test before
    committing :)
    Thanks to @pejobo for noticing this and reporting it.