| Summary: | Mount doesn't display BTRFS subvolume option | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Xavier Krantz <xakraz> |
| Component: | util-linux | Assignee: | Karel Zak <kzak> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | jonathan, kdudka, kzak, ovasik |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-10-03 22:40:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Xavier Krantz
2011-10-03 21:33:14 UTC
(In reply to comment #0) > Version-Release number of selected component (if applicable): > -------------------------------------------------------------- > * mount from util-linux 2.19.1 (with libblkid and selinux support) I am switching the component to util-linux. Don't forget that Fedora does not use classic /etc/mtab (we use symlink to /proc/mounts). The subvol= option is not available in the /proc/mounts file.
Anyway, the information about filesystem root directory (e.g. "/<subvolume>") is stored in the /proc/self/mountinfo file.
You have to use findmnt(8) to see more advanced information about mountpoints:
# mount /dev/sdb /mnt/test -o subvol=sub
# findmnt /mnt/test
TARGET SOURCE FSTYPE OPTIONS
/mnt/test /dev/sdb[/sub] btrfs rw,relatime,ssd
^^^^^
|