[CentOS] hardlinks

Fri Jul 17 09:30:58 UTC 2020
Alessandro Baggi <alessandro.baggi at gmail.com>

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 at pobox.com / 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