[Server-devel] [XSCE] rpi storage devices
Tim Moody
tim at timmoody.com
Sun Mar 8 19:32:29 EDT 2015
In the console I am trying to identify unmounted and unformatted devices along with mounted ones.
> Date: Sun, 8 Mar 2015 18:16:43 -0500
> From: me at jvonau.ca
> To: xsce-devel at googlegroups.com; server-devel at lists.laptop.org; tim at timmoody.com
> Subject: Re: [XSCE] rpi storage devices
>
>
>
> > On March 8, 2015 at 5:39 PM Tim Moody <tim at timmoody.com> wrote:
> >
> >
> > on the xo-4 and intel I use the following to get storage devices
> > ls -lav /dev |grep brw| grep disk| gawk 'NR==1' |gawk
> > --field-separator=' ' '{ print $10 }'
> > but on rpi2 this yields
> >
>
> > is there a reliable algorithm to identify sd cards, usb thumb drives or
> > hdd drives?
>
> Would ansible_devices and maybe ansible_mounts meet your needs?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20150308/24662299/attachment.html>
More information about the Server-devel
mailing list