Re: [NFS] Patch for problems with cdrom exported via NFS

From: Roderich Schupp (
Date: Sat Jun 03 2000 - 07:33:26 EST said:
>> On Thu, Jun 01, 2000 at 07:08:41PM +0200, Roderich Schupp wrote:
>> The reason is that isofs in Linux has i_blksize=0 and i_blocks=0 in
>> the inode. For a NFS gettattr call we blindly copy these values into
>> the fsattr structure. The fix is to set these to a sane value. A
> Um. Surely we should fix isofs instead?

There are other filesystems besides isofs that don't maintain i_blocks:
at least minix, ramfs and sysv. Also, fixing this value up whenever
it leaves the kernel has been the traditional method, e.g. look at
sys_stat and friends.

Cheers, Roderich

There is something to be learned from a rainstorm. When meeting with 
a sudden shower, you try not to get wet and run quickly along the road.
But doing such things as passing under the eaves of houses, you still
get wet. When you are resolved from the beginning, you will not be
perplexed, though you still get the same soaking. 

-- Hagakure - The Book of the Samurai

Roderich Schupp ExperTeam GmbH Munich, Germany

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:17 EST