Just for completion: you should add the '-a' option to copy recursively without destroying soft/hardlinks etc.
> [...] > > > I am not sure exactly how you build your image. > > Let me explain it like if I use a script, start in folder images : > > $ mkdir tmp > $ mount -o loop romfs.img tmp > $ sudo cp tmp newromfs > > # make all modifications that I need, in this case add an /etc/passwd file > > $ genromfs -v "RomVolume" -d newromfs -f newromfs.img > > # and generate the bin to send by tftpd > > $ cat linux.bin > image.bin > $ cat newromfs >> image.bin > $ mv image.bin /tftpboot/ > > And I have a new image.bin :) > > -- ******************************************************* Nicolas Schier Entwickler / Developer SHF Communication Technologies AG Wilhelm-v.-Siemens-Str. 23 D 12277 Berlin, Germany E-Mail: [EMAIL PROTECTED] Phone: +49-(0)30- 77 20 51-58 Fax: +49-(0)30- 75 31 078 Web: http://www.shf.de/ ******************************************************* Sitz der Gesellschaft/Registered Office: Berlin; Registergericht/Register Court: AG Berlin-Charlottenburg HRB 72633; Vorstand/Executive Board: Dr. Frank Hieronymi, Dr. Lars Klapproth (stv.); Aufsichtsratsvorsitzender/Chairman of the Supervisory Board: Prof. Dr. Walter L. Rust. This e-mail may contain confidential and/or privileged information and is intended solely for the addressee or a representative there of. If your are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Access to, publishing and copying of the information by a third party is unauthorised. _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
