Skip to content

Commit 9f4f126

Browse files
behrmannkeszybz
authored andcommitted
lfsh: describe the different versions of multilib
rpm-based distros and Arch handle multilib differently with one shipping /usr/lib64 and the other shipping /usr/lib32 and therefore /usr/lib containing different widths among the two. This adds a split that describes both situations.
1 parent 03b2515 commit 9f4f126

1 file changed

Lines changed: 15 additions & 4 deletions

File tree

specs/linux_file_system_hierarchy.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,23 @@ This layout supports parallel installation of 32-bit and 64-bit variants of the
303303

304304
This directory contains architecture-independent files,
305305
internal binaries and other programs that are not regularly invoked from a shell,
306-
and shared libraries for the 32-bit architecture.
306+
and shared libraries for either the 32-bit or 64-bit architecture.
307307

308-
##### `/usr/lib64/`
308+
##### `/usr/lib64/` or `/usr/lib32/`
309309

310-
This directory contains shared libraries for the 64-bit architecture.
311-
It can be used for architecture-dependent package-specific data too.
310+
This directory contains shared libraries for the other architecture.
311+
312+
Either directory can be used for architecture-dependent package-specific data too.
313+
314+
###### `/usr/lib64/`
315+
316+
If `/usr/lib/` contains files for the 32-bit architecture,
317+
`/usr/lib64/` may exist and contain files for the 64-bit architecture
318+
319+
###### `/usr/lib32/`
320+
321+
If `/usr/lib/` contains files for the 64-bit architecture,
322+
`/usr/lib32/` may exist and contain files for the 32-bit architecture.
312323

313324
#### The directory for shared libraries for the primary architecture
314325

0 commit comments

Comments
 (0)