pastebin

Paste #77475: strace-0.9.30

execve("/usr/sbin/mkfs.ext2", ["mkfs.ext2", "--help"], [/* 10 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000
stat("/etc/ld.so.cache", 0x7fc2b140)    = -1 ENOENT (No such file or directory)
open("/lib/libext2fs.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/lib/libext2fs.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)
open("/usr/lib/libext2fs.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=182799, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320U\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 249856, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 177564, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aabe000
old_mmap(0x2aafa000, 2575, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2c000) = 0x2aafa000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libcom_err.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/libcom_err.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib/libcom_err.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=7655, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\v\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aafb000
old_mmap(0x2aafb000, 7404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aafb000
old_mmap(0x2ab0c000, 3559, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1000) = 0x2ab0c000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libblkid.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/lib/libblkid.so.1", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/usr/lib/libblkid.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=40691, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\200\33\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 106496, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab0d000
old_mmap(0x2ab0d000, 37908, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab0d000
old_mmap(0x2ab26000, 3827, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9000) = 0x2ab26000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libuuid.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/libuuid.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libuuid.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=13823, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\r\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 81920, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab27000
old_mmap(0x2ab27000, 13456, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab27000
old_mmap(0x2ab3a000, 1535, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3000) = 0x2ab3a000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libe2p.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/lib/libe2p.so.2", O_RDONLY)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libe2p.so.2", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=21419, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0`\20\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 90112, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab3b000
old_mmap(0x2ab3b000, 19292, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab3b000
old_mmap(0x2ab50000, 939, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x5000) = 0x2ab50000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\340\33\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 131072, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab51000
old_mmap(0x2ab51000, 62732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab51000
old_mmap(0x2ab70000, 3371, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x2ab70000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\300\252\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 491520, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2ab71000
old_mmap(0x2ab71000, 399840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2ab71000
old_mmap(0x2abe2000, 8147, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x61000) = 0x2abe2000
old_mmap(0x2abe4000, 19456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2abe4000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libcom_err.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/lib/libcom_err.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("/usr/lib/libcom_err.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=7655, ...}) = 0
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=71531, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\3004\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 147456, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2abe9000
old_mmap(0x2abe9000, 50040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2abe9000
old_mmap(0x2ac05000, 22379, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x2ac05000
old_mmap(0x2ac0b000, 6768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ac0b000
close(3)                                = 0
munmap(0x2aaae000, 4096)                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
open("/lib/libuuid.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/lib/libuuid.so.1", O_RDONLY)     = -1 ENOENT (No such file or directory)
open("/usr/lib/libuuid.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=13823, ...}) = 0
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=64811, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
open("/lib/libc.so.0", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=405459, ...}) = 0
close(3)                                = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=20706, ...}) = 0
mprotect(0x2abe2000, 4096, PROT_READ)   = 0
mprotect(0x2ac05000, 4096, PROT_READ)   = 0
mprotect(0x2aabc000, 4096, PROT_READ)   = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, 0x7fc2afb8)          = -1 ENOTTY (Inappropriate ioctl for device)
getpid()                                = 689
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) = 0
rt_sigaction(SIGRT_0, {SIG_DFL, [RT_73 RT_77 RT_81 RT_82 RT_85 RT_90 RT_92 RT_93], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2be4d60}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {SIG_DFL, [RT_73 RT_77 RT_81 RT_82 RT_85 RT_90 RT_92 RT_93], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2be4c70}, NULL, 16) = 0
rt_sigaction(SIGRT_2, {SIG_DFL, [RT_73 RT_77 RT_81 RT_82 RT_85 RT_90 RT_92 RT_93], SA_STACK|SA_INTERRUPT|SA_SIGINFO|SA_NOCLDWAIT|0x2be3e54}, NULL, 16) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 16) = 0
brk(0)                                  = 0x41f000
brk(0x420000)                           = 0x420000
open("/etc/mke2fs.conf", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)
open("<default>", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory)
uname({sys="Linux", node="BenNanoNote", ...}) = 0
write(2, "mkfs.ext2", 9mkfs.ext2)                = 9
write(2, ": invalid option -- ", 20: invalid option -- )    = 20
write(2, "-", 1-)                        = 1
write(2, "\n", 1
)                       = 1
write(2, "Usage: ", 7Usage: )                  = 7
write(2, "mkfs.ext2", 9mkfs.ext2)                = 9
write(2, " [-c|-l filename] [-b block-size"..., 396 [-c|-l filename] [-b block-size] [-f fragment-size]
	[-i bytes-per-inode] [-I inode-size] [-J journal-options]
	[-G meta group size] [-N number-of-inodes]
	[-m reserved-blocks-percentage] [-o creator-os]
	[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]
	[-O feature[,...]] [-r fs-revision] [-E extended-option[,...]]
	[-T fs-type] [-U UUID] [-jnqvFKSV] device [blocks-count]
) = 396
exit(1)                                 = ?

Private
Wrap long lines

4 + 4 =