NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/48797



The following reply was made to PR kern/48797; it has been noted by GNATS.

From: "Thomas Schmitt" <scdbackup%gmx.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/48797
Date: Fri, 09 May 2014 23:14:59 +0200

 Sigh. I got the proof that my proposal cannot be implemented.
 A gesture in cd9660_vnops.c:cd9660_readlink() needs the full byte
 address of a directory record.
 
 First it reads a 512-block (which would be doable) but then it
 addresses the directory record in that block:
 
         /*
          * Setup the directory pointer for this inode
          */
         dirp = (ISODIR *)((char *)bp->b_data + (ip->i_number & imp->im_bmask));
 
 And here my proposed granularity of 32 bytes is not acceptable.
 
 Sorry twice for the noise.
 
 (I now riddle why i did not see the block address computation
  at least. 23:15 ... maybe i should shutdown now and rollback
  tomorrow.)
 


Home | Main Index | Thread Index | Old Index