:: Re: [DNG] USB mount problem
Etusivu
Poista viesti
Vastaa
Lähettäjä: Patrick Bartek
Päiväys:  
Vastaanottaja: dng
Uudet otsikot: [DNG] [OT] historical note
Aihe: Re: [DNG] USB mount problem
On Tue, 15 Jun 2021 12:32:25 -0700
Fred <fred@???> wrote:

> On 6/15/21 11:28 AM, Patrick Bartek via Dng wrote:
> > On Mon, 14 Jun 2021 07:56:39 -0700
> > Fred <fred@???> wrote:
> >
> >> On 6/13/21 9:37 PM, Patrick Bartek via Dng wrote:
> >
> >>>>>>> [big snip]
> >>>>>> 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@???
> >>>>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
> >>>>>
> >>>> Hello,
> >>>> I still need some help with this.
> >>>> I installed udisks2. The last line of the installation dialog
> >>>> showed what I believe is a warning, maybe of no consequence:
> >>>
> >>> I did some checking -- It's been a while since I installed Beowulf
> >>> and udisks2 -- and I discovered that you need to use a "front end"
> >>> for udisks2 for it to truly automount. I used udiskie
> >>> (https://pypi.org/project/udiskie/) which must be started
> >>> manually. Installing it doesn't automatically set it up to
> >>> start. I just added a stanza to Openbox's autostart script.
> >>> Since I use lxpanel in addition to Openbox, I added the
> >>> "--smart-tray" option, so udiskie will appear in the panel when
> >>> it's in use.
> >>
> >> The computer that was upgraded from Debian Jessie to Beowulf x86
> >> doesn't have any "front end" for udisks2 installed unless it was
> >> installed automagically. This computer automounts USB devices
> >> in /media as one of usb0-7. The one I am having trouble with is a
> >> new install of Beowulf AMD64.
> >
> > What desktop was the Jessie computer running before your
> > dist-upgrade to Beowulf? And after? Many times desktops have their
> > own way of handling automounting usb devices.
> >
> > The usb mountpoint as /media/usb[0-7] is contrary to the default
> > that udisks2 uses, namely: /media/<username>/<devicename>. Jessie
> > may have been using udev rules to mount usb. That's the way you
> > automounted external devices with Wheezy at least. Jessie came
> > with improvements. Check /etc/udev/rules.d to see if there is
> > anything there. udev rules should survive a dist-upgrade.
> >
> > If there is a udev rule to automount, copying it over to your new
> > Beowulf computer should work.
> >
> Hi,
> The Jessie computer has never used any desktop/DE. Only openbox and
> xterms. I never installed any utility to mount usb devices.
> /etc/udev/rules.d has 70-persistent-net.rules which has one line
> concerning ethernet.


Jessie was the first Debian version to use systemd by default as
the init. Perhaps, something was installed as a systemd dependency that
wouldn't have been installed with the new Beowulf computer under
sysvinit that carried forward with a dist-upgrade of Jessie to
Beowulf. Or you installed something on the old system that wasn't
installed on the new one, and that is doing the automounting.

Of course, this is all speculation. It would have been nice if you had
notes of what you installed on both systems. Right now, I doubt if
you'll be able to discover (in a timely manner) what's causing the old
system to automount and the new one not.

B