On Fri, Sep 19, 2008 at 02:52, Sergey Vlasov <vsu@xxxxxxxxxxx> wrote: > On Thu, 18 Sep 2008 11:34:59 +1000 Scott Tester wrote: > >> I am having problems with udev recognizing an ntfs filesystem under udev128. >> Strangly, another ntfs partition is being recognized. (One formatted >> using mkfs.ntfs.) > [...] >> Sep 18 10:24:06 coota hald-probe-volume: 4728: 10:24:06.793: util.c:405 >> lseek(5, 0xc0000c00, 0) >> Sep 18 10:24:06 coota hald-probe-volume: 4728: 10:24:06.793: util.c:407 >> lseek failed (Invalid argument) > > EINVAL from lseek() might mean that the code was compiled without > large file support (-D_FILE_OFFSET_BITS=64). AC_SYS_LARGEFILE is used > in configure.ac - it should add this option, but maybe this is not > working for some reason, which could be found by analyzing the build > output and maybe config.log. > > udev <= 127 did not use autotools, and the -D_FILE_OFFSET_BITS=64 > option was hardcoded in the toplevel Makefile. Oh, we might need to include config.h? Is there something set in your config.h regarding LARGE_FILE, FILE_OFFSET? Kay -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html