ChrootDirectory on a per key basis

Jefferson Ogata Jefferson.Ogata at
Sat Oct 25 09:21:28 EST 2008

On 2008-10-24 22:07, Scott Neugroschl wrote:
> Jefferson Ogata wrote [attribution restored]:
>> The only properties in a directory entry are a name, entry type
>> (regular
>> file, directory, block device, etc.), and an inode number.
> No, the only properties in a directory entry are the name and inode
> number.
> The rest of the information comes from the inode (that's what stat(2) is
> for).

Of course the type comes originally from the inode. But on some systems 
there is a copy of it in struct dirent (see <bits/dirent.h> on Linux). 
The on-disk format depends on the filesystem.

Jefferson Ogata <Jefferson.Ogata at>
NOAA Computer Incident Response Team (N-CIRT) <ncirt at>
"Never try to retrieve anything from a bear."--National Park Service

More information about the openssh-unix-dev mailing list