# strace mkfs.jfs -f -J journal_dev /dev/sdc7
execve("/sbin/mkfs.jfs", ["mkfs.jfs", "-f", "-J", "journal_dev", "/dev/sdc7"], [/* 81 vars */]) = 0
uname({sys="Linux", node="homer.ucsfmedicalcenter.org", ...}) = 0
brk(0)                                  = 0x908b000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=84429, ...}) = 0
old_mmap(NULL, 84429, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7feb000
close(3)                                = 0
open("/lib/libuuid.so.1", O_RDONLY)     = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 *\244\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9620, ...}) = 0
old_mmap(0xa42000, 11116, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xa42000
old_mmap(0xa44000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0xa44000
close(3)                                = 0
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \277\222"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1454835, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fea000
old_mmap(0x917000, 1215644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x917000
old_mmap(0xa3a000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x123000) = 0xa3a000
old_mmap(0xa3e000, 7324, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xa3e000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe9000
mprotect(0xa3a000, 4096, PROT_READ)     = 0
mprotect(0x913000, 4096, PROT_READ)     = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fe96c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7feb000, 84429)               = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fff000
write(1, "mkfs.jfs version 1.1.7, 22-Jul-2"..., 36mkfs.jfs version 1.1.7, 22-Jul-2004
) = 36
stat64("/dev/sdc7", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 39), ...}) = 0
brk(0)                                  = 0x908b000
brk(0x90ac000)                          = 0x90ac000
open("/proc/mounts", O_RDONLY)          = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ffe000
read(3, "rootfs / rootfs rw 0 0\n/proc /pr"..., 1024) = 1024
read(3, "ane 0 0\n", 1024)              = 8
read(3, "", 1024)                       = 0
stat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
stat64("/dev/sdc7", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 39), ...}) = 0
close(3)                                = 0
munmap(0xb7ffe000, 4096)                = 0
open("/dev/sdc7", O_RDWR|O_EXCL|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 39), ...}) = 0
fstat64(3, {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 39), ...}) = 0
ioctl(3, BLKGETSIZE64, 0xbff9b698)      = 0
open("/dev/sdc7", O_RDWR|O_EXCL|O_LARGEFILE) = -1 EBUSY (Device or resource busy)
write(1, "The specified disk did not finis"..., 46The specified disk did not finish formatting.
) = 46
close(3)                                = 0
munmap(0xb7fff000, 4096)                = 0
exit_group(-1)                          = ?