Re: ChrootDirectory on a per key basis
On 2008-10-24 22:07, Scott Neugroschl wrote:[color=blue]
> Jefferson Ogata wrote [attribution restored]:[color=green]
>> The only properties in a directory entry are a name, entry type
>> file, directory, block device, etc.), and an inode number.[/color]
> No, the only properties in a directory entry are the name and inode
> The rest of the information comes from the inode (that's what stat(2) is
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@noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <email@example.com>
"Never try to retrieve anything from a bear."--National Park Service
openssh-unix-dev mailing list