- abstract out unmounting and expand to support undoing system_root - also preserve and restore LD_PRELOAD