about summary refs log tree commit diff
path: root/nixos/lib/make-btrfs-fs.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-11-07nixos/lib/make-btrfs-fs: Use fakeroot and faketime (#265686)Samuel Cormier-Iijima1-2/+4
2023-09-15nixos/lib/make-btrfs-fs: copy improvements fromArtturin1-10/+30
https://git.sr.ht/~c00w/nixpkgs/tree/sdimagebtrfs/item/nixos/lib/make-btrfs-fs.nix I made only one change which was to use `btrfs check` instead of `fsck.btrfs` because of this warning ``` btrfs-fs.img> ++ fsck.btrfs /nix/store/6d46rc768c140asy6rjpc5rk568r36zq-btrfs-fs.img btrfs-fs.img> If you wish to check the consistency of a BTRFS filesystem or btrfs-fs.img> repair a damaged filesystem, see btrfs(8) subcommand 'check'. ``` Co-authored-by: Colin L Rice <colin@daedrum.net>
2022-01-05lib: Create make-btrfs-fs library to match make-ext4-fs.Colin L Rice1-0/+45
I wrote this up when I was playing with a btrfs sd card, and figured that it would be useful for others.