ISOFS problems

From: Ingo Matthaes (hpsupport@grcdg364.grc.hp.com)
Date: Fri Apr 07 2000 - 10:20:10 EST


Hi,

Recently I´ve seen some strange behavior:

An NFS exported CDROM (iso9660) filesystem mounted on an HPUX
Client is invisible. Mount succeeded, but ls shows only an empty
directory. The reason is the getattr reply. It contains
a blocksize of 0 and 0 blocks. Unfortunately the hpux nfs client
code computes the buffersize used in the getdents() call based
on these values and caused it to fail with EINVAL.

The setting is done in fs /isofs/inode.c :

inode->i_blocks = inode->i_blksize = 0;

I changed it in

   inode->i_blocks = 1;
   inode->i_blksize = 2048;

and it works fine.

What were the reasons of that setting and can the change cause any
problems ?

Ingo

-- 
Ingo Matthaes
HP-UX Networking Support

- 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/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:18 EST