Re: lseek("/dev/hda1", 0, SEEK_END) returns 0
Jeff Noxon (jeff@planetfall.com)
Mon, 18 Jan 1999 15:02:13 -0600
I'd suggest using /proc/partitions to find the data you want. But then again,
that returns the length in blocks, and not all devices are 512b/block.
Regards,
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/