Thread (14 messages) 14 messages, 7 authors, 2012-06-20

Re: Subvolumes and /proc/self/mountinfo

From: Helmut Hullen <hidden>
Date: 2012-06-20 01:08:11

Hallo, Chris,

Du meintest am 19.06.12:
quoted
I'm trying to figure out an algorithm from taking an arbitrary
mounted btrfs directory and break it down into:

<device(s), subvolume, subpath>

where, keep in mind, <subpath> may not actually be part of the
mount.
Do you want an API for this, or is it enough to wander through
/dev/disk style symlinks?
The big reason it isn't here yet is because Kay had this neat patch
to blkid and udev to just put all the info you need into /dev/btrfs
(or some other suitable location).  It would allow you to see which
devices belong to which filesystems etc.
"btrfs" should work even without any "udev" installation.

Viele Gruesse!
Helmut
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help