Timeline for What is the difference in file size between Symbolic and Hard links?
Current License: CC BY-SA 3.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 27, 2015 at 13:27 | comment | added | Sparhawk | So, for me in ext4, a symlink is 1 byte. Is it possible to quantify the space taken up by a hard link? | |
| Jun 26, 2015 at 3:53 | comment | added | Hongxu Chen | For symlink files, on my Linux, ls -l sym_file_name displays the symlink size, ls -lHd sym_file_name for original file size. I suspect there is a way to get the size of the hard link file (actually they both are originals). | |
| Jun 26, 2015 at 2:27 | comment | added | Max Hanson | Thank you. Is there a way to view exactly how big the link file is? Like I said, it always shows the original file size. Also, I don't want to use tools because I don't want my organization systems to be reliant on the installation of a certain program, if I reinstall or remove it I want to be able to keep my stuff, but thanks for the suggestion! | |
| Jun 26, 2015 at 2:27 | vote | accept | Max Hanson | ||
| Jun 26, 2015 at 2:08 | history | answered | Hongxu Chen | CC BY-SA 3.0 |