(please cc me, I'm not subscribed)
Hi,
On 07/05/2015 13:44, intrigeri wrote:
May you please also provide a patch that applies on top of bilibop
0.4.23? I need to build a Tails/Jessie ISO with a newer kernel (that
only supports overlayfs).
'git diff debian/0.4.23..451b58ad17c4ea4a lib/bilibop/common.sh' builds
the attached patch.
Unfortunately, bilibop-lockfs needs more work and tests, and is not
ready for a new release. This means that there will not be a new bilibop
package in debian repositories in the next (two) weeks.
Any news on this front?
Things work pretty good, and will probably be packaged next week.
Cheers,
quidame
diff --git a/lib/bilibop/common.sh b/lib/bilibop/common.sh
index 1fbf549..18c1156 100644
--- a/lib/bilibop/common.sh
+++ b/lib/bilibop/common.sh
@@ -1,6 +1,6 @@
# /lib/bilibop/common.sh
#
-# Copyright (C) 2011-2014, Yann Amar quid...@poivron.org
+# Copyright (C) 2011-2015, Yann Amar quid...@poivron.org
# License GPL-3.0+
#
# This program is free software: you can redistribute it and/or modify
@@ -31,8 +31,9 @@
# and others), and then are replaced by grep and sed heuristics.
# We assume, even if it is not often, that /etc/udev/udev.conf can have been
# modified and that 'udev_root' can be something else than '/dev'.
-# dm-crypt/LUKS, LVM, loopback and aufs root filesystems (and combinations
-# of them) are now fully supported.
+# dm-crypt/LUKS, LVM, loopback, and aufs root filesystems (and combinations
+# of them) are now fully supported. Btrfs and overlay filesystems are also
+# partially supported (not fully tested).
# Functions that just output informations about devices/filesystems can be
# called by any unprivileged user.
@@ -211,56 +212,62 @@ EOF
### Here is the main function's dependency tree {{{
#
# physical_hard_disk
-# |
# |__underlying_partition
-#|
#|__underlying_device
-#| |
#| |__underlying_device_from_device
-#| | |
#| | |__underlying_device_from_dm
#| | |__underlying_device_from_loop
-#| | |
#| | |__backing_file_from_loop
#| | |__device_id_of_file
-#| | |__device_node_from_major_minor
+#| | |__underlying_device_from_file __ see below
+#| | |__device_node_from_major_minor v
#| |
-#| |__underlying_device_from_file
+#| |__underlying_device_from_file possible loop entry point
+#| |__device_id_of_file |
+#| |__find_mountpoint|
+#| |__is_aufs_mountpoint |
+#| | |__canonical |
+#| | |
+#| |__underlying_device_from_aufs|
+#| | |__aufs_readonly_branch|
+#| | | |__aufs_dirs_if_brs0|
+#| | | | |__is_aufs_mountpoint|
+#| | | | |__canonical |
+#| | | | |
+#| | | |__aufs_si_directory|
+#| | | |__is_aufs_mountpoint|
+#| | ||__canonical |
+#| | | |
+#| | |__device_id_of_file |
+#| | |__underlying_device_from_file __| possible loop entry point
+#| | |__device_node_from_major_minor|
+#| | |
+#| |__is_overlay_mountpoint |
+#| | |__canonical |
+#| | |
+#| |__underlying_device_from_overlayfs |
+#| | |__overlay_lowerdir|
+#| | | |__is_overlay_mountpoint|
+#| | | | |__canonical |
+#| | | | |
+#| | | |__canonpath|
+#| | | |
+#| | |__device_id_of_file |
+#| | |__underlying_device_from_file __| possible loop entry point
+#| | |__device_node_from_major_minor
#| |
-#| |__device_node_from_major_minor
-#| |__device_id_of_file
-#| |__find_mountpoint
-#| | |
-#| | |__is_aufs_mountpoint
-#| | |
-#| | |__canonical
+#| |__is_btrfs_mountpoint
+#| | |__canonical
#| |
-#| |__underlying_device_from_aufs
-#||
-#||__aufs_dirs
-#|| |
-#|| |__aufs_dirs_if_brs0
-#|| | |
-#|| | |__is_aufs_mountpoint
-#|| | |
-#|| | |_canonical
-#|| |
-#|| |__aufs_si_directory
-#|| |
-#|| |__is_aufs_mountpoint
-#|||
-#|||__canonical
-#||
-#||__device_id_of_file
-#||__device_node_from_major_minor
+#|