[issue975] grml2usb and not removable USB keys

Christian Hofstaedtler bts at bts.grml.org
Sun Mar 20 13:31:43 CET 2011


Christian Hofstaedtler <ch at grml.org> added the comment:

Michael Prokop <mika at grml.org> added the comment:
> * Christian Hofstaedtler wrote in grml's BTS on 20110320 / 13:14:
>> We should at least document what the underlying issue is, and if there was a bug
>> in earlier grml2usb versions, than that too.
>
> grml2usb checks for /sys/class/block/sdX/removable and if there's
> "1" inside it's detected as removable device, otherwise not.
> Problem: some usb keys (wrongly) claim to be non-removable devices
> (the Grml key suffers from this for example as well).

Yeah, but there seems to be an additional problem somewhere:
Had a Grml key and some other USB key.
On 2010.04 with grml2usb from grml2usb.tgz (0.9.28), both keys were
thought to be non-removable.
On 2010.12 with the shipping grml2usb only the Grml key suffered from
this problem, the other one was fine.
My guess would be that the kernel also changed under us.

> Could we safely consider usb drives to be *always* removable devices?

Possibly. Can we reliably detect usb drives? (driver == usb-storage?)

  -ch

----------
messages: 3707, 3709, 3711
nosy: ch
priority: wish
status: chatting
title: grml2usb and not removable USB keys
topic: grml2usb

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue975>
_____________________________________


More information about the Bugs-changes mailing list