lkml.org 
[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:1.079 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site