@cm0002 to linuxmemes • 6 months agoWhat can I say, I didn't want to wait on my provider lolimagemessage-square46arrow-up1607arrow-down110file-text
arrow-up1597arrow-down1imageWhat can I say, I didn't want to wait on my provider lol@cm0002 to linuxmemes • 6 months agomessage-square46file-text
minus-squareexulinkfedilinkEnglish25•6 months agoHow exactly so you pivot root? Simply chroot or something more involved?
minus-square@cm0002OPlink74•6 months agochroot isn’t enough, you need “real” pivot_root chroot just changes the shells root point, pivot_root actually changes the root mount point and enables this trick to work
minus-square@[email protected]linkfedilink1•6 months agoThe man page has a good example. https://www.man7.org/linux/man-pages/man8/pivot_root.8.html
How exactly so you pivot root? Simply chroot or something more involved?
chroot isn’t enough, you need “real” pivot_root
chroot just changes the shells root point, pivot_root actually changes the root mount point and enables this trick to work
This is god-tier technique, kudos
Holy fuck
The man page has a good example.
https://www.man7.org/linux/man-pages/man8/pivot_root.8.html