keks24 / raspberry-pi-luks

[mirror] encrypt the "root" partition of the raspberry pi stock image "raspberry pi os lite"
Apache License 2.0
28 stars 2 forks source link

chroot: mount --bind-rslave #3

Closed xanoni closed 3 years ago

xanoni commented 3 years ago

Hey Keks, quick question, shouldn't the command mount --make-rslave "/dev/" be mount --make-rslave "/mnt/dev/" instead? My /dev/pts always gets screwed up when I wind down the chroot, and I assume it's because of that.

keks24 commented 3 years ago

Hi Xanoni,

good catch!

Yes, it should be mount --make-rslave "/mnt/dev/"

I wonder why this still worked on my Banana Pi...

I will update this, when I finally got time to migrate to my new internal infrastructure.

-Keks