Skip to content

Commit

Permalink
log mount info
Browse files Browse the repository at this point in the history
Signed-off-by: Zen <[email protected]>
  • Loading branch information
desultory committed Jan 12, 2025
1 parent 8560fda commit 5127ef8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ugrd/fs/mounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ def get_mounts_info(self) -> None:
device, mountpoint, fstype, options, _, _ = line.split()
self["_mounts"][mountpoint] = {"device": device, "fstype": fstype, "options": options.split(",")}

self.logger.debug("Mount info: %s" % pretty_print(self["_mounts"]))


@contains("hostonly", "Skipping blkid enumeration, hostonly mode is disabled.", log_level=30)
def get_blkid_info(self, device=None) -> dict:
Expand Down

0 comments on commit 5127ef8

Please sign in to comment.