Hi Mike, James,
On Sun, Jun 24, 2018 at 10:54:43AM -0600, James Bowlin wrote:
> On Sun, Jun 24, 2018 at 12:20 PM, MikeB said:
> > Am I correct in unmounting/switch_root/re-mounting for these
> > filesystems?
>
> I mount them all again under the new root directory before I
> switch_root. I imagine mounting them after switch_root would
> work too. Doing it before allows me to chroot before I
> switch_root. I only bother with umounting /dev/pts/. I would
> be surprised if switch_root moved or remounted the pseudo
> filesystems for you automatically.
Another option is to 'mount --move' the mounted filesystems from initramfs
mount points to their final locations under your block device rootfs.
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- [email protected] - tel: +972.52.368.4656, http://www.tkos.co.il -
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox