OK...when I do "md<TAB>" I currently get:
md5sum   mdatopbm

Not too bad.  Should work for most people.

As for migrating this...all old utils should have a wrapper for a while
(maybe quite a while - a year or so?) that points the users to the new
command.

e.g.
mkraid /dev/md0
Error: mkraid has been superceded by mdadmin as of Jun 2001 -- please
consult the man pages for mdadmin".

This should preclude the "I didn't read the docs" messages the will no doubt
be forthcoming without this.
________________________________________
Michael D. Black   Principal Engineer
[EMAIL PROTECTED]  321-676-2923,x203
http://www.csihq.com  Computer Science Innovations
http://www.csihq.com/~mike  My home page
FAX 321-676-2355
----- Original Message -----
From: "Neil Brown" <[EMAIL PROTECTED]>
To: "Linux RAID Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 14, 2001 1:51 AM
Subject: Re: mdctl - names and code



Thankyou for all the suggestions for names for mdctl.
We have

 raidctl raidctrl
 swraidctl
 mdtools mdutils
 mdmanage mdmgr mdmd:-) mdcfg mdconfig mdadmin

Mike Black suggested that it is valuable for tools that are related to
start with a common prefix so that command completion can be used
to find them.
I think that is very true but, in this case, irrelevant.
mdctl (to whatever it gets called) will be one tool that does
everything.

I might arrange - for back compatability - that if you call it with a
name like
   raidhotadd
it will default to the hot-add functionality, but I don't expect that
to be normal usage.

I have previously said that I am not very fond of raidctl as "raid" is
a bit too generic.  "swraidctl" is better but harder to pronouce.

I actually rather like "md".  It has a pleasing similarity to "mt".
Also
   man 1 md       -- would document the user interface
   man 5 md       -- would document the device driver.
This elegant.  But maybe a bit too terse.

I'm currently leaning towards mdadm or mdadmin as it is easy to
pronounce (for my palate anyway) and has the right sort of meaning.

I think I will keep that name at mdctl until I achieve all the
functionality I want, and then when I release v1.0 I will change the
name to what seems best at the time.

Thanks again for the suggestions and interest.

For the eager,
  http://www.cse.unsw.edu.au/~neilb/source/mdctl/mdctl-v0.3.tgz
contains my latest source which has most of the functionality in
place, though it doesn't all work quite right yet.
You can create a raid5 array with:

  mdctl --create /dev/md0 --level raid5 --chunk 32 --raid-disks 3 \
    /dev/sda /dev/sdb /dev/sdc

and stop it with
  mdctl --stop /dev/md0

and the assemble it with

  mdctl --assemble /dev/md0 /dev/sda /dev/sdb /dev/sdc

I wouldn't actually trust a raid array that you build this way
though.  Some fields in the super block aren't right yet.

I am very interested in comments on the interface and usability.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to