On 16/03/10 14:37, Karel Zak wrote: > On Thu, Mar 11, 2010 at 10:23:13AM +0000, Pádraig Brady wrote: >> Attached is the latest refactoring. >> Works well in testing here and should be easy to use going forward. > > Applied (both patches), thanks! Great thanks. I just did a pull to test with: echo l | fdisk/fdisk /dev/zero FYI that however now spins forever doing: #0 0x00110422 in __kernel_vsyscall () #1 0x00719073 in __read_nocancel () from /lib/libc.so.6 #2 0x08058a14 in blkdev_valid_offset (fd=3, offset=3074457345618258603) at ../lib/blkdev.c:31 #3 0x08058ae9 in blkdev_find_size (fd=3) at ../lib/blkdev.c:47 #4 0x08058c6c in blkdev_get_size (fd=3, bytes=0xbf8a7438) at ../lib/blkdev.c:151 #5 0x08058c93 in blkdev_get_sectors (fd=3, sectors=0x8064a40) at ../lib/blkdev.c:161 #6 0x0804be96 in get_geometry (fd=3, g=0x0) at fdisk.c:1138 #7 0x0804c1c6 in get_boot (what=fdisk) at fdisk.c:1226 #8 0x08051452 in main (argc=2, argv=0xbf8a75c4) at fdisk.c:2998 cheers, Pádraig. -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html