Filesystems (XFS, for example) are starting to use 64 bit inodes. The userspace tools should correctly report these. --- stat-1.5/stat.c Wed Apr 5 10:55:53 2000 +++ stat-1.5/stat.c Wed Apr 5 10:50:42 2000 @@ -314,9 +314,9 @@ if(oneperline) (void) printf("\n"); if(oneperline) - (void) printf("Inode: %-10ld\n", Sbuf.st_ino); + (void) printf("Inode: %-15lld\n", Sbuf.st_ino); else - (void) printf(" Inode: %-10ld", Sbuf.st_ino); + (void) printf(" Inode: %-15lld", Sbuf.st_ino); (void) printf("Links: %-5d", Sbuf.st_nlink); /* Only meaningful if file is device */ (In unrelated news, is there a 'stat' maintainer that all distributions feed from?)
It looks like stat(1) is no longer maintained. Someone did a from-scratch rewrite, called it 2.2, and uploaded it to metalab, though.
Fixed by upgrading to stat-2.2-1.