Re: hardlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




Il 17/07/20 10:54, Karl Vogel ha scritto:
It depends on the size of the variables in the structure used by the
stat() call.  In ext4, the "links" variable is an unsigned 16-bit integer,
so you have your limit of 64k or so.  I've worked with systems where
the limit was a signed 16-bit integer, so it maxed out at 32k.

XFS may be a full 32-bit integer, so your test script could be running
for quite some time.  Or it may just allocate space as it needs.  It sounds
like you have plenty of room for links, so I wouldn't worry.

--
Karl Vogel / vogelke@xxxxxxxxx / I don't speak for the USAF or my company

Don't accept your dog's admiration as
conclusive evidence that you are wonderful.             --Ann Landers

Hi Karl,

thank you for your clarification. I will try to rearch this limit (by curiosity)

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux