On 19 Sep 2022, at 06:30, Tim via users users@lists.fedoraproject.org wrote:
On Sun, 2022-09-18 at 21:44 -0500, Robert Nichols wrote:
With a symlink, that "data" is the string that shows as the symlink target. The advantage over a tiny file is that if the string is short enough to fit within the inode structure, no data block on the disk needs to be allocated. That's faster and more efficient than creating a file since the inode needs to be set up and written in any case. systemd is far from the first program to take advantage of this.
Interesting. What about the old running out of inodes on a disc problem? How did they handle that?
I would assume that the file system is created with lots of inodes so it is never a problem in practice.
Barry
--
uname -rsvp Linux 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
Boilerplate: All unexpected mail to my mailbox is automatically deleted. I will only get to see the messages that are posted to the mailing list.
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue