From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donald White Date: Fri, 28 Mar 2003 07:16:39 -0700 Subject: [U-Boot-Users] Create initrd tool without being root? References: <20030328082536.C0A8CC6E0D@atlas.denx.de> Message-ID: <3E845947.3050802@asu.edu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks. Wolfgang Denk wrote: > In message <3E83EF1D.4050509@asu.edu> you wrote: > >>I thought someone on this list recently mentioned a tool dor creating initrd without >> being root. I couldn't find it i the archives. Can someone help me? > > > The ELDK (in current versions) uses the genext2fs to build the SELF > ramdisk images. For example, you can check out the "spec" file for > the SELF RPM from our ELDK build environment und manually go through > the tsteps. Or just follow the usgae message: > > -> genext2fs > Usage: genext2fs [options] image > Create an ext2 filesystem image from directories/files > > -x image Use this image as a starting point > -d directory Add this directory as source > -f file Add nodes (e.g. devices) from this spec file > -b blocks Size in blocks > -i inodes Number of inodes > -r reserved Number of reserved blocks > -g path Generate a block map file for this path > -e value Fill unallocated blocks with value > -z Make files with holes > -v Print resulting filesystem structure > -h Show this help > > Example of spec file: > drwx /dev > crw- 10,190 /dev/lcd > brw- 1,0 /dev/ram0 > > Report bugs to xavier.bestel at free.fr > > > Best regards, > > Wolfgang Denk >