Friday, April 25, 2025

command line – Why do /usr/bin/gcc, /usr/bin/g++, /usr/bin/clang, /usr/bin/python3, /usr/bin/git, and different 71 recordsdata have the identical inode quantity?

I am utilizing MacOS 12.7.6. The command

ls -li /usr/bin/gcc /usr/bin/g++ /usr/bin/clang /usr/bin/python3 /usr/bin/git 

provides

1152921500312781356 -rwxr-xr-x  76 root  wheel  167120 Jul 17  2024 /usr/bin/clang 1152921500312781356 -rwxr-xr-x  76 root  wheel  167120 Jul 17  2024 /usr/bin/g++ 1152921500312781356 -rwxr-xr-x  76 root  wheel  167120 Jul 17  2024 /usr/bin/gcc 1152921500312781356 -rwxr-xr-x  76 root  wheel  167120 Jul 17  2024 /usr/bin/git 1152921500312781356 -rwxr-xr-x  76 root  wheel  167120 Jul 17  2024 /usr/bin/python3 

which exhibits /usr/bin/gcc, /usr/bin/g++, /usr/bin/clang, /usr/bin/python3, /usr/bin/git have the identical inode quantity. There are 76 recordsdata sharing the identical inode quantity 1152921500312781356, and listed here are the checklist:

/usr/bin/indent /usr/bin/xml2man /usr/bin/gcov /usr/bin/g++ /usr/bin/libtool /usr/bin/Rez /usr/bin/ctags /usr/bin/c++ /usr/bin/strings /usr/bin/gm4 /usr/bin/clang /usr/bin/git-receive-pack /usr/bin/objdump /usr/bin/c99 /usr/bin/c++filt /usr/bin/strip /usr/bin/python3 /usr/bin/clangd /usr/bin/lex /usr/bin/ctf_insert /usr/bin/sourcekit-lsp /usr/bin/pip3 /usr/bin/ld /usr/bin/lldb /usr/bin/pagestuff /usr/bin/headerdoc2html /usr/bin/hdxml2manxml /usr/bin/resolveLinks /usr/bin/git-upload-archive /usr/bin/gcc /usr/bin/segedit /usr/bin/dwarfdump /usr/bin/gperf /usr/bin/vtool /usr/bin/dsymutil /usr/bin/SplitForks /usr/bin/rpcgen /usr/bin/otool /usr/bin/DeRez /usr/bin/codesign_allocate /usr/bin/cpp /usr/bin/swift /usr/bin/make /usr/bin/nm /usr/bin/flex++ /usr/bin/llvm-gcc /usr/bin/ar /usr/bin/unifdef /usr/bin/lipo /usr/bin/clang++ /usr/bin/m4 /usr/bin/asa /usr/bin/swiftc /usr/bin/as /usr/bin/gnumake /usr/bin/ResMerger /usr/bin/git-shell /usr/bin/cc /usr/bin/unifdefall /usr/bin/dimension /usr/bin/llvm-g++ /usr/bin/yacc /usr/bin/c89 /usr/bin/git-upload-pack /usr/bin/lorder /usr/bin/ranlib /usr/bin/flex /usr/bin/SetFile /usr/bin/nmedit /usr/bin/bison /usr/bin/mig /usr/bin/GetFileInfo /usr/bin/git /usr/bin/install_name_tool /usr/bin/cmpdylib /usr/bin/gatherheaderdoc 

I feel they arrive from xcode command line instruments. However why do all of them have the identical inode quantity? Does that imply they’re really the identical file?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles