Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
voidfunc
on April 6, 2022
|
parent
|
context
|
favorite
| on:
Debian still having trouble with merged /usr
I always understood it as statically linked binaries that could be used regardless of the state of the rest of the system.
gompertz
on April 6, 2022
[–]
Both /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
on April 6, 2022
|
parent
[–]
Looking through my /bin and /sbin, none of the files are statically linked.
gompertz
on April 6, 2022
|
root
|
parent
|
next
[–]
Hrmm 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
on April 6, 2022
|
root
|
parent
|
next
[–]
Looked at both Debian and Redhat.
_ofdw
on April 6, 2022
|
root
|
parent
|
prev
[–]
How can one discern whether a file is statically linked?
remram
on April 6, 2022
|
root
|
parent
[–]
file(1) or ldd(1)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: