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 .. 5 6 7 8 9 10 11 12 13 14 Next › Last »

xtfxme commented on 2012-05-24 16:30 (UTC)

@falconindy, ah yes i saw some chatter RE: the mkinitcpio release, but i've been a bit too swamped lately and skimmed over the conversation ... thanks for the note; i'll take a look at the required changes and update tonight (or tomorrow).

falconindy commented on 2012-05-24 13:45 (UTC)

Hi, please update your install hook for the changes in mkinitcpio 0.9.0. If you need examples, you can reference any of the install hooks included with mkinitcpio. There's also documentation included in the manpage now describing the recommended API. Feel free to email me if you have any questions. Thanks!

yetAnotherZero commented on 2012-05-08 15:47 (UTC)

Perfect. Thanks for the clarification.

xtfxme commented on 2012-05-08 07:01 (UTC)

@anotherZero, no breakage, and should not need to worry about that. i try to make it very clear in the post_install what is happening/coming ... ideally, i should updated it every time i suppose ... some of my more radical ideas, should they ever even materialize, will very likely be in a new package; this one is meant to provide a mostly barebones solution for accessing snapshots during early boot.

yetAnotherZero commented on 2012-05-07 16:20 (UTC)

@xtfxme we aren't looking at any breakage going forward are we? Any changes to the subvol detection etc, will be backwards compatible so I will always have a bootable system without changing my grub.cfg etc? Just wanted to verify before upgrading, and wanted to make sure so I know if I need to read up before any future upgrades. Thanks.

<deleted-account> commented on 2012-05-05 18:12 (UTC)

On my boxes I use this hook but besides that I wrote two scripts that make my life a bit easier. One lists snapshots, I use that in one filesystem with NFS roots for multiple systems. The other script creates a snapshot of __active in __snapshot/<date> and also creates snapshots of subvolumes in __active. Both scripts make use of zsh because zsh makes shell scripting fun again. They're not intended as a turn-key solution that works for everyone but probably easy to customise. Sharing is fun so find them here: https://github.com/slacks42/slackscripts/tree/master/btrfs-stuff

xtfxme commented on 2012-05-05 03:13 (UTC)

@eworm, updated; thanks for the ping. also added btrfsck to the list of added binaries (did not try to ensure it's called) @nrujac, did you try the hook? what happened? i feel like it should work regardless -- the hook simply mounts the default subvolume (.) and snapshots that. it may however fail because it will try to mount the subvols by name (/__active) and if thats really in a subvolume (subvol/__active) then it would fail ... however, support for /mounting/by/path was only added very recently ... prior to that, you could only /mount_by_names if in the top-level volume. if you want to try it anyways, simply mount subvolid=0 and snapshot your current system to /__active, reboot, and go from there. your old system will remain intact until you decide to remove it or return to it :-) you could also play around with setting kernel variables to change how the hook works; all variables in the hook are initialized like this: : ${BTRFS_DIR_ACTIVE:="/__active"} ... which means "set BTRFS_DIR_ACTIVE to /__active, unless it's already set to something". initcpio will export any variables found on the command line ... so you could do something like this in grub2/syslinux: /vmlinuz initrd=/image.img BTRFS_DIR_ACTIVE=/mysubvol/__active ... and that should work. i'll explore some other options too.

xtfxme commented on 2012-05-02 14:19 (UTC)

@nrujac, what "old hook" are you referring? i can look into detecting the currently mounted subvol. @eworm, sure i'll take care of that tonight or tomorrow (in the middle of a move).

eworm commented on 2012-05-02 09:30 (UTC)

Can you install files to /usr/lib/initcpio/, please? mkinitcpio directories moved to /usr/.