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

Bug#642606: lintian - check for hardlinks in one directory



Package: lintian
Severity: normal

btrfs, the newest filesystem supported by Linux, includes a limitation
of links to one file within one directory. This limit is, depending on
the length of the filenames, something between 100 and 200 names. As
dpkg makes a link as backup for every file first, the count needs to be
adjusted. git is one of the packages I found problematic, see #642603).

This limit comes from the fact that the current on-disk-format needs to
have all names for one file within a directory in one single tree page
(usually 4KiB). There are discussions about a fix, but it requires a
format change and is therefor rather low on the priority list.

Maybe lintian could check for this a bit.

Bastian

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-rt-amd64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



Reply to: