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

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

 



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 / \ - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[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