$ find . | cpio -o -H newc | gzip > ../busybox.initramfs.cpio.gz
cpio -idv < /tmp/object.cpio
/dev # ls -l
total 0
crw------- 1 root root 10, 235 Jan 1 00:00 autofs
drwxr-xr-x 2 root root 440 Jan 1 00:00 block
drwxr-xr-x 3 root root 60 Jan 1 00:00 bus
drwxr-xr-x 2 root root 2060 Jan 1 00:00 char
crw------- 1 root root 5, 1 Jan 1 00:00 console
crw------- 1 root root 10, 63 Jan 1 00:00 cpu_dma_latency
lrwxrwxrwx 1 root root 13 Jan 1 00:00 fd -> /proc/self/fd
crw------- 1 root root 1, 7 Jan 1 00:00 full
crw------- 1 root root 89, 0 Jan 1 00:00 i2c-0
crw------- 1 root root 89, 1 Jan 1 00:00 i2c-1
crw------- 1 root root 1, 2 Jan 1 00:00 kmem
crw------- 1 root root 1, 11 Jan 1 00:00 kmsg
crw------- 1 root root 1, 1 Jan 1 00:00 mem
crw------- 1 root root 10, 60 Jan 1 00:00 memory_bandwidth
crw------- 1 root root 90, 0 Jan 1 00:00 mtd0
crw------- 1 root root 90, 1 Jan 1 00:00 mtd0ro
crw------- 1 root root 90, 2 Jan 1 00:00 mtd1
crw------- 1 root root 90, 3 Jan 1 00:00 mtd1ro
crw------- 1 root root 90, 4 Jan 1 00:00 mtd2
crw------- 1 root root 90, 5 Jan 1 00:00 mtd2ro
crw------- 1 root root 90, 6 Jan 1 00:00 mtd3
crw------- 1 root root 90, 7 Jan 1 00:00 mtd3ro
brw------- 1 root root 31, 0 Jan 1 00:00 mtdblock0
brw------- 1 root root 31, 1 Jan 1 00:00 mtdblock1
brw------- 1 root root 31, 2 Jan 1 00:00 mtdblock2
brw------- 1 root root 31, 3 Jan 1 00:00 mtdblock3
crw------- 1 root root 10, 62 Jan 1 00:00 network_latency
crw------- 1 root root 10, 61 Jan 1 00:00 network_throughput
crw------- 1 root root 1, 3 Jan 1 00:00 null
crw------- 1 root root 5, 2 Jan 1 00:00 ptmx
drwxr-xr-x 2 root root 0 Jan 1 00:00 pts
brw------- 1 root root 1, 0 Jan 1 00:00 ram0
brw------- 1 root root 1, 1 Jan 1 00:00 ram1
brw------- 1 root root 1, 10 Jan 1 00:00 ram10
brw------- 1 root root 1, 11 Jan 1 00:00 ram11
brw------- 1 root root 1, 12 Jan 1 00:00 ram12
brw------- 1 root root 1, 13 Jan 1 00:00 ram13
brw------- 1 root root 1, 14 Jan 1 00:00 ram14
brw------- 1 root root 1, 15 Jan 1 00:00 ram15
brw------- 1 root root 1, 2 Jan 1 00:00 ram2
brw------- 1 root root 1, 3 Jan 1 00:00 ram3
brw------- 1 root root 1, 4 Jan 1 00:00 ram4
brw------- 1 root root 1, 5 Jan 1 00:00 ram5
brw------- 1 root root 1, 6 Jan 1 00:00 ram6
brw------- 1 root root 1, 7 Jan 1 00:00 ram7
brw------- 1 root root 1, 8 Jan 1 00:00 ram8
brw------- 1 root root 1, 9 Jan 1 00:00 ram9
crw------- 1 root root 1, 8 Jan 1 00:00 random
crw------- 1 root root 10, 231 Jan 1 00:00 snapshot
crw------- 1 root root 153, 0 Jan 1 00:00 spidev0.0
lrwxrwxrwx 1 root root 15 Jan 1 00:00 stderr -> /proc/self/fd/2
lrwxrwxrwx 1 root root 15 Jan 1 00:00 stdin -> /proc/self/fd/0
lrwxrwxrwx 1 root root 15 Jan 1 00:00 stdout -> /proc/self/fd/1
crw------- 1 root root 5, 0 Jan 1 00:00 tty
crw------- 1 root root 4, 0 Jan 1 00:00 tty0
crw------- 1 root root 4, 1 Jan 1 00:00 tty1
crw------- 1 root root 4, 10 Jan 1 00:00 tty10
crw------- 1 root root 4, 11 Jan 1 00:00 tty11
crw------- 1 root root 4, 12 Jan 1 00:00 tty12
crw------- 1 root root 4, 13 Jan 1 00:00 tty13
crw------- 1 root root 4, 14 Jan 1 00:00 tty14
crw------- 1 root root 4, 15 Jan 1 00:00 tty15
crw------- 1 root root 4, 16 Jan 1 00:00 tty16
crw------- 1 root root 4, 17 Jan 1 00:00 tty17
crw------- 1 root root 4, 18 Jan 1 00:00 tty18
crw------- 1 root root 4, 19 Jan 1 00:00 tty19
crw------- 1 root root 4, 2 Jan 1 00:00 tty2
crw------- 1 root root 4, 20 Jan 1 00:00 tty20
crw------- 1 root root 4, 21 Jan 1 00:00 tty21
crw------- 1 root root 4, 22 Jan 1 00:00 tty22
crw------- 1 root root 4, 23 Jan 1 00:00 tty23
crw------- 1 root root 4, 24 Jan 1 00:00 tty24
crw------- 1 root root 4, 25 Jan 1 00:00 tty25
crw------- 1 root root 4, 26 Jan 1 00:00 tty26
crw------- 1 root root 4, 27 Jan 1 00:00 tty27
crw------- 1 root root 4, 28 Jan 1 00:00 tty28
crw------- 1 root root 4, 29 Jan 1 00:00 tty29
crw------- 1 root root 4, 3 Jan 1 00:00 tty3
crw------- 1 root root 4, 30 Jan 1 00:00 tty30
crw------- 1 root root 4, 31 Jan 1 00:00 tty31
crw------- 1 root root 4, 32 Jan 1 00:00 tty32
crw------- 1 root root 4, 33 Jan 1 00:00 tty33
crw------- 1 root root 4, 34 Jan 1 00:00 tty34
crw------- 1 root root 4, 35 Jan 1 00:00 tty35
crw------- 1 root root 4, 36 Jan 1 00:00 tty36
crw------- 1 root root 4, 37 Jan 1 00:00 tty37
crw------- 1 root root 4, 38 Jan 1 00:00 tty38
crw------- 1 root root 4, 39 Jan 1 00:00 tty39
crw------- 1 root root 4, 4 Jan 1 00:00 tty4
crw------- 1 root root 4, 40 Jan 1 00:00 tty40
crw------- 1 root root 4, 41 Jan 1 00:00 tty41
crw------- 1 root root 4, 42 Jan 1 00:00 tty42
crw------- 1 root root 4, 43 Jan 1 00:00 tty43
crw------- 1 root root 4, 44 Jan 1 00:00 tty44
crw------- 1 root root 4, 45 Jan 1 00:00 tty45
crw------- 1 root root 4, 46 Jan 1 00:00 tty46
crw------- 1 root root 4, 47 Jan 1 00:00 tty47
crw------- 1 root root 4, 48 Jan 1 00:00 tty48
crw------- 1 root root 4, 49 Jan 1 00:00 tty49
crw------- 1 root root 4, 5 Jan 1 00:00 tty5
crw------- 1 root root 4, 50 Jan 1 00:00 tty50
crw------- 1 root root 4, 51 Jan 1 00:00 tty51
crw------- 1 root root 4, 52 Jan 1 00:00 tty52
crw------- 1 root root 4, 53 Jan 1 00:00 tty53
crw------- 1 root root 4, 54 Jan 1 00:00 tty54
crw------- 1 root root 4, 55 Jan 1 00:00 tty55
crw------- 1 root root 4, 56 Jan 1 00:00 tty56
crw------- 1 root root 4, 57 Jan 1 00:00 tty57
crw------- 1 root root 4, 58 Jan 1 00:00 tty58
crw------- 1 root root 4, 59 Jan 1 00:00 tty59
crw------- 1 root root 4, 6 Jan 1 00:00 tty6
crw------- 1 root root 4, 60 Jan 1 00:00 tty60
crw------- 1 root root 4, 61 Jan 1 00:00 tty61
crw------- 1 root root 4, 62 Jan 1 00:00 tty62
crw------- 1 root root 4, 63 Jan 1 00:00 tty63
crw------- 1 root root 4, 7 Jan 1 00:00 tty7
crw------- 1 root root 4, 8 Jan 1 00:00 tty8
crw------- 1 root root 4, 9 Jan 1 00:00 tty9
crw------- 1 root root 204, 64 Jan 1 00:00 ttyAMA0
crw-r--r-- 1 root root 204, 65 Jan 1 00:00 ttyAMA1
crw------- 1 root root 204, 64 Jan 1 00:15 ttyS000
crw------- 1 root root 1, 9 Jan 1 00:00 urandom
crw------- 1 root root 7, 0 Jan 1 00:00 vcs
crw------- 1 root root 7, 1 Jan 1 00:00 vcs1
crw------- 1 root root 7, 128 Jan 1 00:00 vcsa
crw------- 1 root root 7, 129 Jan 1 00:00 vcsa1
crw------- 1 root root 1, 13 Jan 1 00:00 vencmem
crw------- 1 root root 1, 5 Jan 1 00:00 zero
沒有留言:
張貼留言