where does xfce get info on luks flash drives?
Mike Perry
mike at cogsmos.com
Tue Sep 11 04:38:00 CEST 2012
You are correct, the id should be static across reboots. In fact that
should pretty much be static period. If the file system also has a
label, you are likely to find that in the by-label directory and could
also code towards that.
As far as where it gets the information from. I'm not 100% positives,
but it might just be arbitrary data it is getting from some identify
that gets pulled down when you insert it. Try inserting the device and
then typing "dmesg | tail" you should see the module load up and a few
other th
/*
* Mike Perry
* mike at cogsmos.com
*/
On Mon, Sep 10, 2012 at 2:44 PM, Todd And Margo Chester
<toddandmargo at gmail.com> wrote:
>> Hi All,
>>
>> When I insert a LUKS encrypted flash drive, I get an icon
>> that says "7.6 GB encrypted drive". Where does Xfce get
>> this information? (I need this info for a script.)
>>
>> Many thanks,
>> -T
>
>
> Hi All,
>
> Figured out a way to solve my problem.
>
> I am looking for a "particular" encrypted stick, not any
> old encrypted stick. So I piled five other stick in all
> my front panel open ports. Then I checked /dev/disk/by-id.
> Then I inserted that particular stick. Got the same by-id.
> Then I removed them all and only reinserted that particular
> stick. Got the same by-id. Then I removed that stick,
> rebooted, waited for everything to settle, and inserted
> that stick. Got the same by-id.
>
> As"by-id" gives me the device number. I now know how to
> locate that particular stick, which is what I wanted all
> along. I can now start coding.
>
> It would be nice to know how Xfce knows a stick is
> encrypted, but I no longer need that information
> for the task at hand.
>
> -T
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce
> http://www.xfce.org
More information about the Xfce
mailing list