linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: announce: tiny raidtools-alike for use e.g. in initrd
Date: Fri, 31 Oct 2003 09:43:21 +0100	[thread overview]
Message-ID: <20031031084320.GC26757@percy.comedia.it> (raw)
In-Reply-To: <3FA0BCD1.1060003@tls.msk.ru>

well, 
since it is announce week :)))

I made a small patch to mdadm to build a subset of mdadm with diet-libc,
for use in initrds. (it is 44k statically linked)

I cannot rebuild whole mdadm with dietlibc due to dietlibc not
understanding non option arguments beetween option (optarg starting
with "-")

to build use:
diet gcc -DCONFFILE="\"/etc/mdadm.conf\"" -o mdassemble \
        mdassemble.c Assemble.c config.c dlink.c util.c

mdassemble will just scan /etc/mdadm.conf and try to assemble everything
it finds like running "mdadm -A -s".

regards,
L.


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

  reply	other threads:[~2003-10-31  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30  7:25 announce: tiny raidtools-alike for use e.g. in initrd Michael Tokarev
2003-10-31  8:43 ` Luca Berra [this message]
2003-10-31  9:16   ` Luca Berra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031031084320.GC26757@percy.comedia.it \
    --to=bluca@comedia.it \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).