Ich bin kein OS X-Benutzer, aber ich kenne FreeBSD. Die Statistikausgabe damit sieht genauso aus wie Ihre, aber wenn Sie die Dinge klarstellen wollen, damit sie für Menschen lesbar sind, verwenden Sie stat -x your_path
.
Oh, was sind das für Felder? Vielleicht hilft dieses Snippet aus der Dokumentation zu OS X :
struct stat { /* when _DARWIN_FEATURE_64_BIT_INODE is NOT defined */ dev_t st_dev; /* device inode resides on */ ino_t st_ino; /* inode's number */ mode_t st_mode; /* inode protection mode */ nlink_t st_nlink; /* number or hard links to the file */ uid_t st_uid; /* user-id of owner */ gid_t st_gid; /* group-id of owner */ dev_t st_rdev; /* device type, for special file inode */ struct timespec st_atimespec; /* time of last access */ struct timespec st_mtimespec; /* time of last data modification */ struct timespec st_ctimespec; /* time of last file status change */ off_t st_size; /* file size, in bytes */ quad_t st_blocks; /* blocks allocated for file */ u_long st_blksize;/* optimal file sys I/O ops blocksize */ u_long st_flags; /* user defined flags for file */ u_long st_gen; /* file generation number */ };