Artix Linux Forum

Artix Linux => System => Topic started by: mardiyah on 31 July 2023, 14:56:59

Title: No /sbin nor /usr/sbin directory here
Post by: mardiyah on 31 July 2023, 14:56:59
Why Arch dont have /sbin nor /usr/sbin directory differing to most Linux ?
Title: Re: No /sbin nor /usr/sbin directory here
Post by: gripped on 31 July 2023, 15:35:06
/bin
/sbin
/usr/sbin

should all be links to /usr/bin

If you don't have the links it's a problem and you should reinstall the package 'filesystem'

If you do have the links https://www.freedesktop.org/wiki/Software/systemd/TheCaseForTheUsrMerge/ explains the rational.
Different distros do it differently (in some cases) because they are different distros and can.

Make sense to me. There was a time when the filesystem tree was really messy with X programs in their own /usr/X11R6/bin and sometimes configs in  /usr/X11R6/etc.  It was confusing to a new Linux user (me at least).

Other distros also often keep their libraries in different places.
Title: Re: No /sbin nor /usr/sbin directory here
Post by: nous on 31 July 2023, 22:42:07
Ah, yeah, the brilliant move to /usr/bin "to make / clutter-free", which resulted in /bin and /sbin being symlinks to /usr/bin, / just as cluttered as before and /usr/bin a helter-skelter of thousands of binaries. KISS, my ass.
Title: Re: No /sbin nor /usr/sbin directory here
Post by: gripped on 31 July 2023, 23:30:58
Remove the symlinks and they'd be chaos as a million perl and bash scripts scream in unison.

I admit I was against the change when announced (Luddite is in my nature more often than not) but its grown on me over time.