Posted by: Wildan Maulana | September 25, 2007

device mapper layer issues

My email to tanya-jawab mailing list (in Indonesia language) :


Assalamu’alaikum

Waduh …, maaf …, saya kira tak ada yang membalas lagi … )-:
Tak sengaja langsung ke archieve …

Ok …, kmrn untuk sementara saya buat return , LUKS_open_key() == 1
Krn saya perlu mindahin init-script untuk membuka encrypted partition-nya
at boot time …, dan ini sudah bisa ….

Tetapi masalahnya …, ketika saya coba memount encrypted partition ini tak bisa …,

Saya curiga kasus nya ada di e2fsprogs/program2 yang berguna untuk pembuatan ext2 filesystem tidak menduking libdevmapper ….
Ok .., untuk contoh sederhana seperti ini saja, yang satu tidak melibatkan devmapper yang lainnya melibatkan.

Btw, semua tes ini dilakukan di ave32 board :

1. Tanpa melibatkan device mapper layer :

Buat random data :

#dd if=/dev/urandom of=/home/rahasia1 bs=1M count=20

Set loopback file ini sebagai loop device:

#losetup /dev/loop1 /home/rahasia1

Kita buat filesystem di loop device ini :

#mkfs.ext2 /dev/loop1

Mount the loop device :

#mount /dev/loop1 /mnt/rahasia1

(SUKSES)

2. Dengan melibatkan device mapper layer

#dd if=/dev/urandom of=/home/rahasia2 bs=1M count=20

Set loopback file ini sebagai loop device:

#losetup /dev/loop2 /home/rahasia2

buat logical volume :

#cryptsetup -y –hash plain create rahasia2 /dev/loop2

Pastikan langkah diatas berhasil :

#dmsetup ls

bash-3.2# dmsetup ls

rahasia (254, 0)

rahasia2 (254, 1)

bash-3.2#

Untuk strace output perintah diatas, lihat strace output [1], ada yang aneh dengan ioctl nya lagi … ):

Buat filesystem :

#mkfs.ext2 /dev/mapper/rahasia2

Untuk output strace perintah diatas lihat [2]

Coba mount .. :

bash-3.2# mount /dev/mapper/rahasia2

mount: mounting /dev/mapper/rahasia2 on /mnt/rahasia2 failed

bash-3.2#

Untuk strace output nya bisa dilihat di [3]

Gagal … )-:

Seperti diawal tadi dikatakan …, kira dimana letak kesalahan ?
kalau disini berarti bisa ditebak bukan di cryptsetup source kan ?
Menurut pengamatan saya, kemungkinan besar kambing hitamnya ada pada mke2fs,
jika kita mengkompilasi utilitas ini, yang tak lain adalah bagian dari e2fsprogs
(http://e2fsprogs.sourceforge.net/), maka ada opsi apakah ingin mengaktifkan libdevmapper support atau tidak ?

Pada avr32 opsi ini tidak diaktifkan, krn libdevmapper support pada e2fsprogs akan
memunculkan dependecny ke selinux library (libselinux dan libsepol), yang keduanya
tak dapat di cross compile ke avr32. ini bisa dilihat dari perbandingan sharded library yang
digunakan oleh mke2fs di ubuntu dan ave32, sbb :

di ubuntu :

root@netherland:~# ldd /sbin/mke2fs
linux-gate.so.1 => (0xffffe000)
libext2fs.so.2 => /lib/libext2fs.so.2 (0xb7ee7000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7ee4000)
libblkid.so.1 => /lib/libblkid.so.1 (0xb7edc000)
libuuid.so.1 => /lib/libuuid.so.1 (0xb7ed8000)
libe2p.so.2 => /lib/libe2p.so.2 (0xb7ed2000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d91000)
libdevmapper.so.1.02 => /lib/libdevmapper.so.1.02 (0xb7d7f000)
libselinux.so.1 => /lib/libselinux.so.1 (0xb7d69000)
libsepol.so.1 => /lib/libsepol.so.1 (0xb7d28000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7d10000)
/lib/ld-linux.so.2 (0xb7f11000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d0c000)

di avr32 :
bash-3.2# ldd /sbin/mke2fs

libext2fs.so.2 => /lib/libext2fs.so.2 (0x2aab3000)

libcom_err.so.2 => /lib/libcom_err.so.2 (0x2aac5000)

libblkid.so.1 => /lib/libblkid.so.1 (0x2aac7000)

libuuid.so.1 => /lib/libuuid.so.1 (0x2aace000)

libe2p.so.2 => /lib/libe2p.so.2 (0x2aad1000)

libc.so.0 => /lib/libc.so.0 (0x2aad6000)

ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaab000)

Kira2 apakah benar masalah disini ?

Pak Adi & Pak doni bisa tolong dilihat lagi …🙂 ?

Mudahan2 bulan ini issues ini bisa ke solve …, jadi saya bisa ke langkah selanjutnya …🙂

Btw, di output strace mkesfs di avr32 di complain tak menemukan /etc/mke2fs.conf
, saya coba include kan nanti, kalau bisa nanti saya kabari, kalau tidak …. )-:

Kira2 apa yah ?

Kalau ada “data2” lagi yang diperlukan untuk menganalisa masalah ini …, minta saja yah …
🙂

Thanks !!
Wassalam

[1]
—————————dmsetup ls output begin—————————————

bash-3.2# strace dmsetup ls

execve(“/usr/sbin/dmsetup”, [“dmsetup”, “ls”], [/* 9 vars */]) = 0

mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab0000

stat(“/etc/ld.so.cache”, {st_mode=S_IFREG|0644, st_size=64, …}) = 0

open(“/etc/ld.so.cache”, O_RDONLY) = 3

mmap(NULL, 64, PROT_READ, MAP_SHARED, 3, 0) = 0x2aab1000

close(3) = 0

open(“/lib/libdevmapper.so.1.02”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=64250, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 53248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab3000

mmap(0x2aab3000, 41748, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aab3000

mmap(0x2aabe000, 6928, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa) = 0x2aabe000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 233472, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac0000

mmap(0x2aac0000, 203764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aac0000

mmap(0x2aaf2000, 7024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31) = 0x2aaf2000

mmap(0x2aaf4000, 17808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aaf4000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

munmap(0x2aab1000, 64) = 0

stat(“/lib/ld-uClibc.so.0”, {st_mode=S_IFREG|0755, st_size=13532, …}) = 0

ioctl(0, TCGETS, {B115200 opost isig icanon echo …}) = 0

ioctl(1, TCGETS, {B115200 opost isig icanon echo …}) = 0

brk(0) = 0x9000

brk(0xa000) = 0xa000

open(“/proc/devices”, O_RDONLY|O_LARGEFILE) = 3

ioctl(3, TCGETS, 0x7fefca80) = -1 ENOTTY (Inappropriate ioctl for device)

brk(0xb000) = 0xb000

read(3, “Character devices:\n 1 mem\n 4 /”…, 4096) = 226

close(3) = 0

open(“/proc/misc”, O_RDONLY|O_LARGEFILE) = 3

ioctl(3, TCGETS, 0x7fefca84) = -1 ENOTTY (Inappropriate ioctl for device)

read(3, ” 63 device-mapper\n 1 psaux\n229 “…, 4096) = 37

close(3) = 0

stat64(0x7fefcc98, 0x7fefcc20) = 0

open(“/dev/mapper/control”, O_RDWR|O_LARGEFILE) = 3

open(“/proc/devices”, O_RDONLY|O_LARGEFILE) = 4

ioctl(4, TCGETS, 0x7fefca74) = -1 ENOTTY (Inappropriate ioctl for device)

read(4, “Character devices:\n 1 mem\n 4 /”…, 4096) = 226

read(4, “”, 4096) = 0

close(4) = 0

brk(0xe000) = 0xe000

ioctl(3, 0xc134fd00, 0x92e8) = 0

ioctl(3, 0xc134fd02, 0x92e8) = 0

write(1, “rahasia\t(254, 0)\n”, 17rahasia (254, 0)

) = 17

write(1, “rahasia2\t(254, 1)\n”, 18rahasia2 (254, 1)

) = 18

close(3) = 0

_exit(0) = ?

Process 560 detached

bash-3.2#
—————————dmsetup ls output end—————————————

[2]
————————— begin—————————————

bash-3.2# mkfs.ext2 /dev/mapper/rahasia2

execve(“/sbin/mkfs.ext2”, [“mkfs.ext2”, “/dev/mapper/rahasia2”], [/* 9 vars */]) = 0

mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab0000

stat(“/etc/ld.so.cache”, {st_mode=S_IFREG|0644, st_size=64, …}) = 0

open(“/etc/ld.so.cache”, O_RDONLY) = 3

mmap(NULL, 64, PROT_READ, MAP_SHARED, 3, 0) = 0x2aab1000

close(3) = 0

open(“/lib/libext2fs.so.2”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=69044, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 73728, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab3000

mmap(0x2aab3000, 66492, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aab3000

mmap(0x2aac4000, 2556, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10) = 0x2aac4000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libcom_err.so.2”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=4856, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 8192, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac5000

mmap(0x2aac5000, 3652, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aac5000

mmap(0x2aac6000, 4012, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aac6000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libblkid.so.1”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=23356, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 28672, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac7000

mmap(0x2aac7000, 19980, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aac7000

mmap(0x2aacc000, 6076, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4) = 0x2aacc000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libuuid.so.1”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=7932, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 12288, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aace000

mmap(0x2aace000, 6580, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aace000

mmap(0x2aad0000, 2884, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x2aad0000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libe2p.so.2”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=15964, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 20480, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aad1000

mmap(0x2aad1000, 13820, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aad1000

mmap(0x2aad5000, 2832, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3) = 0x2aad5000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 233472, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aad6000

mmap(0x2aad6000, 203764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aad6000

mmap(0x2ab08000, 7024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31) = 0x2ab08000

mmap(0x2ab0a000, 17808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab0a000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libcom_err.so.2”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=4856, …}) = 0

close(3) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

open(“/lib/libuuid.so.1”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0755, st_size=7932, …}) = 0

close(3) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

munmap(0x2aab1000, 64) = 0

stat(“/lib/ld-uClibc.so.0”, {st_mode=S_IFREG|0755, st_size=13532, …}) = 0

ioctl(0, TCGETS, {B115200 opost isig icanon echo …}) = 0

ioctl(1, TCGETS, {B115200 opost isig icanon echo …}) = 0

brk(0) = 0xb000

brk(0xc000) = 0xc000

open(“/etc/mke2fs.conf”, O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOTDIR (Not a directory)

open(“/etc/mke2fs.conf”, O_RDONLY) = 3

ioctl(3, TCGETS, 0x7fa2e200) = -1 ENOTTY (Inappropriate ioctl for device)

brk(0xd000) = 0xd000

read(3, “[defaults]\n\tbase_features = spar”…, 4096) = 330

read(3, “”, 4096) = 0

close(3) = 0

uname({sys=”Linux”, node=”ngw.example.net”, …}) = 0

write(2, “mke2fs “, 7mke2fs ) = 7

write(2, “1.39”, 41.39) = 4

write(2, ” (“, 2 () = 2

write(2, “29-May-2006”, 1129-May-2006) = 11

write(2, “)\n”, 2)

) = 2

stat64(0x7fa2ef57, 0x7fa2eb00) = 0

stat(“/dev/mapper/rahasia2”, {st_mode=S_IFBLK|0600, st_rdev=makedev(254, 1), …}) = 0

open(“/proc/swaps”, O_RDONLY) = 3

ioctl(3, TCGETS, 0x7fa2e5fc) = -1 ENOTTY (Inappropriate ioctl for device)

brk(0xe000) = 0xe000

read(3, “”, 4096) = 0

close(3) = 0

open(“/proc/mounts”, O_RDONLY) = 3

ioctl(3, TCGETS, 0x7fa2e554) = -1 ENOTTY (Inappropriate ioctl for device)

stat(“/dev/mapper/rahasia2”, {st_mode=S_IFBLK|0600, st_rdev=makedev(254, 1), …}) = 0

brk(0xf000) = 0xf000

read(3, “rootfs / rootfs rw 0 0\n/dev/root”…, 4096) = 246

stat(“rootfs”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

stat(“/dev/root”, {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 1), …}) = 0

stat(“proc”, {st_mode=S_IFDIR|0555, st_size=0, …}) = 0

stat(“sys”, {st_mode=S_IFDIR|0755, st_size=0, …}) = 0

stat(“dev”, {st_mode=S_IFDIR|0755, st_size=2440, …}) = 0

stat(“pts”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

stat(“config”, {st_mode=S_IFDIR|0755, st_size=0, …}) = 0

stat(“tmp”, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=80, …}) = 0

stat(“run”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

stat(“log”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

read(3, “”, 4096) = 0

stat(“/”, {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

close(3) = 0

open(“/etc/mtab”, O_RDONLY) = 3

ioctl(3, TCGETS, 0x7fa2e554) = -1 ENOTTY (Inappropriate ioctl for device)

stat(“/dev/mapper/rahasia2”, {st_mode=S_IFBLK|0600, st_rdev=makedev(254, 1), …}) = 0

read(3, “rootfs / rootfs rw 0 0\n/dev/root”…, 4096) = 246

stat(“rootfs”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

stat(“/dev/root”, {st_mode=S_IFBLK|0660, st_rdev=makedev(253, 1), …}) = 0

stat(“proc”, {st_mode=S_IFDIR|0555, st_size=0, …}) = 0

stat(“sys”, {st_mode=S_IFDIR|0755, st_size=0, …}) = 0

stat(“dev”, {st_mode=S_IFDIR|0755, st_size=2440, …}) = 0

stat(“pts”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

stat(“config”, {st_mode=S_IFDIR|0755, st_size=0, …}) = 0

stat(“tmp”, {st_mode=S_IFDIR|S_ISVTX|0777, st_size=80, …}) = 0

stat(“run”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

stat(“log”, 0x7fa2e604) = -1 ENOENT (No such file or directory)

read(3, “”, 4096) = 0

stat(“/”, {st_mode=S_IFDIR|0755, st_size=4096, …}) = 0

close(3) = 0

stat(“/dev/mapper/rahasia2”, {st_mode=S_IFBLK|0600, st_rdev=makedev(254, 1), …}) = 0

open(“/dev/mapper/rahasia2”, O_RDONLY|O_EXCL) = 3

close(3) = 0

open(“/dev/mapper/rahasia2″, O_RDONLY|O_LARGEFILE) = 3

uname({sys=”Linux”, node=”ngw.example.net”, …}) = 0

ioctl(3, 0x80041272, 0x7fa2ebc0) = 0

close(3) = 0

open(“/dev/mapper/rahasia2”, O_RDONLY|O_LARGEFILE) = 3

ioctl(3, BLKSSZGET, 0x7fa2edb0) = 0

close(3) = 0

open(“/dev/mapper/rahasia2″, O_RDWR|O_EXCL|O_LARGEFILE) = 3

uname({sys=”Linux”, node=”ngw.example.net”, …}) = 0

time(NULL) = 1072922830

brk(0x10000) = 0x10000

brk(0x11000) = 0x11000

lseek(3, 1024, SEEK_SET) = 1024

write(3, “”…, 3072) = 3072

gettimeofday({1072922830, 980316}, NULL) = 0

open(“/dev/urandom”, O_RDONLY) = 4

fcntl(4, F_GETFD) = 0

fcntl(4, F_SETFD, FD_CLOEXEC) = 0

getpid() = 564

getuid() = 0

gettimeofday({1072922830, 984518}, NULL) = 0

gettimeofday({1072922830, 985083}, NULL) = 0

read(4, “\344O\210^&\370\370$4\324lq\321\202-\25”, 16) = 16

gettimeofday({1072922830, 987419}, NULL) = 0

gettimeofday({1072922830, 987972}, NULL) = 0

read(4, “m(\360\250U\177jh\31\354\251\23E1W\4”, 16) = 16

write(1, “Filesystem label=”, 17Filesystem label=) = 17

write(1, “\n”, 1

) = 1

write(1, “OS type: “, 9OS type: ) = 9

write(1, “Linux”, 5Linux) = 5

write(1, “\n”, 1

) = 1

write(1, “Block size=”, 11Block size=) = 11

write(1, “1024”, 41024) = 4

write(1, ” (log=”, 6 (log=) = 6

write(1, “0”, 10) = 1

write(1, “)\n”, 2)

) = 2

write(1, “Fragment size=”, 14Fragment size=) = 14

write(1, “1024”, 41024) = 4

write(1, ” (log=”, 6 (log=) = 6

write(1, “0”, 10) = 1

write(1, “)\n”, 2)

) = 2

write(1, “5136”, 45136) = 4

write(1, ” inodes, “, 9 inodes, ) = 9

write(1, “20480”, 520480) = 5

write(1, ” blocks\n”, 8 blocks

) = 8

write(1, “1024”, 41024) = 4

write(1, ” blocks (“, 9 blocks () = 9

write(1, “5”, 15) = 1

write(1, “.”, 1.) = 1

write(1, “0”, 10) = 1

write(1, “0”, 10) = 1

write(1, “%) reserved for the super user\n”, 31%) reserved for the super user

) = 31

write(1, “First data block=”, 17First data block=) = 17

write(1, “1”, 11) = 1

write(1, “\n”, 1

) = 1

write(1, “Maximum filesystem blocks=”, 26Maximum filesystem blocks=) = 26

write(1, “20971520”, 820971520) = 8

write(1, “\n”, 1

) = 1

write(1, “3”, 13) = 1

write(1, ” block groups\n”, 14 block groups

) = 14

write(1, “8192”, 48192) = 4

write(1, ” blocks per group, “, 19 blocks per group, ) = 19

write(1, “8192”, 48192) = 4

write(1, ” fragments per group\n”, 21 fragments per group

) = 21

write(1, “1712”, 41712) = 4

write(1, ” inodes per group\n”, 18 inodes per group

) = 18

write(1, “Superblock backups stored on blo”…, 37Superblock backups stored on blocks: ) = 37

write(1, “\n\t”, 2

) = 2

write(1, “8193”, 48193) = 4

write(1, “\n”, 1

) = 1

write(1, “\n”, 1

) = 1

lseek(3, 0, SEEK_SET) = 0

read(3, “\305\253\342g~\211;6\24\200\17Z\364Jb\347\2226″…, 512) = 512

lseek(3, 0, SEEK_SET) = 0

write(3, “”…, 1024) = 1024

brk(0x13000) = 0x13000

lseek(3, 20905984, SEEK_SET) = 20905984

write(3, “”…, 8192) = 8192

lseek(3, 20914176, SEEK_SET) = 20914176

write(3, “”…, 8192) = 8192

lseek(3, 20922368, SEEK_SET) = 20922368

write(3, “”…, 8192) = 8192

lseek(3, 20930560, SEEK_SET) = 20930560

write(3, “”…, 8192) = 8192

lseek(3, 20938752, SEEK_SET) = 20938752

write(3, “”…, 8192) = 8192

lseek(3, 20946944, SEEK_SET) = 20946944

write(3, “”…, 8192) = 8192

lseek(3, 20955136, SEEK_SET) = 20955136

write(3, “”…, 8192) = 8192

lseek(3, 20963328, SEEK_SET) = 20963328

write(3, “”…, 8192) = 8192

write(1, “Writing inode tables: “, 22Writing inode tables: ) = 22

write(1, “0”, 10) = 1

write(1, “/”, 1/) = 1

write(1, “3”, 13) = 1

write(1, “\10\10\10”, 3) = 3

lseek(3, 86016, SEEK_SET) = 86016

write(3, “”…, 8192) = 8192

lseek(3, 94208, SEEK_SET) = 94208

write(3, “”…, 8192) = 8192

lseek(3, 102400, SEEK_SET) = 102400

write(3, “”…, 8192) = 8192

lseek(3, 110592, SEEK_SET) = 110592

write(3, “”…, 8192) = 8192

lseek(3, 118784, SEEK_SET) = 118784

write(3, “”…, 8192) = 8192

lseek(3, 126976, SEEK_SET) = 126976

write(3, “”…, 8192) = 8192

lseek(3, 135168, SEEK_SET) = 135168

write(3, “”…, 8192) = 8192

lseek(3, 143360, SEEK_SET) = 143360

write(3, “”…, 8192) = 8192

lseek(3, 151552, SEEK_SET) = 151552

write(3, “”…, 8192) = 8192

lseek(3, 159744, SEEK_SET) = 159744

write(3, “”…, 8192) = 8192

lseek(3, 167936, SEEK_SET) = 167936

write(3, “”…, 8192) = 8192

lseek(3, 176128, SEEK_SET) = 176128

write(3, “”…, 8192) = 8192

lseek(3, 184320, SEEK_SET) = 184320

write(3, “”…, 8192) = 8192

lseek(3, 192512, SEEK_SET) = 192512

write(3, “”…, 8192) = 8192

lseek(3, 200704, SEEK_SET) = 200704

write(3, “”…, 8192) = 8192

lseek(3, 208896, SEEK_SET) = 208896

write(3, “”…, 8192) = 8192

lseek(3, 217088, SEEK_SET) = 217088

write(3, “”…, 8192) = 8192

lseek(3, 225280, SEEK_SET) = 225280

write(3, “”…, 8192) = 8192

lseek(3, 233472, SEEK_SET) = 233472

write(3, “”…, 8192) = 8192

lseek(3, 241664, SEEK_SET) = 241664

write(3, “”…, 8192) = 8192

lseek(3, 249856, SEEK_SET) = 249856

write(3, “”…, 8192) = 8192

lseek(3, 258048, SEEK_SET) = 258048

write(3, “”…, 8192) = 8192

lseek(3, 266240, SEEK_SET) = 266240

write(3, “”…, 8192) = 8192

lseek(3, 274432, SEEK_SET) = 274432

write(3, “”…, 8192) = 8192

lseek(3, 282624, SEEK_SET) = 282624

write(3, “”…, 8192) = 8192

lseek(3, 290816, SEEK_SET) = 290816

write(3, “”…, 8192) = 8192

lseek(3, 299008, SEEK_SET) = 299008

write(3, “”…, 6144) = 6144

write(1, “1”, 11) = 1

write(1, “/”, 1/) = 1

write(1, “3”, 13) = 1

write(1, “\10\10\10”, 3) = 3

lseek(3, 8474624, SEEK_SET) = 8474624

write(3, “”…, 8192) = 8192

lseek(3, 8482816, SEEK_SET) = 8482816

write(3, “”…, 8192) = 8192

lseek(3, 8491008, SEEK_SET) = 8491008

write(3, “”…, 8192) = 8192

lseek(3, 8499200, SEEK_SET) = 8499200

write(3, “”…, 8192) = 8192

lseek(3, 8507392, SEEK_SET) = 8507392

write(3, “”…, 8192) = 8192

lseek(3, 8515584, SEEK_SET) = 8515584

write(3, “”…, 8192) = 8192

lseek(3, 8523776, SEEK_SET) = 8523776

write(3, “”…, 8192) = 8192

lseek(3, 8531968, SEEK_SET) = 8531968

write(3, “”…, 8192) = 8192

lseek(3, 8540160, SEEK_SET) = 8540160

write(3, “”…, 8192) = 8192

lseek(3, 8548352, SEEK_SET) = 8548352

write(3, “”…, 8192) = 8192

lseek(3, 8556544, SEEK_SET) = 8556544

write(3, “”…, 8192) = 8192

lseek(3, 8564736, SEEK_SET) = 8564736

write(3, “”…, 8192) = 8192

lseek(3, 8572928, SEEK_SET) = 8572928

write(3, “”…, 8192) = 8192

lseek(3, 8581120, SEEK_SET) = 8581120

write(3, “”…, 8192) = 8192

lseek(3, 8589312, SEEK_SET) = 8589312

write(3, “”…, 8192) = 8192

lseek(3, 8597504, SEEK_SET) = 8597504

write(3, “”…, 8192) = 8192

lseek(3, 8605696, SEEK_SET) = 8605696

write(3, “”…, 8192) = 8192

lseek(3, 8613888, SEEK_SET) = 8613888

write(3, “”…, 8192) = 8192

lseek(3, 8622080, SEEK_SET) = 8622080

write(3, “”…, 8192) = 8192

lseek(3, 8630272, SEEK_SET) = 8630272

write(3, “”…, 8192) = 8192

lseek(3, 8638464, SEEK_SET) = 8638464

write(3, “”…, 8192) = 8192

lseek(3, 8646656, SEEK_SET) = 8646656

write(3, “”…, 8192) = 8192

lseek(3, 8654848, SEEK_SET) = 8654848

write(3, “”…, 8192) = 8192

lseek(3, 8663040, SEEK_SET) = 8663040

write(3, “”…, 8192) = 8192

lseek(3, 8671232, SEEK_SET) = 8671232

write(3, “”…, 8192) = 8192

lseek(3, 8679424, SEEK_SET) = 8679424

write(3, “”…, 8192) = 8192

lseek(3, 8687616, SEEK_SET) = 8687616

write(3, “”…, 6144) = 6144

write(1, “2”, 12) = 1

write(1, “/”, 1/) = 1

write(1, “3”, 13) = 1

write(1, “\10\10\10”, 3) = 3

lseek(3, 16780288, SEEK_SET) = 16780288

write(3, “”…, 8192) = 8192

lseek(3, 16788480, SEEK_SET) = 16788480

write(3, “”…, 8192) = 8192

lseek(3, 16796672, SEEK_SET) = 16796672

write(3, “”…, 8192) = 8192

lseek(3, 16804864, SEEK_SET) = 16804864

write(3, “”…, 8192) = 8192

lseek(3, 16813056, SEEK_SET) = 16813056

write(3, “”…, 8192) = 8192

lseek(3, 16821248, SEEK_SET) = 16821248

write(3, “”…, 8192) = 8192

lseek(3, 16829440, SEEK_SET) = 16829440

write(3, “”…, 8192) = 8192

lseek(3, 16837632, SEEK_SET) = 16837632

write(3, “”…, 8192) = 8192

lseek(3, 16845824, SEEK_SET) = 16845824

write(3, “”…, 8192) = 8192

lseek(3, 16854016, SEEK_SET) = 16854016

write(3, “”…, 8192) = 8192

lseek(3, 16862208, SEEK_SET) = 16862208

write(3, “”…, 8192) = 8192

lseek(3, 16870400, SEEK_SET) = 16870400

write(3, “”…, 8192) = 8192

lseek(3, 16878592, SEEK_SET) = 16878592

write(3, “”…, 8192) = 8192

lseek(3, 16886784, SEEK_SET) = 16886784

write(3, “”…, 8192) = 8192

lseek(3, 16894976, SEEK_SET) = 16894976

write(3, “”…, 8192) = 8192

lseek(3, 16903168, SEEK_SET) = 16903168

write(3, “”…, 8192) = 8192

lseek(3, 16911360, SEEK_SET) = 16911360

write(3, “”…, 8192) = 8192

lseek(3, 16919552, SEEK_SET) = 16919552

write(3, “”…, 8192) = 8192

lseek(3, 16927744, SEEK_SET) = 16927744

write(3, “”…, 8192) = 8192

lseek(3, 16935936, SEEK_SET) = 16935936

write(3, “”…, 8192) = 8192

lseek(3, 16944128, SEEK_SET) = 16944128

write(3, “”…, 8192) = 8192

lseek(3, 16952320, SEEK_SET) = 16952320

write(3, “”…, 8192) = 8192

lseek(3, 16960512, SEEK_SET) = 16960512

write(3, “”…, 8192) = 8192

lseek(3, 16968704, SEEK_SET) = 16968704

write(3, “”…, 8192) = 8192

lseek(3, 16976896, SEEK_SET) = 16976896

write(3, “”…, 8192) = 8192

lseek(3, 16985088, SEEK_SET) = 16985088

write(3, “”…, 8192) = 8192

lseek(3, 16993280, SEEK_SET) = 16993280

write(3, “”…, 6144) = 6144

write(1, “done “…, 33done

) = 33

time(NULL) = 1072922832

lseek(3, 86016, SEEK_SET) = 86016

read(3, “”…, 1024) = 1024

geteuid() = 0

time(NULL) = 1072922832

lseek(3, 87040, SEEK_SET) = 87040

read(3, “”…, 1024) = 1024

lseek(3, 306176, SEEK_SET) = 306176

write(3, “\v\f\1\2.\2\364\3\2\2..”…, 1024) = 1024

lseek(3, 86016, SEEK_SET) = 86016

write(3, “”…, 1024) = 1024

lseek(3, 305152, SEEK_SET) = 305152

write(3, “\2\f\1\2.\2\f\2\2..\v\350″…, 1024) = 1024

lseek(3, 307200, SEEK_SET) = 307200

write(3, “\4″…, 1024) = 1024

lseek(3, 308224, SEEK_SET) = 308224

write(3, “\4″…, 1024) = 1024

lseek(3, 309248, SEEK_SET) = 309248

write(3, “\4″…, 1024) = 1024

lseek(3, 310272, SEEK_SET) = 310272

write(3, “\4″…, 1024) = 1024

lseek(3, 86016, SEEK_SET) = 86016

read(3, “”…, 1024) = 1024

lseek(3, 311296, SEEK_SET) = 311296

write(3, “\4″…, 1024) = 1024

time(NULL) = 1072922832

time(NULL) = 1072922832

lseek(3, 312320, SEEK_SET) = 312320

write(3, “\4″…, 1024) = 1024

time(NULL) = 1072922832

lseek(3, 313344, SEEK_SET) = 313344

write(3, “\4″…, 1024) = 1024

lseek(3, 314368, SEEK_SET) = 314368

write(3, “\4″…, 1024) = 1024

lseek(3, 315392, SEEK_SET) = 315392

write(3, “\4″…, 1024) = 1024

lseek(3, 316416, SEEK_SET) = 316416

write(3, “\4″…, 1024) = 1024

lseek(3, 317440, SEEK_SET) = 317440

write(3, “\4″…, 1024) = 1024

lseek(3, 87040, SEEK_SET) = 87040

write(3, “”…, 1024) = 1024

lseek(3, 86016, SEEK_SET) = 86016

write(3, “\320\200\363?\320\200\363?\320\200\363″…, 1024) = 1024

lseek(3, 318464, SEEK_SET) = 318464

write(3, “”…, 1024) = 1024

lseek(3, 3072, SEEK_SET) = 3072

write(3, “\3 “…, 1024) = 1024

lseek(3, 4096, SEEK_SET) = 4096

write(3, “\4 “…, 1024) = 1024

lseek(3, 5120, SEEK_SET) = 5120

write(3, “\5 “…, 1024) = 1024

lseek(3, 6144, SEEK_SET) = 6144

write(3, “\6 “…, 1024) = 1024

lseek(3, 7168, SEEK_SET) = 7168

write(3, “\7 “…, 1024) = 1024

lseek(3, 8192, SEEK_SET) = 8192

write(3, “\10 “…, 1024) = 1024

lseek(3, 9216, SEEK_SET) = 9216

write(3, “\t “…, 1024) = 1024

lseek(3, 10240, SEEK_SET) = 10240

write(3, “\n “…, 1024) = 1024

lseek(3, 11264, SEEK_SET) = 11264

write(3, “\v “…, 1024) = 1024

lseek(3, 12288, SEEK_SET) = 12288

write(3, “\f “…, 1024) = 1024

lseek(3, 13312, SEEK_SET) = 13312

write(3, “\r “…, 1024) = 1024

lseek(3, 14336, SEEK_SET) = 14336

write(3, “\16 “…, 1024) = 1024

lseek(3, 15360, SEEK_SET) = 15360

write(3, “\17 “…, 1024) = 1024

lseek(3, 16384, SEEK_SET) = 16384

write(3, “\20 “…, 1024) = 1024

lseek(3, 17408, SEEK_SET) = 17408

write(3, “\21 “…, 1024) = 1024

lseek(3, 18432, SEEK_SET) = 18432

write(3, “\22 “…, 1024) = 1024

lseek(3, 19456, SEEK_SET) = 19456

write(3, “\23 “…, 1024) = 1024

lseek(3, 20480, SEEK_SET) = 20480

write(3, “\24 “…, 1024) = 1024

lseek(3, 21504, SEEK_SET) = 21504

write(3, “\25 “…, 1024) = 1024

lseek(3, 22528, SEEK_SET) = 22528

write(3, “\26 “…, 1024) = 1024

lseek(3, 23552, SEEK_SET) = 23552

write(3, “\27 “…, 1024) = 1024

lseek(3, 24576, SEEK_SET) = 24576

write(3, “\30 “…, 1024) = 1024

lseek(3, 25600, SEEK_SET) = 25600

write(3, “\31 “…, 1024) = 1024

lseek(3, 26624, SEEK_SET) = 26624

write(3, “\32 “…, 1024) = 1024

lseek(3, 27648, SEEK_SET) = 27648

write(3, “\33 “…, 1024) = 1024

lseek(3, 28672, SEEK_SET) = 28672

write(3, “\34 “…, 1024) = 1024

lseek(3, 29696, SEEK_SET) = 29696

write(3, “\35 “…, 1024) = 1024

lseek(3, 30720, SEEK_SET) = 30720

write(3, “\36 “…, 1024) = 1024

lseek(3, 31744, SEEK_SET) = 31744

write(3, “\37 “…, 1024) = 1024

lseek(3, 32768, SEEK_SET) = 32768

write(3, ” “…, 1024) = 1024

lseek(3, 33792, SEEK_SET) = 33792

write(3, “! “…, 1024) = 1024

lseek(3, 34816, SEEK_SET) = 34816

write(3, “\” “…, 1024) = 1024

lseek(3, 35840, SEEK_SET) = 35840

write(3, “# “…, 1024) = 1024

lseek(3, 36864, SEEK_SET) = 36864

write(3, “$ “…, 1024) = 1024

lseek(3, 37888, SEEK_SET) = 37888

write(3, “% “…, 1024) = 1024

lseek(3, 38912, SEEK_SET) = 38912

write(3, “& “…, 1024) = 1024

lseek(3, 39936, SEEK_SET) = 39936

write(3, “\’ “…, 1024) = 1024

lseek(3, 40960, SEEK_SET) = 40960

write(3, “( “…, 1024) = 1024

lseek(3, 41984, SEEK_SET) = 41984

write(3, “) “…, 1024) = 1024

lseek(3, 43008, SEEK_SET) = 43008

write(3, “* “…, 1024) = 1024

lseek(3, 44032, SEEK_SET) = 44032

write(3, “+ “…, 1024) = 1024

lseek(3, 45056, SEEK_SET) = 45056

write(3, “, “…, 1024) = 1024

lseek(3, 46080, SEEK_SET) = 46080

write(3, “- “…, 1024) = 1024

lseek(3, 47104, SEEK_SET) = 47104

write(3, “. “…, 1024) = 1024

lseek(3, 48128, SEEK_SET) = 48128

write(3, “/ “…, 1024) = 1024

lseek(3, 49152, SEEK_SET) = 49152

write(3, “0 “…, 1024) = 1024

lseek(3, 50176, SEEK_SET) = 50176

write(3, “1 “…, 1024) = 1024

lseek(3, 51200, SEEK_SET) = 51200

write(3, “2 “…, 1024) = 1024

lseek(3, 52224, SEEK_SET) = 52224

write(3, “3 “…, 1024) = 1024

lseek(3, 53248, SEEK_SET) = 53248

write(3, “4 “…, 1024) = 1024

lseek(3, 54272, SEEK_SET) = 54272

write(3, “5 “…, 1024) = 1024

lseek(3, 55296, SEEK_SET) = 55296

write(3, “6 “…, 1024) = 1024

lseek(3, 56320, SEEK_SET) = 56320

write(3, “7 “…, 1024) = 1024

lseek(3, 57344, SEEK_SET) = 57344

write(3, “8 “…, 1024) = 1024

lseek(3, 58368, SEEK_SET) = 58368

write(3, “9 “…, 1024) = 1024

lseek(3, 59392, SEEK_SET) = 59392

write(3, “: “…, 1024) = 1024

lseek(3, 60416, SEEK_SET) = 60416

write(3, “; “…, 1024) = 1024

lseek(3, 61440, SEEK_SET) = 61440

write(3, “< “…, 1024) = 1024

lseek(3, 62464, SEEK_SET) = 62464

write(3, “= “…, 1024) = 1024

lseek(3, 63488, SEEK_SET) = 63488

write(3, “> “…, 1024) = 1024

lseek(3, 64512, SEEK_SET) = 64512

write(3, “? “…, 1024) = 1024

lseek(3, 65536, SEEK_SET) = 65536

write(3, “@ “…, 1024) = 1024

lseek(3, 66560, SEEK_SET) = 66560

write(3, “A “…, 1024) = 1024

lseek(3, 67584, SEEK_SET) = 67584

write(3, “B “…, 1024) = 1024

lseek(3, 68608, SEEK_SET) = 68608

write(3, “C “…, 1024) = 1024

lseek(3, 69632, SEEK_SET) = 69632

write(3, “D “…, 1024) = 1024

lseek(3, 70656, SEEK_SET) = 70656

write(3, “E “…, 1024) = 1024

lseek(3, 71680, SEEK_SET) = 71680

write(3, “F “…, 1024) = 1024

lseek(3, 72704, SEEK_SET) = 72704

write(3, “G “…, 1024) = 1024

lseek(3, 73728, SEEK_SET) = 73728

write(3, “H “…, 1024) = 1024

lseek(3, 74752, SEEK_SET) = 74752

write(3, “I “…, 1024) = 1024

lseek(3, 75776, SEEK_SET) = 75776

write(3, “J “…, 1024) = 1024

time(NULL) = 1072922833

lseek(3, 76800, SEEK_SET) = 76800

write(3, “K “…, 1024) = 1024

write(1, “Writing superblocks and filesyst”…, 59Writing superblocks and filesystem accounting information: ) = 59

time(NULL) = 1072922833

lseek(3, 77824, SEEK_SET) = 77824

write(3, “L “…, 1024) = 1024

lseek(3, 86016, SEEK_SET) = 86016

write(3, “\320\200\363?\320\200\363?\320\200\363″…, 1024) = 1024

lseek(3, 318464, SEEK_SET) = 318464

write(3, “\3\4\5\6\7\10″…, 1024) = 1024

lseek(3, 82944, SEEK_SET) = 82944

write(3, “Q “…, 1024) = 1024

lseek(3, 81920, SEEK_SET) = 81920

write(3, “P “…, 1024) = 1024

lseek(3, 2048, SEEK_SET) = 2048

write(3, “RST\311\36\245\6\2″…, 1024) = 1024

lseek(3, 78848, SEEK_SET) = 78848

write(3, “M “…, 1024) = 1024

lseek(3, 79872, SEEK_SET) = 79872

write(3, “N “…, 1024) = 1024

lseek(3, 80896, SEEK_SET) = 80896

write(3, “O “…, 1024) = 1024

lseek(3, 8389632, SEEK_SET) = 8389632

write(3, “\20\24P\4\307L\5\24\1″…, 1024) = 1024

lseek(3, 8390656, SEEK_SET) = 8390656

write(3, “RST\311\36\245\6\2″…, 1024) = 1024

lseek(3, 83968, SEEK_SET) = 83968

write(3, “\377\377\377\377\377\377\377\377\377\377\377\377\377\377″…, 1024) = 1024

lseek(3, 84992, SEEK_SET) = 84992

write(3, “\377\7″…, 1024) = 1024

lseek(3, 8472576, SEEK_SET) = 8472576

write(3, “\377\377\377\377\377\377\377\377\377\377\377\377\377\377″…, 1024) = 1024

lseek(3, 8473600, SEEK_SET) = 8473600

write(3, “”…, 1024) = 1024

lseek(3, 16778240, SEEK_SET) = 16778240

write(3, “\377\377\377\377\377\377\377\377\377\377\377\377\377\377″…, 1024) = 1024

lseek(3, 16779264, SEEK_SET) = 16779264

write(3, “”…, 1024) = 1024

fsync(3) = 0

lseek(3, 1024, SEEK_SET) = 1024

write(3, “\20\24P\4\307L\5\24\1″…, 1024) = 1024

fsync(3) = 0

write(1, “done\n”, 5done

) = 5

write(1, “\n”, 1

) = 1

write(1, “This filesystem will be automati”…, 52This filesystem will be automatically checked every ) = 52

write(1, “29”, 229) = 2

write(1, ” mounts or\n”, 11 mounts or

) = 11

write(1, “1”, 11) = 1

write(1, “8”, 18) = 1

write(1, “0”, 10) = 1

write(1, ” days, whichever comes first. U”…, 65 days, whichever comes first. Use tune2fs -c or -i to override.

) = 65

close(3) = 0

_exit(0) = ?

Process 564 detached

bash-3.2#
————————— end—————————————

[3]
—————————output begin—————————————

bash-3.2# mount /dev/mapper/rahasia2 /mnt/rahasia2
execve(“/bin/mount”, [“mount”, “/dev/mapper/rahasia2”, “/mnt/rahasia2”], [/* 9 vars */]) = 0

mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab0000

stat(“/etc/ld.so.cache”, {st_mode=S_IFREG|0644, st_size=64, …}) = 0

open(“/etc/ld.so.cache”, O_RDONLY) = 3

mmap(NULL, 64, PROT_READ, MAP_SHARED, 3, 0) = 0x2aab1000

close(3) = 0

open(“/lib/libcrypt.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=7384, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 81920, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab3000

mmap(0x2aab3000, 6508, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aab3000

mmap(0x2aab5000, 2724, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1) = 0x2aab5000

mmap(0x2aab6000, 69492, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2aab6000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libm.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=49280, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 53248, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aac7000

mmap(0x2aac7000, 48348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aac7000

mmap(0x2aad3000, 3532, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb) = 0x2aad3000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aab2000

read(3, “\177ELF\1\2\1\3\30\255\1″…, 4096) = 4096

mmap(NULL, 233472, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aad4000

mmap(0x2aad4000, 203764, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aad4000

mmap(0x2ab06000, 7024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x31) = 0x2ab06000

mmap(0x2ab08000, 17808, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab08000

close(3) = 0

munmap(0x2aab2000, 4096) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

open(“/lib/libc.so.0”, O_RDONLY) = 3

fstat(3, {st_mode=S_IFREG|0644, st_size=209024, …}) = 0

close(3) = 0

munmap(0x2aab1000, 64) = 0

stat(“/lib/ld-uClibc.so.0”, {st_mode=S_IFREG|0755, st_size=13532, …}) = 0

ioctl(0, TCGETS, {B115200 opost isig icanon echo …}) = 0

ioctl(1, TCGETS, {B115200 opost isig icanon echo …}) = 0

getuid() = 0

brk(0) = 0x76000

brk(0x77000) = 0x77000

stat64(0x7fc9cf4e, 0x7fc9c964) = 0

open(“/etc/filesystems”, O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

open(“/proc/filesystems”, O_RDONLY|O_LARGEFILE) = 3

ioctl(3, TCGETS, 0x7fc9c8e8) = -1 ENOTTY (Inappropriate ioctl for device)

brk(0x78000) = 0x78000

read(3, “nodev\tsysfs\nnodev\trootfs\nnodev\tb”…, 4096) = 251

read(3, “”, 4096) = 0

mount(“/dev/mapper/rahasia2”, “/mnt/rahasia2”, “ext3”, MS_SILENT, “”) = -1 ENOENT (No such file or directory)

mount(“/dev/mapper/rahasia2”, “/mnt/rahasia2”, “ext2”, MS_SILENT, “”) = -1 ENOENT (No such file or directory)

mount(“/dev/mapper/rahasia2”, “/mnt/rahasia2”, “jfs”, MS_SILENT, “”) = -1 ENOENT (No such file or directory)

write(2, “mount”, 5mount) = 5

write(2, “: “, 2: ) = 2

write(2, “mounting “, 9mounting ) = 9

write(2, “/dev/mapper/rahasia2″, 20/dev/mapper/rahasia2) = 20

write(2, ” on “, 4 on ) = 4

write(2, “/mnt/rahasia2″, 13/mnt/rahasia2) = 13

write(2, ” failed”, 7 failed) = 7

write(2, “\n”, 1

) = 1

_exit(-1) = ?

Process 568 detached

bash-3.2#
—————————end—————————————

Update :

Kelihatannya bukan di e2fsprogs salahnya, saya coba recompilasi
e2fsprogs tanpa devmapper support :

./configure –prefix=/opt/e2fsprogs-1.39/binary/ –disable-blkid-devmapper

ldd output hasil kompilasi :

wildan@ihaveadream:/opt/e2fsprogs-1.39/binary$ ldd sbin/mkfs.ext2

       linux-gate.so.1 =>  (0xffffe000)

       libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7db7000)
/lib/ld-linux.so.2 (0xb7f0c000)

Kemudian saya coba step2 di email saya terdahulu :

$sudo dd if=/dev/urandom of=/home/rahasia2 bs=1M count=20

$sudo losetup /dev/loop2 /home/rahasia2

$sudo cryptsetup -y –hash plain create rahasia2 /dev/loop2

wildan@ihaveadream:/opt/e2fsprogs-1.39/binary/sbin$ sudo   ./mkfs.ext2
/dev/mapper/rahasia2

$sudo mount /dev/mapper/rahasia2 /mnt/rahasia2/

$ls /mnt/rahasia2/
lost+found

Dor .., sukses …. )-:

Berarti error nya dimana yah …. ? Any clue ?



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: