lseek on block device
Peter Chubb (firstname.lastname@example.org)
Tue, 18 Jun 2002 08:48:10 +1000
Is lseek64(fd, (off64_t)0, SEEK_END) guaranteed to return the
number-of-bytes in a block device (bugs aside)? Single-UNIX-spec says
yes. So why do we need BLKGETSIZE64 ?? And why do so many of the
mkfs-like tools try to do a binary search to find the file size?
Peter C email@example.com
You are lost in a maze of BitKeeper repositories, all almost the same.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/