-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This works if scubaroot = /home/$USER: is_bind_mount() detects the bind mount because we're trying to mount the /jreinhart subdirectory of the /home/ mount: scubainit: ERROR - Error creating home dir: "/home/jreinhart" is on a bind-mount: /dev/mapper/magnum--vg-home[/jreinhart] But it fails for scubaroot = /home: is_bind_mount() sees root="/" and returns false. I think there is simply no way to reliably detect a bind mount! So now we might be to the point of either passing the list of bind-mount volumes from scuba to scubainit, or by checking for this situation in scuba instead.
- Loading branch information
1 parent
c253719
commit 6f50a85
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters