stupid mkfs.jffs2 bug

Guylhem Aznar <[email protected]> Thu, 29 Jul 2004 15:13:24 +0200
Newsgroups gmane.comp.handhelds.simpad.linux
Organization EXTERNe.NET
Message-ID <[email protected]>
Hello

After my gen_boot problem, another stupid bug with mkfs.jffs2. What's the
problem with tinylogin? The worst is if I don't use --root and strart it from
the root directory, it works fine.

Bien a vous - Best regards,
Guylhem P. Aznar

-- 
*@externe.net                                            http://externe.net
Perime/Deprecated:    @oeil.qc.ca, @metalab.unc.edu, @ibiblio.org, @7un.org
GPG: 92EB37C1 DD11C9C9 20519D01 E8FA1B11 42975AF7 http://externe.net/pubkey
mkfs.jffs2.txt (text/plain, 802 B)
root@ibm:/documents/handhelds/flash/simpad# cat 2-create-root-noflash.sh 
#!/bin/sh

# Pad: 31981568 for SL4-32 Mb, 15204352 for CL4-16 Mb
# Eraseblock: 0x20000 for 128 kb

mkfs.jffs2 --root ./root/ --output root-jffs2.noflash --little-endian --pad=31981568 --eraseblock=0x20000 --faketime --devtable=device_table-minimal.txt
root@ibm:/documents/handhelds/flash/simpad# ./2-create-root-noflash.sh 
mkfs.jffs2: ./root//bin/tinylogin: file is must exist on disk!
root@ibm:/documents/handhelds/flash/simpad# ls -l ./root//bin/tinylogin
-rwxr-xr-x    1 root     root        40052 Jul  7  2003 ./root//bin/tinylogin
root@ibm:/documents/handhelds/flash/simpad# file ./root//bin/tinylogin
./root//bin/tinylogin: ELF 32-bit LSB executable, ARM, version 1 (ARM), dynamically linked (uses shared libs), stripped