You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
golive rehearse: follow-ups from #429 lenses (userdata mounts, top mount, docs, py3.11) #434
Follow-ups from the two lenses on #429 (merged e74e40d): state #429 (comment), live-safety #429 (comment). None deletes live data; items 1-2 can put a rehearsal folder inside live userdata (the #423 kind of harm).
minorrehearse.py:105-113: the bind check maps only the live home. Also map realpath(<home>/userdata) and every mount at or under the home, and refuse when the rehearsal folder overlaps any of them (a userdata link, userdata on its own partition, a subfolder of it bound at the backups folder: all allowed today, confirmed with fake mount lists).
minorosadapter.py:144-155: filesystems are told apart by device number; the same files through a second mount (NFS twice, FUSE/bindfs, a Windows drive mounted twice on WSL) pass. Also source() takes the longest mount point, not the top one (a parent mounted over a child mount). Fix the top-mount pick; add one README line on the second-mount limit.
minor docsREADME.md:261, :302 still say "remove an old folder by hand", which no longer unblocks an unreadable mount list; the "remove it by hand" message in _guard_old (rehearse.py:225-227) is now unreachable.
nit test gaposadapter.py:132: no test pins decoding of escapes (\040) in mountinfo field 4 (mutation stayed green in both lenses).
nitrehearse.py:265: shutil.rmtree(..., dir_fd=) needs Python 3.11+; the kit states no minimum. State it (and check at start), or avoid dir_fd.
nitrehearse.py:134: the empty-list refusal in mounts() is redundant for rehearse (mutation green).
Activity
fix(golive): rehearse checks where live userdata really is, the mount…
fix(golive): rehearse checks where live userdata really is, the mount…
fix(golive): rehearse checks where live userdata really is, the mount…
fix(golive): rehearse checks where live userdata really is, the mount…
fix(golive): rehearse checks where live userdata really is, the mount…
fix(golive): rehearse checks where live userdata really is, the mount…