mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
Enhanced
add a option to : specific path to ignore during run grub-mkconfig
e.g :
# Found Snapshot: 2016-03-31 10:26:52 var/lib/docker/btrfs/subvolumes/74040aee4fa
docker is not a real snapshot available to boot
add : GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("var/lib/docker") to your /etc/default/grub
and this path will be skip during run grub-mkconfig
Warning : copy exactly the right path (var/lib/docker , not /var/lib/docker/), do not put the full path
This commit is contained in:
@@ -72,6 +72,9 @@ Add this lines to /etc/default/grub:
|
||||
|
||||
(Show Total of snapshots found during run "grub-mkconfig")
|
||||
|
||||
* GRUB_BTRFS_IGNORE_SPECIFIC_PATH=("var/lib/docker" "nosapshot")
|
||||
(Ignore specific path during run "grub-mkconfig")
|
||||
|
||||
|
||||
|
||||
Generate grub.cfg (on Archlinux use grub-mkconfig -o /boot/grub/grub.cfg )
|
||||
|
||||
Reference in New Issue
Block a user