Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-02 Thread Luca Falavigna
Control: tags -1 + patch 2016-02-01 16:41 GMT+01:00 Johannes Schauer : > You initially offered a patch - I'd definitely welcome one :) Attached :) -- Cheers, Luca union-type_runtime.patch Description: Binary data

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Johannes Schauer
Hi, Quoting Luca Falavigna (2016-02-01 10:09:37) > Beside the fact overlayfs is available since 3.18 Linux kernels, which > makes a little bit harder to backport latest sbuild (for instance, > Jessie has 3.16), this change could cause issues on systems where > overlayfs is not available (thinking

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Luca Falavigna
2016-02-01 12:32 GMT+01:00 Johannes Schauer : > does there exist an easy way to detect at run-time whether overlayfs is > available on the system? A dumb method could be checking whether the filesystem is listed in /proc/filesystems: $ cat /proc/filesystems | grep overlay nodev

Bug#813360: [buildd-tools-devel] Bug#813360: Overlayfs available on newer Linux kernel only

2016-02-01 Thread Johannes Schauer
Hi, Quoting Luca Falavigna (2016-02-01 16:34:11) > A dumb method could be checking whether the filesystem is listed in > /proc/filesystems: > $ cat /proc/filesystems | grep overlay > nodev overlay > $ > > But I think it will return nothing if overlay module is not loaded via > modprobe first,