:: Re: [DNG] Hopman and inotify
Pàgina inicial
Delete this message
Reply to this message
Autor: Hendrik Boom
Data:  
A: dng
Assumpte: Re: [DNG] Hopman and inotify
On Sun, Jun 13, 2021 at 09:16:46AM +0200, tito via Dng wrote:
> On Sat, 12 Jun 2021 15:35:56 -0400
> Steve Litt <slitt@???> wrote:
>
> > Hi all,
> >
> > I think inotify is the best foundation for a usb plugin/plugout
> > detector. I used it in my early 2015 proof of concept proving that
> > Poettering's socket activation was overkill and could be accomplished
> > much less intrusively with inotify.
> >
> > As far as I know, Hopman's only usage is to mount thumb drives and USB
> > connected SATA drives.
>
> Hi,
> don't forget smartphones there are billions far more than thumb drives
> and USB SATA drives.


Android devices mount maturally as MTP (music transfer protocol) devices.
But it may be more useful to access them with adb (android debug something).
Has anyone invented an android-debug user file system yet for examining
an android file system from outside?

-- hendrik

>
> Ciao,
> Tito
>
> > If that's the case, filtering the inotify event
> > stream should be fairly straightforward. Once detection is
> > accomplished, functions, callbacks or objects can be used to
> > accomplish the proper action.
> >
> > SteveT
> >
> > Steve Litt
> > Spring 2021 featured book: Troubleshooting Techniques of the
> > Successful Technologist http://www.troubleshooters.com/techniques
> > _______________________________________________
> > Dng mailing list
> > Dng@???
> > https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng