Le 19/06/2018 à 14:41, Martin Steigerwald a écrit :
Erik Christiansen - 19.06.18, 11:15:
On 19.06.18 02:38, James Cloos wrote:
"HB" == Haines Brown<[email protected]>  writes:
HB> Has an alternative been developed without the problems
associated
HB> with usbmount?

pmount may be what you want.

I've not used it on devuan (or debian), but it works well on my
gentoo workstation.
I've used it very happily for years on ubuntu and debian, and have
just installed it on devuan ascii. If someone can drop a hint on how
to find out the device of the usb stick I've just plugged in (it
isn't automounting), then I expect it will be just as good on our
distro.


    I have a little application which monitors hotplug devices and lists the partitions on these devices which have a filesystem. When it is started, it just scans /dev, and then gets notified of any change through inotify-wait. It is a command-line applications with extremely basic TUI functionnality: everytime there is an update, it clears the xterm in which is is running and displays the status on the fresh screen.

    It is the current state of a project intended to display the hotplug partitions in a GUI window and allow mount/umount/eject on click.

    I wrote it in Tcl because I wanted to use Tk as the graphical toolkit. This is my first program in Tcl and I have a hard time learning Tk, and I don't work very hard on it :-)

    The current working application can be run in a small xterm to monitor hotplug devices. It runs forever untill you kill it. It displays the device names the fstypes and the labels. It also can display the mountpoint but I don't know any means to notify it when a partition is mounted/unmounted.

    It runs as two processes connected by a pipe, but It is made of one single file (192 lines) I can send on demand. It depends on packages tcl and inotify-tools It could easily be hacked to make an automounter, but I didn't do it because automounters break the integrity of the filesystems by principle.

        Didier


_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to