Bug#688336: os-probe: subvol: patches to provide bootloaders with all the subvolume info.

2017-06-10 Thread Mike Mestnik
These patches can be tested from here: https://launchpad.net/~cheako/+archive/ubuntu/boot-subvol Code from here: https://github.com/cheako/os-prober/tree/aggregate

Bug#688336: os-probe: subvol: patches to provide bootloaders with all the subvolume info.

2017-06-10 Thread Mike Mestnik
Here are corrected versions of these patches. Filesystem raid is almost certainly a separate bug. From 3d4b580dea4592793af3411fc0543af36de0e958 Mon Sep 17 00:00:00 2001 From: Michael Mestnik Date: Fri, 9 Jun 2017 13:04:05 -0500 Subject: [PATCH 2/6] Process filesystem raid entries --- common.sh

Bug#688336: os-probe: subvol: patches to provide bootloaders with all the subvolume info.

2017-06-08 Thread Mike Mestnik
Using these patches reveals they are not complete, there are two areas that need to be addressed. Firstly the kernel can and will use any device in a filesystem for the contents of /proc/mount. This causes problems in multiple areas that os-probe will have to compensate for. Second 50mounted-tes

Bug#688336: os-probe: subvol: patches to provide bootloaders with all the subvolume info.

2017-06-07 Thread Mike Mestnik
Hello, This is the result of several days working the issues and analysing each aspect. These patches include only what is necessary to support subvol. Care has been taken to future proof by preparing for other filesystems, currently this only works with btrfs. These patches have been split, s

Bug#688336:

2017-05-30 Thread Mike Mestnik
Forget about all of this, I'm going to simplify the design. I have in mind to make the following changes. 1. Don't just change $1 from being the path of a block device to being a reserved word. a. Instead append an additional parameter. 2. Use subvolume id, instead of names.

Bug#688336:

2017-05-30 Thread Mike Mestnik
The patches have changes that have nothing to do with btrfs, I'll attempt to isolate these.

Bug#688336:

2017-05-30 Thread Mike Mestnik
The patches introduce a bug. /usr/lib/os-probes/50mounted-tests calls fs_type on "btrfs" I'll look into this some more.

Bug#688336:

2017-05-29 Thread Mike Mestnik
Refresh and simplify the patches. https://github.com/cheako/os-prober/tree/btrfs-subvol Also note os-probe fork: https://github.com/campadrenalin/os-prober/commit/b571c0c7c3fe8986cc17dd200173fb7d86ef0c24 This commit reorgs the project making merges with the fork difficult. From af1753acff410e69844

Bug#688336: os-prober 1.56 and btrfs

2014-11-20 Thread Barry Jackson
On Fri, 11 Jan 2013 12:34:20 -0500 Gene Czarcinski wrote: This was found on Fedora 18. Both os-prober and linux-boot-prober do not support root, boot, or root+boot on a btrfs subvolume. The attached patch corrects that. It supplies information such that grub2, with an additional small patch,

Bug#688336: os-prober 1.56 and btrfs

2013-03-02 Thread Cyril Brulebois
Christian PERRIER (04/02/2013): > Do you think it would be OK to already commit this is the master > branch so that these important contributions are not simply forgotten > when we really start working on jessie (in a year or so...:-( ). > > Of course, if we do this, we fork a wheezy branch "just

Bug#688336: os-prober 1.56 and btrfs

2013-02-04 Thread Gene Czarcinski
On 02/04/2013 01:03 AM, Christian PERRIER wrote: Quoting Cyril Brulebois (k...@debian.org): Hi Gene, Gene Czarcinski (11/01/2013): This was found on Fedora 18. Both os-prober and linux-boot-prober do not support root, boot, or root+boot on a btrfs subvolume. thanks for the patch; I'm afraid

Bug#688336: os-prober 1.56 and btrfs

2013-02-03 Thread Christian PERRIER
Quoting Cyril Brulebois (k...@debian.org): > Hi Gene, > > Gene Czarcinski (11/01/2013): > > This was found on Fedora 18. > > > > Both os-prober and linux-boot-prober do not support root, boot, or > > root+boot on a btrfs subvolume. > > thanks for the patch; I'm afraid it's too huge for us to re

Bug#688336: os-prober 1.56 and btrfs

2013-02-03 Thread Cyril Brulebois
Hi Gene, Gene Czarcinski (11/01/2013): > This was found on Fedora 18. > > Both os-prober and linux-boot-prober do not support root, boot, or > root+boot on a btrfs subvolume. thanks for the patch; I'm afraid it's too huge for us to review/merge at this late stage of the release cycle; it should

Bug#688336: os-prober 1.56 and btrfs

2013-01-11 Thread Gene Czarcinski
This was found on Fedora 18. Both os-prober and linux-boot-prober do not support root, boot, or root+boot on a btrfs subvolume. The attached patch corrects that. It supplies information such that grub2, with an additional small patch, will not handle btrfs in 30_os-prober. I have attached

Bug#688336: update-grub finds only one system on btrfs volume

2012-09-21 Thread softcushiontorture
Package: os-prober Version: 1.55 Grub and the working environment are installed on a btrfs subvolume. update-grub does not find any other linux systems on different subvolumens (same btrfs filesystem). To reproduce on debian with btrfs-tools: Have a spare device, say /dev/sdc1 mkfs.btrfs /dev/sdc1