Package Details: mkinitcpio-btrfs 0.4.3-1

Git Clone URL: https://aur.archlinux.org/mkinitcpio-btrfs.git (read-only, click to copy)
Package Base: mkinitcpio-btrfs
Description: mkinitcpio hook containing advanced features for btrfs-based root devices
Upstream URL: https://github.com/xtfxme/mkinitcpio-btrfs
Licenses: BSD
Submitter: xtfxme
Maintainer: xtfxme
Last Packager: dywedir
Votes: 74
Popularity: 0.87
First Submitted: 2010-01-06 04:17 (UTC)
Last Updated: 2015-07-09 12:27 (UTC)

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 Next › Last »

<deleted-account> commented on 2010-12-04 16:46 (UTC)

Wow, you are doing really a great job ! love btrfs more and more !

xtfxme commented on 2010-12-03 21:36 (UTC)

no, it will not be lost; even your snapshot is safe. it looks like this: ) choose <snapshot> from /__snapshot/ ) snapshot <snapshot> to /__rollback ) boot /__rollback currently, you have to manually mount the root subvol (subvolid=0) then: # mount -o subvolid=0 <btrfs_dev> /mnt # cd /mnt # mv __active __active.old # mv __rollback __active on the next boot your machine would now be in the new root. however, i am finishing a _major_ update this weekend that will be able to provide _kernel_ rollbacks, multi drive roots, and automatically enumerate snapshots for syslinux. so sit tight, and stay tuned :-) C Anthony

<deleted-account> commented on 2010-12-02 11:39 (UTC)

what happens when i select a snapshot (!=__active) on boot ? can i switch back to __active or will it be lost ? (overwrited by new snapshot choosed?) thanks !

<deleted-account> commented on 2010-10-28 20:10 (UTC)

great, all done thanks ! GREAT work and GREAT FS :) Hope later this year, fsck.btrfs come :)

xtfxme commented on 2010-10-27 16:24 (UTC)

yeah. make sure you are really booting into __active... ie. when your system is running normally, you should NOT see /__active unfortunately the only way to remove the erroneous directories is with rm -rf... this is something i have brought up to the btrfs guys many times to no avail. if you have /boot on a different partition, you can remove everything except __active and __snapshot; if your using a btrfs /boot (via extlinux) you must leave /boot intact, but can remove everything else. C Anthony

<deleted-account> commented on 2010-10-27 09:22 (UTC)

if i mount the subvolid=0, can i delete all 'old' root files that exists before i applied yout hook ? (since now i have __active, i doesn't need anymore old files right ?) so mount -o subvolid=0 /dev/sda6 /mnt run rm on every directory except __active & __snapshot is that ok ? thanks !

xtfxme commented on 2010-10-27 05:16 (UTC)

# mount -o subvolid=0 <btrfs_device> /mnt # mkdir /mnt/__snapshot # btrfs sub snap /mnt/__active /mnt/__snapshot/my_savepoint-$(date +%F-%s) that should get you going :-) whe you reboot, enter the rollback menu, and you will see: 1) my_savepoint-2010-10-27-1288156742 or something similar. C Anthony

<deleted-account> commented on 2010-10-26 16:20 (UTC)

how is supposed to work this hook ? i have see it have created a snapshot __active and i think it use that as / , but how to create other snapshot that can be chosen during boot ? I need a more specific details on how it work and do on my system, since i'm also a btrfs newbe ;-) thanks !

xtfxme commented on 2010-07-14 23:29 (UTC)

updated the .install file renamed hook to "btrfs_advanced" as suggested due to the inclusion of a basic btrfs hook in mkinitcpio

brain0 commented on 2010-07-11 09:52 (UTC)

You should rename your hook to btrfs_advanced or something like that, because mkinitcpio now includes a very simple hook called btrfs, which would then conflict.