Date: Tue, 15 Feb 2011 09:45:22 +0100 From: Gary Jennejohn <gljennjohn@googlemail.com> To: "Julian H. Stacey" <jhs@berklix.com> Cc: hackers@freebsd.org Subject: Re: memstick.img is bloated with 7% 2K blocks of nulls Message-ID: <20110215094522.383e5c47@ernst.jennejohn.org> In-Reply-To: <201102150019.p1F0Jjfc088901@fire.js.berklix.net> References: <20110212170526.00004cab@unknown> <201102150019.p1F0Jjfc088901@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 15 Feb 2011 01:19:45 +0100 "Julian H. Stacey" <jhs@berklix.com> wrote: > Could author phk@FreeBSD.ORG cc'd (or someone else if they are clear) > please explain what cmdline is ? > Possibly commit an appended // comment after "int cmdline = 0;" > (in line 76 of 8.1 & current src/sbin/mdconfig/mdconfig.c) wgat it's for ? > > (cmdline seems in most places to maybe be an enum { 1 > 2 3 } for { a d l } alternate forms of command mdconfig, > ... & yet case 'd': sets cmdline = 3 not 2 ? > (& 't' & 'f' sets cmdline=2 ; not 1. Puzzling. > It's simply a state machine to ensure that mutually exclusive options aren't used together. See the manpage; it's pretty clear from it that only certain combinations of options are allowed. -- Gary Jennejohn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110215094522.383e5c47>