Talk:Btrfs/System Root Guide

From Gentoo Wiki
Jump to: navigation, search
Note
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

Simpler examples?

Talk status
This discussion is still ongoing.

This one looks pretty rough. I think users would benefit from a simpler case, like having only a regular, big rootfs, converting that in-place and getting a regular, non-RAID btrfs that boots fine without initramfs. Michał Górny (talk) 06:18, 26 July 2013 (UTC)

When you copy ext4->btrfs with tar, you may lose capabilities

Talk status
This discussion is done.

Maybe it's worth mentioning (or figuring out how to avoid) losing capabilities when you copy the fs across, in my case from ext4. Admittedly, I didn't use the p option in tar, as I was running as root (and p is the default).

Examples are: ping, PAM. I fixed ping with setcap and re-emerged PAM to e.g., access crontab -e.

EDIT: Maybe tar needs the --xattrs flag :) EDIT2: Amended this myself for / and /boot (for good measure, as it won't hurt). Closing this discussion.

Gabrielg (talk) 07:54, 22 May 2020 (UTC)