Changeset 3621 in MondoRescue for branches/3.3/mindi-busybox/util-linux/switch_root.c
- Timestamp:
- Dec 20, 2016, 4:07:32 PM (7 years ago)
- Location:
- branches/3.3
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mindi-busybox/util-linux/switch_root.c
r3232 r3621 207 207 That's why the careful sequencing above: we cd into the new mount point before 208 208 we do the mount --move. Moving the mount point would otherwise make it 209 totally inaccessible to is because cd-ing to the old path wouldn't give it to209 totally inaccessible to us because cd-ing to the old path wouldn't give it to 210 210 us anymore, and cd "/" just gives us the cached dentry from when the process 211 211 was created (in this case the old initramfs one). But the "." symlink gives
Note:
See TracChangeset
for help on using the changeset viewer.