Subject: syssrc/ufs/ufs/ufs_vnops.c:ufs_getattr and vap->va_size
To: None <tech-kern@netbsd.org>
From: Sean Doran <smd@ebone.net>
List: tech-kern
Date: 08/25/2000 01:12:01
In the ufs_getattr function there is:

        vap->va_size = ip->i_ffs_size;

Why is this 0 when the inode is a device?  Would it be possible/
convenient/sane to have this be the same size as the medium/partition,
if the kernel knows it?

Naively,

	Sean.