Bug 1113153 - RFE: Inspection should support systemd mount units
Summary: RFE: Inspection should support systemd mount units
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-25 14:07 UTC by Richard W.M. Jones
Modified: 2021-04-19 10:34 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-06-25 14:07:32 UTC
Description of problem:

systemd allows mountpoints to be specified using unit files, eg:

-----------------
$ cat /usr/lib/systemd/system/proc-sys-fs-binfmt_misc.mount 
#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Arbitrary Executable File Formats File System
Documentation=https://www.kernel.org/doc/Documentation/binfmt_misc.txt
Documentation=http://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
DefaultDependencies=no

[Mount]
What=binfmt_misc
Where=/proc/sys/fs/binfmt_misc
Type=binfmt_misc
-----------------

Although currently these are confined just to "built in" mountpoints
such as the proc filesystem in the example above, they could in
theory be used for real filesystems.

Currently libguestfs only looks at /etc/fstab to find mountpoints
so it would miss these.

Version-Release number of selected component (if applicable):

libguestfs 1.27.19


Note You need to log in before you can comment on or make changes to this bug.