# strace -f -ff -tt -s 200 ./init
00:01:56.889203 execve("./init", ["./init"], [/* 6 vars */]) = 0
00:01:56.991319 gettid() = 277
00:01:57.005928 syscall_983045(0xbe8ecdd4, 0, 0x20, 0, 0xbe8cd000, 0xbe8ece90, 0xbe8ecee0, 0xf0005, 0xbe8ecee0, 0, 0x80b8, 0x80b4, 0, 0xbe8ecdc8, 0x17c77, 0x17f2c, 0x60000010, 0xbe8ecdd4, 0, 0, 0xc764, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) = 0
00:01:57.020219 socket(PF_FILE, SOCK_STREAM, 0) = 3
00:01:57.025007 connect(3, {sa_family=AF_FILE, path=@property_service}, 19) = -1 ECONNREFUSED (Connection refused)
00:01:57.061253 close(3) = 0
00:01:57.084000 sigaction(SIGCHLD, {0x8211, [], SA_NOCLDSTOP}, NULL, 0xc0fb

= 0
00:01:57.088696 umask(0) = 022
00:01:57.093150 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
00:01:57.098914 dup(1) = 3
00:01:57.103532 write(3, "init: HOW ARE YOU GENTLEMEN\n", 28init: HOW ARE YOU GENTLEMEN
) = 28
00:01:57.109258 close(0) = 0
00:01:57.114103 close(1) = 0
00:01:57.118284 close(2) = 0
00:01:57.122369 open("/dev/null", O_RDWR|O_LARGEFILE) = 0
00:01:57.129225 dup2(0, 1) = 1
00:01:57.134048 dup2(0, 2) = 2
00:01:57.138265 write(3, "init: reading config file\n", 26init: reading config file
) = 26
00:01:57.144257 brk(0) = 0x20000
00:01:57.148896 brk(0x20000) = 0x20000
00:01:57.153333 brk(0x21000) = 0x21000
00:01:57.157433 open("/etc/init.rc", O_RDONLY|O_LARGEFILE) = 4
00:01:57.164303 lseek(4, 0, SEEK_END) = 5738
00:01:57.169015 lseek(4, 0, SEEK_SET) = 0
00:01:57.173191 brk(0x22000) = 0x22000
00:01:57.178030 read(4, "## Global environment setup\n##\nenv {\n PATH /sbin:/system/sbin:/system/bin\n LD_LIBRARY_PATH /system/lib\n ANDROID_BOOTLOGO 1\n ANDROID_ROOT /system\n ANDROID_ASSETS /system/app\n ANDROID_"..., 573

= 5738
00:01:57.195825 close(4) = 0
00:01:57.200979 brk(0x23000) = 0x23000
00:01:57.205821 mkdir("/proc", 0755) = -1 EEXIST (File exists)
00:01:57.212298 mkdir("/dev", 0755) = -1 EEXIST (File exists)
00:01:57.217277 mkdir("/dev/pts", 0755) = -1 EEXIST (File exists)
00:01:57.222148 mkdir("/sys", 0755) = -1 EEXIST (File exists)
00:01:57.228274 mkdir("/d", 0755) = -1 EEXIST (File exists)
00:01:57.235211 mount("/dev/pts", "/dev/pts", "devpts", 0, NULL) = 0
00:01:57.241863 mount("/proc", "/proc", "proc", 0, NULL) = 0
00:01:57.247086 mount("/sys", "/sys", "sysfs", 0, NULL) = 0
00:01:57.253317 mount("/d", "/d", "debugfs", 0, NULL) = -1 ENODEV (No such device)
00:01:57.263307 mount("/tmp", "/tmp", "tmpfs", 0, NULL) = 0
00:01:57.271977 open("/proc/cmdline", O_RDONLY|O_LARGEFILE) = 4
00:01:57.276873 read(4, "root=/dev/nfs nfsroot=192.168.1.1:/root/android_nfs rw ip=192.168.1.2:192.168.1.1:192.168.1.1:255.255.255.0:ezx:usb0

ff mem=32M@0xA0000000 mem=16M@0xAC000000\n", 1023) = 159
00:01:57.285155 close(4) = 0
00:01:57.289127 chmod("/proc/cmdline", 0400) = 0
00:01:57.294410 open("/system_properties", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0600) = 4
00:01:57.303154 ftruncate(4, 3276

= -1 EINVAL (Invalid argument)
00:01:57.313123 unlink("/system_properties") = 0
00:01:57.324131 close(4) = 0
00:01:57.334423 open("/etc/default.prop", O_RDONLY|O_LARGEFILE) = 4
00:01:57.342403 lseek(4, 0, SEEK_END) = 130
00:01:57.346956 lseek(4, 0, SEEK_SET) = 0
00:01:57.351367 read(4, "# default system properties\n# these may be overridden by /data/local.prop\n\nnet.bt.name = Android\n\n# end default system properties\n", 130) = 130
00:01:57.360941 close(4) = 0
00:01:57.365182 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
00:01:57.368032 +++ killed by SIGSEGV +++
Process 277 detached