Re: announce: tiny raidtools-alike for use e.g. in initrd

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

 



/me should drink more coffee in the morning
heres the patch: (it is vs 1.3.0, but it applies on 1.4.0 as well)

On Fri, Oct 31, 2003 at 09:43:21AM +0100, Luca Berra wrote:
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".


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

Attachment: mdadm-1.3.0-diet.diff.bz2
Description: Binary data


[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