4 ms·
The obvious followup question that jumped to mind is "what's the difference between /bin and /sbin?". Both contained files required to boot in single user mode
by BuildTheRobots 5y ago
The obvious followup question that jumped to mind is "what's the difference between /bin and /sbin?".
Both contained files required to boot in single user mode, however /sbin contains executables not usually executed by normal users. sbin short for "System Binaries" maybe?
- voidfunc 5y agoI always understood it as statically linked binaries that could be used regardless of the state of the rest of the system.
- gompertz 5y agoBoth /bin and /sbin are generally statically linked. So you're not wrong; but primarily sbin is intended to mean "executed by root" above all else.
- monocasa 5y agoLooking through my /bin and /sbin, none of the files are statically linked.
- gompertz 5y agoHrmm what distro? I haven't looked in sometime, maybe something changed (Slackware here). My understanding was static linkage in boot related folders was to minimize chance of accidentally losing a library/dependency and breaking booting.
- monocasa 5y agoLooked at both Debian and Redhat.
- na85 4y agoHow can one discern whether a file is statically linked?
- remram 4y agofile(1) or ldd(1)
- comprev 5y agoI understood it to be 'secure binaries', locked away from regular users through security policies.