Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 735 Bytes

README.md

File metadata and controls

32 lines (21 loc) · 735 Bytes

statx

This program uses the statx system call to return file status (extended) in the body file format. The code was based on the example provided in the Linux kernel test-statx.c.

Body file format

MD5|name|inode|mode_as_string|UID|GID|size|atime|mtime|ctime|crtime

🔧 Building

make ARCH

🚀 How to use it

./statx FILE

Example

./statx /etc        
0|/etc|269|drwxr-xr-x|0|0|3242|1696957845|1696940645|1696940645|1678364047

📜 License

The statx project uses the Apache License Version 2.0 software license.