Re: [PATCH 2/4] Add --initrd argument to mdadm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Jan 2012 11:53:53 +0100 Jes Sorensen <Jes.Sorensen@xxxxxxxxxx>
wrote:

> On 01/23/12 21:50, Kay Sievers wrote:
> > On Mon, 2012-01-23 at 21:13 +0100, Lennart Poettering wrote:
> >> On 23.01.2012 11:25, Jes Sorensen wrote:
> >>> I was trying to come up with a better name, and I think --preboot is the
> >>> best I have seen so far. Other ideas I had were:
> >>>   --systemd-root
> >>>   --no-shutdown
> >>> however I like --preboot better, so I will go with that, unless someone
> >>> starts throwing things at me.
> >>
> >> I figure it's a bit of bike-shedding, but I'd like to ask you to stick 
> >> to --initramfs or so if possible, simply because we're interested to 
> >> reuse the same name for that switch for all storage daemons which need 
> >> this, and the spec currently suggests --initramfs, and I'd prefer to 
> >> avoid notifying all users of that change if we change it...
> > 
> > Last time you and I decided to rename it to --initrd, so the document
> > does not say --initramfs.
> > 
> > Back to square one. :)
> 
> Neil,
> 
> In the light of the discussion so far, do you have any preference for
> --preboot/--preroot/--initrd/--offroot
> 

How about
   -@

A single-character which reflects what it actually does :-)

I don't like --initrd because it is just wrong.

I can live with the others.

I think --offroot is closest to the right meaning (it is both pre and post).
I confess a little discomfort with the word "off" as it can mean both "not on"
and "was on".

"Did you run mdadm off root, or off /usr ??  Neither, I ran it from initramfs
which is off root."

But I agree with Doug that the term is sufficiently unusual that people are
unlikely to assume anything about it, so it should be safe.

I'm tempted to suggest something completely different that starts with --no-,
like
  --no-session-manage
but the word 'manage' already has a couple of meaning for mdadm.

So I'm leaning towards --offroot  though I'd go for --outside-root if it were
a bit shorter.

Maybe we need a name for this thing that exists before root is mounted and
remains until after root is unmounted.  If we had a name for that which
reflected its reality, that would work for me.
 --initial-root
isn't too bad but probably could be better.
 --outer-root
??


Yes, I know - you wanted a decision and I've just created more options !!

 --offroot

then.
(maybe)

NeilBrown

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux