Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Tue, 7 Dec 1999 14:00:08 +0000 (GMT) | Subject | Re: fs/read_write.c : default_llseek() with /dev/hda |
| |
Hi,
On Tue, 7 Dec 1999 08:20:08 +0100, Thomas Waldmann <ThomasWaldmann@gmx.de> said:
> the value of file->f_dentry->d_inode->i_size is zero !?
> Shouldn't that variable better hold the size of the block device ?
In general you don't necessarily know the size of block devices in advance. Think of cdroms, for example: you don't know until you read it how much of it has been written.
--Stephen
- 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/
| |