Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian User (http://www.linux-archive.org/debian-user/)
-   -   Add a function that determines which devices match a given shell glob. (http://www.linux-archive.org/debian-user/283362-add-function-determines-devices-match-given-shell-glob.html)

David Lehman 11-19-2009 09:58 PM

Add a function that determines which devices match a given shell glob.
 
On Thu, 2009-11-19 at 17:05 -0500, Chris Lumens wrote:
> This is handy for large configurations so you can specify:
>
> clearpart --drives=sda?
>
> Instead of:
>
> clearpart --drives=sdaa,sdab,sdac,sdad,sdae,sdaf,...
>
> All shell globs are supported here, and all the DEVLINKS are checked against
> the glob. This means you can use /dev/disk/by-path paths without knowing
> the whole big thing.

Looks good.

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 01:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.