(0002222)
vda
03-08-07 09:14
|
Not true. With CONFIG_LFS=y:
# strace ./busybox dd seek=1000000000 bs=1k count=1 if=/dev/sda of=/dev/null
open("/dev/sda", O_RDONLY|O_LARGEFILE) = 4
open("/dev/null", O_WRONLY|O_CREAT|O_LARGEFILE, 0666) = 5
ftruncate64(5, 1024000000000) = -1 EINVAL (Invalid argument)
fstat64(5, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0
_llseek(5, 1024000000000, [0], SEEK_CUR) = 0
read(4, "\372\353%MultiBoot 0.4\r\n\0x1x\0\0Z\0p\7|\7\205\7"..., 1024) = 1024
write(5, "\372\353%MultiBoot 0.4\r\n\0x1x\0\0Z\0p\7|\7\205\7"..., 1024) = 1024
close(4) = 0
close(5) = 0
write(2, "1+0 records in\n1+0 records out\n", 311+0 records in
1+0 records out
) = 31
exit_group(0) = ? |