Quote:
Originally Posted by Didier Spaier
Like openSUSE? the pic below is taken after a fresh installation of openSUSE Tumbleweed. I am tempted to steal this layout for Slint in case user wants to cut the root partition in slices, else just use ext4 for the root partition.
|
It's more like this...
464r1:root# btrfs subvolume list /mnt/debian/
ID 259 gen 157390 top level 5 path home
ID 261 gen 5621 top level 5 path snapshots/root-2017-07-23
ID 263 gen 157275 top level 259 path home/media
ID 264 gen 157397 top level 259 path home/alt
ID 265 gen 5646 top level 259 path home/snapshots/home-2017-07-23
ID 386 gen 10076 top level 5 path snapshots/root-2017-07-29
ID 407 gen 35993 top level 259 path home/snapshots/home-2018-02-04
ID 409 gen 41950 top level 259 path home/snapshots/home-2018-03-03
ID 420 gen 70929 top level 259 path home/snapshots/home-2018-10-03
ID 458 gen 157409 top level 5 path mnt/lfs-usr-local
ID 459 gen 157418 top level 5 path mnt/slck15-root
ID 460 gen 157417 top level 459 path mnt/slck15-root/var
ID 461 gen 157418 top level 459 path mnt/slck15-root/home
That's the view of the btrfs fs seen from my Slackware 14.2 instance.
Those last three subvolumes would be where 15 would go. This laptop's harddrive is kind of crowded...
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 4096 20987904 20983809 10G a9 NetBSD
/dev/sda2 20989950 905752575 884762626 421.9G 5 Extended
/dev/sda3 970983424 1379050488 408067065 194.6G 83 Linux
/dev/sda4 * 1379051520 1420091391 41039872 19.6G 83 Linux
/dev/sda5 20989952 606924799 585934848 279.4G 83 Linux
/dev/sda6 606926848 612784127 5857280 2.8G 82 Linux swap
/dev/sda7 612786176 841375743 228589568 109G a9 NetBSD
/dev/sda8 841375807 842420031 1044225 509.9M a9 NetBSD
/dev/sda9 842420095 844524609 2104515 1G 83 Linux
/dev/sda10 844527616 846100479 1572864 768M 83 Linux
/dev/sda11 846102528 850296831 4194304 2G 83 Linux
/dev/sda12 850298880 905752575 55453696 26.5G 83 Linux
... but there are blocks available on sda5 in the btrfs partition Debian now boots from. Figured I could tuck Slackware 15 in there along with debian. Should be able to mount things in the right place using the sub volume id argument and grub also can boot to a subvolume using the subvolume id, I think. Just as long as Slackware install will treat what I get mounted on /mnt without any assumptions, just as a tree to put packages into.
I'm not saying this is a good approach. Did France get the David Letterman Show? You know the bit named "Stupid Pet Tricks." Maybe it's like that. But this is pure hobbyist terroritory, so I'm letting my drive layout evolve willy nilly.