tech-kern archive

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

Re: struct fid/filehandle size and lfs



On June 21, 2016 3:32:54 AM EDT, David Holland <dholland-tech%netbsd.org@localhost> wrote:
>A while back the filehandle type for ffs was fixed to have a 64-bit
>inode number instead of silently truncating to 32 bits. Yesterday I
>naively merged that change into lfs and it exploded the world.
>
...
>Furthermore since this lfs_fhandle struct is an abomination it should
>really be dropped entirely in favor of an interface that works like
>getfh(2). But you can't really cram that into an fcntl (or an ioctl
>either) so it's not clear how to do that. (It can't use getfh(2)
>because there's no path for the ifile; the ifile is internal.

getfh("/../magic_path.ifile", ...) ?





Home | Main Index | Thread Index | Old Index