We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6683054 commit 2e7a6d1Copy full SHA for 2e7a6d1
src/ugrd/fs/mounts.py
@@ -588,7 +588,8 @@ def _autodetect_mount(self, mountpoint) -> None:
588
mount_name = "root" if mountpoint == "/" else mountpoint.removeprefix("/")
589
if mount_name in self["mounts"] and any(s_type in self["mounts"][mount_name] for s_type in SOURCE_TYPES):
590
return self.logger.warning(
591
- "[%s] Mount config already set: %s" % (mountpoint, pretty_print(self["mounts"][mount_name]))
+ "[%s] Skipping autodetection, mount config already set:\n%s"
592
+ % (colorize(mountpoint, "yellow"), pretty_print(self["mounts"][mount_name]))
593
)
594
595
mount_config = {mount_name: {"type": "auto", "options": ["ro"]}} # Default to auto and ro
0 commit comments