with_krbafs broken
Mark W. Eichin
eichin at kitten.gen.ma.us
Tue Jun 23 22:14:58 CEST 1998
> What platform are you using? On linux with glibc2, there is a
> problem. uid_t is 2 bytes in the kernel, and 4 bytes in userland.
This is a glibc 2.0.7 system (debian.) Ohh, I see - you mean that
*arlad* is possibly inconsistent with *xfs*, rather than *xfs* being
inconsistent with the rest of the *kernel*. Mmmmm, I'll take a look
at that...
Bingo. % gdb messages.o
(gdb) ptype struct xfs_attr
type = struct xfs_attr {
unsigned int valid;
unsigned int xa_mode; /* OOPS */
unsigned int xa_nlink; /* OOPS */
long int xa_size;
unsigned int xa_uid; /* OOPS */
unsigned int xa_gid; /* OOPS */
long int xa_atime;
long int xa_mtime;
long int xa_ctime;
unsigned int xa_fileid;
enum xfs_file_type xa_type;
}
vs % gdb xfs.o
(gdb) ptype struct xfs_attr
type = struct xfs_attr {
unsigned int valid;
short unsigned int xa_mode;
short unsigned int xa_nlink;
long int xa_size;
short unsigned int xa_uid;
short unsigned int xa_gid;
long int xa_atime;
long int xa_mtime;
long int xa_ctime;
unsigned int xa_fileid;
enum xfs_file_type xa_type;
}
Ok, I'll try rebuilding *arlad* with those definitions nailed to the
right width and see how it goes. Thanks for the clarification...
More information about the Arla-drinkers
mailing list