Re: [DNG] USB mount problem

2021-06-11 Thread aitor

Hi,

On 11/6/21 23:04, Steve Litt wrote:

As I remember, Aitor created a really nice flash drive mounter. Does
anyone remember it?
Thanks, Steve, it's named Hopman. A project started by Didier Kryn. At 
the beginning my point of view was quite different
because, on the contrary than Didier's design, i didn't use inotify to 
become aware of any kernel uevent. The reason why
i avoided inotify was related to some missing symlinks in /dev/disk when 
using vdev as device manager (hopman will be
compatible with both eudev and vdev, and i wanted to use this directory 
as one of the wathdirs for inotify). Now i'm
considering as a possible better approach to create vdev actions for 
each (ADD|REMOVE|CHANGE) device events, and their equivalent
udev rules for eudev to trigger them in a way that hopman only will be 
notified about changes in the /proc/mounts file
whenever the user uses pmount or any similar tool -via the gui of 
hopman- to mount/unmount partitions.


Turning to the issues with the symlinks in /dev/disk/by-label, 
/dev/disk/by-path, etc... the problem was that all the
links were created statically during the boot process, that is, when 
/sbin/vdevd was started. However, after the removal
of the mouse or the keyboard, say, the missing symlinks in 
/dev/input/by-path, etc... didn't reappear once they were plugged in again.
I was wondering whether or not this was intended, but clearly Jude 
Nelson designed vdev to work dynamically.
After several testings, finally i found the origin of this erratic 
behaviour in the line 1664 of:


https://github.com/jcnelson/vdev/blob/master/vdevd/action.c 



I tried commenting this line and now symlinks appear/disappear in a 
dynamic way. Let's say in passing that i didn't find any unwanted 
colateral effect so far.
I think these are great news considering, on the other hand, that the 
boot time has been reduced to ~20 seconds (in a modern computer), which 
is quite acceptable.


To end, I'm following this thread, and i had in mind to talk about 
hopman here. But i've been busy during these days...


I'll let you know :)

Cheers,

Aitor.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] USB mount problem

2021-06-11 Thread Steve Litt
Fred said on Thu, 10 Jun 2021 17:37:13 -0700


>> 
>> I use udisks2 to automount external USB devices.
>> 
>> B
>> ___
>> Dng mailing list
>> Dng@lists.dyne.org
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>   
>Hi,
>I found udisks2 installed on the computer that automatically mounts
>USB devices but there is no man page so I would not know how to use it
>if installed on the other computer.
>Best regards,
>Fred

As I remember, Aitor created a really nice flash drive mounter. Does
anyone remember it?

SteveT

Steve Litt 
Spring 2021 featured book: Troubleshooting Techniques of the Successful
Technologist http://www.troubleshooters.com/techniques
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] USB mount problem

2021-06-11 Thread g4sra via Dng
‐‐‐ Original Message ‐‐‐

On Friday, June 11th, 2021 at 2:58 PM, Fred  wrote:

> On 6/10/21 11:29 PM, Stefan Krusche wrote:
<--snip-->
> 

> I did find the man page for udisks. I will study that and the article
> for autofs. Likely one of them will work fine.

The intended use 'autofs' is for automatic mounting of network filesystems in 
real-time as\when you access them.
It requires prior knowledge and configuration of the media to be mounted, it is 
not relevant to directly connected USB devices (unless that device is a network 
interface).

publickey - g4sra@protonmail.com - 0x42E94623.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] r/devuanon reddit.com. is anyone here looking after it?

2021-06-11 Thread Xenguy via Dng
From: "terryc"  ; Sent: Monday, June 7, 2021 3:34:43 AM:
> Noticed today that the last post was 6 months ago.
> 
> It could probably do with something recent, like the release of 3.1 perhaps.

I had a look at this subreddit, and it refers to itself as "an
unofficial community devoted to the Devuan GNU/Linux Operating System".
It does seem to be getting out-of-date.

To the best of my knowledge, "unofficial" communities like this and
others are just that:  unofficial.  As such, they are not officially
supported by Devuan project volunteers, who focus instead on supporting
various official support channels.

X.
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] USB mount problem

2021-06-11 Thread Patrick Bartek via Dng
On Thu, 10 Jun 2021 17:37:13 -0700
Fred  wrote:

> On 6/10/21 1:48 PM, Patrick Bartek via Dng wrote:
> > On Thu, 10 Jun 2021 08:49:24 -0700
> > Fred  wrote:
> >   
> >> Hello,
> >>
> >> I have a new Beowulf AMD64 install and am having trouble mounting
> >> USB storage devices.
> >>
> >> The USB keyboard and mouse work ok.  lsusb shows the storage device
> >> is present.  The usbmount program is apparently no longer available
> >> and I haven't been able to find what took its place.  I have
> >> another computer that had Debian Jessie installed then was
> >> upgraded to Beowulf x86.  It has usbmount and will automatically
> >> mount USB storage devices.
> >>
> >> What do I need to install?  
> > 
> > I use udisks2 to automount external USB devices.
> > 
> > B
> > ___
> > Dng mailing list
> > Dng@lists.dyne.org
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> >   
> Hi,
> I found udisks2 installed on the computer that automatically mounts
> USB devices but there is no man page so I would not know how to use
> it if installed on the other computer.

Not much to using it: apt-get install udisks2 and everything gets set
up. I used the defaults. Devices are mounted under /media/"your
username". If you run a panel, the udisks2 gadget shows up there with
additional options. Manual unmounting is necessary, but I use only a
window manager (Openbox) and lxpanel for my GUI, so your mileage may
vary if you use a desktop environment.

Others have shown you how to access the mans.  So, I won't repeat that.

B
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Re: [DNG] USB mount problem

2021-06-11 Thread Fred

On 6/10/21 11:29 PM, Stefan Krusche wrote:

Hi Fred,

Am Freitag, 11. Juni 2021 schrieb Fred:


I found udisks2 installed on the computer that automatically mounts
USB devices but there is no man page so I would not know how to use
it if installed on the other computer.


You can find man pages like this:

$ apropos udisks
udisks (8)   - Disk Manager
udisks2.conf (5) - The udisks2 configuration file
udisksctl (1)- The udisks command line tool
udisksd (8)  - The udisks system daemon
umount.udisks2 (8)   - unmount file systems that have been mounted by
UDisks2

Does the same:

$ man -k udisks
udisks (8)   - Disk Manager
udisks2.conf (5) - The udisks2 configuration file
udisksctl (1)- The udisks command line tool
udisksd (8)  - The udisks system daemon
umount.udisks2 (8)   - unmount file systems that have been mounted by
UDisks2

Regards,
Stefan
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng


Hi,
I did find the man page for udisks.  I will study that and the article 
for autofs.  Likely one of them will work fine.


Thanks for the help.
Best regards,
Fred
___
Dng mailing list
Dng@lists.dyne.org
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng