Web lists-archives.com

Re: Encrypted flash drives




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Apr 03, 2017 at 09:01:59PM +0900, Mark Fletcher wrote:
> On Mon, Mar 27, 2017 at 09:32:33PM +0200, tomas@xxxxxxxxxx wrote:
> > On Mon, Mar 27, 2017 at 11:58:51PM +0900, Mark Fletcher wrote:
> > > On Mon, Mar 27, 2017 at 10:02:27AM +0200, tomas@xxxxxxxxxx wrote:
> > > > On Mon, Mar 27, 2017 at 08:31:45AM +0900, Mark Fletcher wrote:
> > > > 
> > > > [...]
> > > > 
> > > > > Tomas has tried to give me pointers on that but I'm afraid I don't 
> > > > > understand where to take that. Is there any chance someone who isn't a 
> > > > > self-proclaimed "desktop luddite" could comment?
> > > > 
> > > > There *must* be some place in your shiny desktop environment "disks"
> > > > or something like that where you configure media "known" to your
> > > > desktop environment.
> > > > 
> > > 
> > > Update -- it *almost* worked [...]
> > 
> > This looks bizarre. I think I must leave that to the DE gurus. I guess
> > it has to do with udisks (I think in its current incarnation it's
> > called "udisks2"), but it's beyond my depth.
> > 
> 
> Any way to reset udev?

No, udev doesn't "keep" that info. It's just the piece "routing" kernel
events to whatever user space software needs to know about it (e.g.
"an USB stick has been inserted" or "a block device just appeared" --
as you see, one phisical event may well lead to a whole flurry of
things happening).

> I'm still trying to find a way to make that ghost disk disappear. I am 
> fairly sure a reboot will sort it but solving the problem without 
> understanding it is something I only do when there is a good reason, 
> like some needed service is compromised or something. Not the case here.

But if I were you, I'd see whether udisks is managing your DE's
perception of "disks". See [1]. Do you have a binary called udiskctl?

Another way to try to home in on the problem would be to just "reset"
the DE's memory, e.g. by completely logging out and back in,
without rebooting. Is the ghost gone? Then you'd know your DE is
dreaming. Otherwise it's seeing "something out there".

regards

[1] https://udisks.freedesktop.org/docs/latest/
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAljiSI4ACgkQBcgs9XrR2kZASwCfUDO1z7/O2a4JaMzu+AkXNTRw
MuYAniP/RKf8B8eBIQekrCJIlMGmcfZo
=sHOg
-----END PGP SIGNATURE-----