You are not logged in.

#276 2014-08-12 18:48:08

joezifer
Member
Registered: 2014-08-10
Posts: 2

Re: ldm - Lightweight Device Mounter

Its not a good idea to put file systems on the root path of devices and i suspect the problem is here.

Partition your device and then put the file system on the partition.

Your device,as it currently is,is a special case/corner case and not everybody supports it as some tools expects to see file systems
only in partitions.

Thanks, I'll try that. Gotta say though that I formatted the drive via the Win7 context menu and that same drive used to work on my netbook using the same method formatting method. But maybe something went wrong, who knows. I'll report back.

Offline

#277 2014-08-17 15:39:59

vheon
Member
Registered: 2010-04-08
Posts: 21

Re: ldm - Lightweight Device Mounter

Hi, I'm using ldm and is great big_smile One question though: is it possible to remount a drive without unplugging it first?

Offline

#278 2015-01-22 20:35:32

apl
Member
Registered: 2015-01-21
Posts: 13

Re: ldm - Lightweight Device Mounter

Hi,
This looks great, but I am unsure I am configuring it correctly. I installled the /etc/ldm.conf file:

USER_GID=100
USER_UID=1000

but when I try to start it requests my uid and gid. If I type:

ldm -d -u 1000 -g 100

it says I must run as root, which works, but I thought the config file was supposed to allow you to not run it as root. Is it seeing the config if it is requesting my uid and gid?
I'm trying to use ldm 0.4.3

Offline

#279 2015-01-23 12:37:15

TheLemonMan
Member
From: Italy
Registered: 2011-09-04
Posts: 214
Website

Re: ldm - Lightweight Device Mounter

@vheon, not yet, but you should file a bug report on the github page so I don't forget about that
@apl ldm is meant to be called from a systemd script (or whatever init system you use)

Offline

#280 2015-01-29 22:28:14

apl
Member
Registered: 2015-01-21
Posts: 13

Re: ldm - Lightweight Device Mounter

Thanks for the reply, I'm new to Arch and systemd but did figure it out. Thanks for ldm!

Offline

#281 2015-02-16 02:46:58

mich04
Member
From: Illinois - United States
Registered: 2011-10-25
Posts: 390

Re: ldm - Lightweight Device Mounter

Wow I do say this is an awesome little program I am very impressed everyday I use arch it becomes easier and easier to do things thank you for this.


I love computers, networking and Arch Linux. Sometimes I might ask a stupid question, but please have grace with me like I would with you.

Offline

#282 2015-05-14 15:07:52

Lone_Gunman
Member
Registered: 2010-02-17
Posts: 18

Re: ldm - Lightweight Device Mounter

Hello LemonMan !

This is is really a nice little device mounter.

At the moment I can't make it automount my android phone for file access.
I know that Google is on the way to remove USB Mass Storage mode from android, so I was wondering if LDM could trigger a MTPfs automount with android devices somehow ?

Thanks for your help.

Last edited by Lone_Gunman (2015-05-14 15:08:27)

Offline

#283 2015-05-14 17:01:48

TheLemonMan
Member
From: Italy
Registered: 2011-09-04
Posts: 214
Website

Re: ldm - Lightweight Device Mounter

Not really, ldm only works with block devices.
You can write a udev rule if you really want to automount your phone.

Offline

#284 2015-06-07 18:25:27

doragasu
Member
Registered: 2012-03-03
Posts: 152

Re: ldm - Lightweight Device Mounter

I'm having a problem since some weeks ago. I don't know why but each time I unmount a device automatically mounted by ldm, the directory where the device was mounted doesn't get automatically deleted, and ldm fails to mount again the same device until I manually delete the directory.

It doesn't matter whether I use pumount/sudo umount to unmount the device, the directory doesn't get deleted.

It looks like the created directory has the right permissions. E.g:

drwxr-xr-x 7 jalon users  32K ene  1  1970 IORI_PS3

And after unmounting, permissions change:

dr-----rwt 2 root  root  4,0K jun  7 20:22 IORI_PS3

I hope this can be fixed!

Offline

#285 2015-06-07 18:49:26

TheLemonMan
Member
From: Italy
Registered: 2011-09-04
Posts: 214
Website

Re: ldm - Lightweight Device Mounter

Does it work with

ldmc -r <path>

?

This is the only way you should unmount a ldm-owned device.

Offline

#286 2015-06-13 23:16:35

Aerial Boundaries
Member
Registered: 2015-05-15
Posts: 26

Re: ldm - Lightweight Device Mounter

TheLemonMan wrote:

Does it work with

ldmc -r <path>

?

This is the only way you should unmount a ldm-owned device.

I was wondering how to unmount them smile But unfortunately 'ldmc -r [path]' and 'ldmc -l' return

connect: No such file or directory

But I know for sure the directory I'm providing is correct.


I have a separate issue with android devices. I have the 'android-udev' package from the AUR, which provides rules for many different devices including mine (HTC), yet ldm doesn't seem to recognise it. I'm not sure if this is an issue with udev or your program.

Here is the HTC section of '/usr/lib/udev/rules.d/51-android.rules':

#	HTC
ATTR{idVendor}!="0bb4", GOTO="not_HTC"
#		skip if debug mode off
ATTR{idProduct}=="0ff9", GOTO="android_usb_rules_end"

ENV{adb_user}="yes"
#		fastboot mode enabled
ATTR{idProduct}=="0fff", SYMLINK+="android_fastboot", GOTO="android_usb_rule_match"

Many thanks for the great program btw, it is light indeed!

Offline

#287 2016-01-19 12:56:24

TheLemonMan
Member
From: Italy
Registered: 2011-09-04
Posts: 214
Website

Re: ldm - Lightweight Device Mounter

The last couple of commits added the ability to umount the devices via umount, please test it and report back smile

Offline

Board footer

Powered by FluxBB