6 ms·
I was copying a file today and thought: "Why is it duplicating the data? Why does it not just create a new second filename pointer in the filesystem?"
by bartimus 4y ago
I was copying a file today and thought: "Why is it duplicating the data? Why does it not just create a new second filename pointer in the filesystem?"
- WhatIsDukkha 4y agoTake a look at the cp man page - https://www.man7.org/linux/man-pages/man1/cp.1.html https://www.man7.org/linux/man-pages/man1/cp.1.html Look for "reflink" and you get your wish :)