cm0002@lemmy.world to linuxmemes@lemmy.world · 5 个月前What can I say, I didn't want to wait on my provider lollemmy.worldexternal-linkmessage-square46fedilinkarrow-up1607arrow-down110file-text
arrow-up1597arrow-down1external-linkWhat can I say, I didn't want to wait on my provider lollemmy.worldcm0002@lemmy.world to linuxmemes@lemmy.world · 5 个月前message-square46fedilinkfile-text
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up25·5 个月前How exactly so you pivot root? Simply chroot or something more involved?
minus-squarecm0002@lemmy.worldOPlinkfedilinkarrow-up74·5 个月前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
minus-squaredeadbeef79000@lemmy.nzlinkfedilinkarrow-up1·5 个月前The 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