# strace -f cryptsetup -y --cipher serpent-cbc-essiv:sha256 --key-size 256 luksFormat /dev/sda9 execve("/sbin/cryptsetup", ["cryptsetup", "-y", "--cipher", "serpent-cbc-essiv:sha256", "--key-size", "256", "luksFormat", "/dev/sda9"], [/* 24 vars */]) = 0 uname({sys="Linux", node="frog", ...}) = 0 brk(0) = 0x7178d0 brk(0x718840) = 0x718840 arch_prctl(ARCH_SET_FS, 0x718180) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "0/\377\361\257cO\177", 8) = 8 close(3) = 0 brk(0x739840) = 0x739840 brk(0x73a000) = 0x73a000 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 write(2, "\nWARNING!\n========\n", 19 WARNING! ======== ) = 19 write(2, "This will overwrite data on /dev"..., 88This will overwrite data on /dev/sda9 irrevocably. Are you sure? (Type uppercase yes): ) = 88 fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x31ccdffdb000 read(0, YES "YES\n", 1024) = 4 mlockall(MCL_CURRENT|MCL_FUTURE) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "DEr\306\304\276O\213\304\303\351g\206\276\240!\206\265\312\252\35m\314 \n\344k?\221\357\233\22", 32) = 32 close(3) = 0 open("/dev/urandom", O_RDONLY) = 3 read(3, "\31\252v\267w\247\236{@\240\35\355Qm\317\267\262\313\314#\265s\363\r\211\331\336x\177{\215\2", 32) = 32 close(3) = 0 open("/dev/urandom", O_RDONLY) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 getpid() = 4623 getuid() = 0 getppid() = 4622 read(3, "Q`A\32\204\2\265\322iTe\267\213\6?}", 16) = 16 gettid() = 4623 rt_sigaction(SIGVTALRM, {0x40b420, [VTALRM], SA_RESTORER|SA_RESTART, 0xf0000000fc0c748}, {SIG_DFL}, 8) = 0 setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={1, 0}}, NULL) = 0 --- SIGVTALRM (Virtual timer expired) @ 0 (0) --- --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++