[Voyage-linux] FYI: difficulty writing voyage to a CF

Jim Cromie (spam-protected)
Mon Nov 14 00:36:58 HKT 2011


On Fri, Nov 11, 2011 at 4:37 PM, Ikem Krueger
<ikem.krueger at googlemail.com> wrote:
>> 2011/11/11 Jim Cromie <jim.cromie at gmail.com>:
>
>> trouble writing voyage image to a CF, this may be the reason:
>
>> udev/udisks will treat CF as a fixed disk (permanently installed)
>
>> and does not allow unmount/remount of the CF.
>
>> https://bugzilla.redhat.com/show_bug.cgi?id=734191
>
> Were not udev rules distro specific?
>

They may be, but the patch in the link is to C code.
perhaps a CF-brand/model specific rule could fix it, but thats not robust.

heres some content...

> The plot thickens; apaprently the "Removable Media" feature set has been
> obsoleted in newer versions of the ATA specification, which explains why my
> newer CF cards don't have it set.
>
> (That implies that setting the 'removable' attribute in the kernel is probably
> the wrong thing to do)
>
> It looks like udev/udisks is where this fix should be implemented after all...

Yes, that's what I meant with 7 - if the ATA IDENTIFY data indicates the ATA
device is a compact flash device, then don't tag it as system_internal.

Since I don't have the hardware in question, any chance you can attach the
IDENTIFY data as captured with hdparm's --Istdout option? Thanks!




More information about the Voyage-linux mailing list