Hello, On Sat, 12 Apr 2014, Felix Miata wrote:
On 2014-04-12 21:57 (GMT+0400) Andrey Borzenkov composed:
÷ Sat, 12 Apr 2014 02:19:21 -0400 Felix Miata composed:
Like most man pages, examples that would clarify meanings are absent. What does that last parameter mean exactly in the following example I found Googling?
mdadm --assemble /dev/md/alpha --name=alpha --update=name /dev/sd[fg]
If under "last parameter" you mean /dev/sd[fg], it means names of devices from which array is being assembled. It is simply shell glob syntax.
You are right. That's what I don't understand, and the precise reason why I posted. As I understand it, the example means /dev/sdf and /dev/sdg. That doesn't help me, because I need it to be /dev/sda9 and /dev/sdb9 and have found nothing that explains how that would be done.
RTFM of the shell you use! man -P'less +"/^ *Pattern Matching"' bash (and search once more by pressing the / key). For your convenience: mdadm --assemble /dev/md/alpha --name=alpha --update=name /dev/sd[ab]9 HTH, -dnh -- Give a man fire, and he will be warm for a day, set a man on fire, and he will be warm for the rest of his life. -- Terry Pratchett -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org