From 89d1016ab17b89c34c58b4e515868ee0dc546f7c6b3927cb915216666b662fd1 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Sun, 1 Mar 2009 03:28:54 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=1 --- boot-btrfs.sh | 19 - btrfs-progs-0.18.tar.bz2 | 3 + btrfs-progs-v6.1.3.tar.gz | 3 - btrfs-progs-v6.1.3.tar.sign | Bin 566 -> 0 bytes btrfsprogs.changes | 2647 ----------------------------------- btrfsprogs.keyring | 89 -- btrfsprogs.spec | 424 +----- dracut-fsck-help.txt | 6 - mkfs-default-features.patch | 48 - module-setup.sh.in | 17 - ready | 0 setup-btrfs.sh | 6 - 12 files changed, 28 insertions(+), 3234 deletions(-) delete mode 100644 boot-btrfs.sh create mode 100644 btrfs-progs-0.18.tar.bz2 delete mode 100644 btrfs-progs-v6.1.3.tar.gz delete mode 100644 btrfs-progs-v6.1.3.tar.sign delete mode 100644 btrfsprogs.keyring delete mode 100644 dracut-fsck-help.txt delete mode 100644 mkfs-default-features.patch delete mode 100644 module-setup.sh.in create mode 100644 ready delete mode 100644 setup-btrfs.sh diff --git a/boot-btrfs.sh b/boot-btrfs.sh deleted file mode 100644 index caa4225..0000000 --- a/boot-btrfs.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -e -#%stage: filesystem -#%depends: dm dmraid lvm2 udev md luks -#%programs: btrfs -#%programs: btrfs-convert -#%programs: btrfs-find-root -#%programs: btrfs-image -#%programs: btrfs-select-super -#%programs: btrfsck -#%programs: btrfstune -# for fsck(8): listed twice so that a copy really ends up in /sbin -#%programs: /sbin/fsck.btrfs -#%programs: fsck.btrfs -#%programs: mkfs.btrfs -#%modules: btrfs - -modprobe btrfs - -btrfs dev scan >& /dev/null diff --git a/btrfs-progs-0.18.tar.bz2 b/btrfs-progs-0.18.tar.bz2 new file mode 100644 index 0000000..ce58ed6 --- /dev/null +++ b/btrfs-progs-0.18.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e81f483560eb93b99f33e20aa035e968d7e5b0894543b448cff6da983d4d4f0c +size 110410 diff --git a/btrfs-progs-v6.1.3.tar.gz b/btrfs-progs-v6.1.3.tar.gz deleted file mode 100644 index 065a826..0000000 --- a/btrfs-progs-v6.1.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:747d6367cbf88d2a997befe72f49c66339ebfb28ca60880f4f5b4e0ec779bcce -size 2882830 diff --git a/btrfs-progs-v6.1.3.tar.sign b/btrfs-progs-v6.1.3.tar.sign deleted file mode 100644 index 175fec08abc2e5e365cfd8f3b6f6fd5b38bef49c0407113e5d2db571dbc3d2b3..0000000000000000000000000000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 566 zcmV-60?GY}0y6{v0SW*e79j-kv=RWtPWv!83>Q|#W!3rDZCE=60%Os4e*g*z5XEKH z`PXe&J6EC*0FTs`cT>+tTk_=*fs+B>COj7_kUtf-ri?Z0(A>V5oWNva7%Qrh#4XGB z{$`rOVn7|UcdpH%=1T%l_;mWLW6n$w2wE4VK!Mupmj9GovU94>2!IN~u1OMM=}(DB zBn8j}udnl~d@p6gj;GT(K6q4lb|JkWfliY)eLU3zUa_+a}>_oIVFCaZ@*>&|az z1Ig1t(k;7yo~uljX8-QS#y>m_`)c7Su5P(nRrU`M#mnHyRy~*3e%_@Z7Nd+*Md7u} zL8M5LDhifEJPzV^-oKok4`XYoR*?T_10&xwEd670R>J_&qN;fC zK3QHIu8ODb^7aJvyKfL9aoy=jN}ZB?!O=}nAoC68;glsP7otAES@;{vHzlUEGHc<> zJJ$#}H;eo=zOQ@R6omc?-)j zRp_RCvf>u)H>eDOw#oCb2AevwOwMKsduGJ;l!dmJknrt*0~wUAAtwc8KBd}E?|2mx zDM;z^zdD^ED65uE+~Rb8>4LXi-Qj|5XUm3_kEJ+h%n`~T*qT%u8?$xQ$ZbAKOzY`whTAd> - -- Split bash-completion to separate sub-package - -------------------------------------------------------------------- -Sat Jan 28 18:29:53 UTC 2023 - Dirk Müller - -- update to 6.1.3: - * fi mkswapfile: fix setting size - * mkfs: check zoned support of libblkid - * check: improve error messages for mismatched references - -------------------------------------------------------------------- -Fri Jan 6 00:00:00 CET 2023 - dsterba@suse.cz - -- update to 6.1.2: - * revert libbtrfs changes to v6.0.2, fix remaining build problems -- update to 6.1.1: - * subvol list: fix printing of UUID - * revert changes to ctree.h regarding qgroup items, breaks build of several - applications - * hide __init definition in kerncompat.h, may break build -- update to 6.1: - * filesystem df: add json output - * qgroup show: add json output - * new command: 'inspect-internal map-swapfile' to check swapfile and its - swapfile_offset value used for hibernation - * corrupt-block: fix parsing of option --root argument - * experimental (interfaces not finalized): - * new command 'inspect-internal list-chunks' - * new group reflink, command clone - * other: - * synchronize some files with kernel versions - * docs updates - * build: use gnu11 - -------------------------------------------------------------------- -Tue Dec 27 10:24:24 UTC 2022 - Ludwig Nussel - -- Replace transitional %usrmerged macro with regular version check (boo#1206798) - -------------------------------------------------------------------- -Sun Dec 4 11:06:00 UTC 2022 - Andreas Stieger - -- update to 6.0.2: - * fix resize cancel not working in some cases - * fix fileattr stream command format and add workaround when it - cannot be applied - * properly handle degraded raid56 reads - * fi defrag: fix verbosity, don't print file names by default - * receive: fix silent data loss after fall back from encoded - write - * fi mkswapfile: new command to create a formatted swapfile in - one go -- includes changes from 6.0.1: - * send: minor speed up for v2 due to increased buffer size - * resize: invalid command line options fail with error code - * quota rescan: - * add long options --status and --wait - * new option to wait but don't start rescan - * qgroup show: print path by default, updated format - * qgroup: new subcommand clear-stale, remove qgroups without - their subvolumes - * experimental: - * add warnings to commands that have it enabled (mkfs, image, - btrfstune) - * other: - * documentation, help text, error message updates - -------------------------------------------------------------------- -Wed Nov 2 00:00:00 CET 2022 - dsterba@suse.cz - -- update to 6.0 - * fi usage: in tabular output, print total size and slack size - * mkfs: - * option -O now accepts values from -R to unify the interface (-R will - continue to work) - * zone reset and discard is done in parallel on all devices - * removed option --leafsize, deprecated long time ago - * corrupt-block: recalculate checksum when changing generation - * fixes: - * convert: fix reserved range detection and overlaps - * mkfs: fix creating files with reserved inode numbers with --rootdir - * receive: escape filenames in command attributes - * fix extent buffer leaks after transaction abort - * experimental: - * mkfs: support for block-group-tree (kernel 6.1) - * fsverity in send (protocol v3, WIP) - * btrfstune -b converts to block-group-tree - * other: - * cleanups, refactoring - * new and updated tests - * update documentation - -------------------------------------------------------------------- -Sat Sep 17 16:16:37 UTC 2022 - Dirk Müller - -- update to 5.19.1: - * fix memory leaks (extent buffer, path) - * check: verify block device size vs item - * rescue fix-device-size: allow to shrink device item - * receive: fix crash on wrong pinter free() - * other: - * experimental: support for block-group-tree - * documentation updates - * new tests - -------------------------------------------------------------------- -Thu Sep 1 00:00:00 CEST 2022 - dsterba@suse.cz - -- update to 5.19: - * send: support protocol version 2 - * fi show: print all missing devices - * device stats: add tabular output - * replace: add alias to device group (device replace) - * check: validate free space tree items - * fixes: - * convert: support large filesystems (block count > 32bit) - * recognize filesystems with verity enabled - * mkfs and DUP could write out of order, fix it for zoned mode - * build: - * optional support for LZO and ZSTD in receive - * compatibility with glibc 2.36 (mount.h) - * add fallbacks for new GCC builtins - * other: - * corrupt-block: target specific items, offsets - * documentation updates, new pages from wiki - * new tests - -------------------------------------------------------------------- -Fri Aug 5 15:00:23 UTC 2022 - Jeff Mahoney - -- Remove reiserfs conversion from releases after SLE/Leap 15.X in - preparation to remove the reiserfs package. - -------------------------------------------------------------------- -Tue Jun 14 00:00:00 CEST 2022 - dsterba@suse.cz - -- update to 5.18.1: - * fixes: - * convert: fix self reference of toplevel directory - * build: make kernel lib headers compatible with C++ - * zoned mode: verify minimum zone size 4MiB - * libbtrfs: cleanups, merge headers and remove declarations of unexported - symbols - * other: documentation updates - -------------------------------------------------------------------- -Mon May 30 00:00:00 CEST 2022 - dsterba@suse.cz - -- update to 5.18: - * fixes: - * dump-tree: don't print traling zeros in checksums - * recognize paused balance as exclusive operation state, allow to start - device add - * convert: properly initialize target filesystem label - * mkfs: don't create free space bitmaps for empty filesystem - * restore: make lzo support build-time configurable, print supported - compression in help text - * update kernel-lib sources - * other: - * documentation updates, finish conversion to RST, CHANGES and INSTALL - could be included into RST - * fix build detection of experimental mode - * new tests - -------------------------------------------------------------------- -Thu Apr 28 20:56:49 UTC 2022 - Dirk Müller - -- update to 5.17: - * check: - * repair wrong num_devices in superblock - * recognize overly long xattr names - * fix wrong total bytes check for seed device - * auto-repair on read on RAID56 - * property set: unify handling of empty value to mean default, changed meaning - for property 'compression' to allow reset to default and to set NOCOMPRESS, - since kernel 5.14 - * fixes: - * dump-tree: print fs-verity items - * fix location of system chunk on zoned filesystem - * do not allow setting seeding flag on a filesystem with dirty log - * mkfs and subpage support: use sectorsize as nodesize fallback for mixed - profiles - * preparatory work for extent tree v2, global roots - * experimental feature (unstable interface, not built by default, - do not use for production): - * btrfstune: option --csum to switch checksum algorithm - * other: - * cleanups, refactoring - * update documentation build, remove asciidocs leftovers - * update fssum to consider xattrs - * add fsstress - -------------------------------------------------------------------- -Wed Apr 27 11:10:48 UTC 2022 - Dirk Müller - -- update to 5.16.2: - * mkfs: fix detection of profile type for zoned mode when creating DUP - * build: - * add missing stub for zoned mode helper when zoned mode not enabled - * fix 64bit types on MIPS and PowerPC - * improved zoned mode support autodetection, for systems with existing - blkzone.h header but missing support for zone capacity - * other: - * doc updates - * test updates -- add gpg signature validation - -------------------------------------------------------------------- -Wed Feb 9 00:00:00 CET 2022 - dsterba@suse.cz - -- Update to 5.16.1 - * mkfs: support DUP on metadata on zoned devices - * subvol delete: drop warning for root when search ioctl fails - * check: - * fix --init-csum-tree to not create checksums for extents that are not - supposed to have them - * add check for metadata item levels - * add udev rule for zoned devices as they require mq-deadline - * build: fix redefinition of ALIGN on mixed old/new kernel/userspace (5.11) - * other: - * typo fixes - * new tests - * CI targets updated - * Removed patches: btrfs-progs-kerncompat-add-local-definition-for-alig.patch (upstream) - -------------------------------------------------------------------- -Wed Jan 19 09:49:19 UTC 2022 - Dirk Müller - -- add python-rpm-macros (bsc#1194748) - -------------------------------------------------------------------- -Tue Jan 18 00:00:00 CET 2022 - dsterba@suse.cz - -- spec: also provide btrfs-progs as it's common package name in other distros -- spec: clean up conditionals for < 12 versions -- spec: let SLE12 build again (conditional dependency of libreiserfscore) -- Removed patches: sles11-defaults.h (no SLE11 compatibility anymore) -- Added patches: btrfs-progs-kerncompat-add-local-definition-for-alig.patch - (fix build on SLE12/SLE15) - -------------------------------------------------------------------- -Wed Jan 12 00:00:01 CET 2022 - dsterba@suse.cz - -- Update to 5.16 - * rescue: new subcommand clear-uuid-tree to fix failed mount due to bad uuid - subvolume keys, caught by tree-checker - * fi du: skip inaccessible files - * prop: properly resolve to symlink targets - * send, receive: fix crash after parent subvolume lookup errors - * build: - * fix build on 5.12+ kernels due to changes in linux/kernel.h - * fix build on musl with old kernel headers - * other: - * error handling fixes, cleanups, refactoring - * extent tree v2 preparatory work - * lots of RST documentation updates (last release with asciidoc sources), - https://btrfs.readthedocs.io - -------------------------------------------------------------------- -Wed Jan 12 00:00:00 CET 2022 - dsterba@suse.cz - -- Update to 5.15.1 - * fi usage: fix wrongly reported space of used or unallocated space - * fix detection of block device discard capability - * check: add more sanity checks for checksum items - * build: make sphinx optional backend for documentation - -------------------------------------------------------------------- -Wed Nov 10 00:00:00 CET 2021 - dsterba@suse.cz - -- Update to 5.15 - * mkfs: new defaults! - * no-holes - * free-space-tree - * DUP for metadata unconditionally - * libbtrfsutil: add missing profile defines - * libbtrfs: minimize its impact on the other code, refactor and separate - implementation where needed, cleanup afterwards, reduced header exports - * documentation: introduce sphinx build and RST versions of manual pages, - will become the new format and replace asciidoc - * fixes: warning regarding v1 space cache when only v2 (free space tree) is - enabled -- Update to 5.14.1 - * fixes - * zoned mode - * properly detect non-zoned devices in emulation mode - * properly create quota tree - * raid1c3/4 also excluded from unsupported profiles - * use sysfs-based detection of device discard capability, fix mkfs-time trim - for non-standard devices - * mkfs: fix creation of populated filesystem with free space tree - * detect multipath devices (needs libudev) - * replace start: add option -K/--nodiscard, similar to what mkfs or device add has - * dump-tree: print complete root_item - * mkfs: add option --verbose - * sb-mod: better help, no checksum calculation on read-only actions - * subvol show: - * print more information (regarding send and receive) - * print warning if read-write subvolume has received_uuid set - * property set: - * add parameter -f to force changes - * changing ro->rw switch now needs -f if subvolume has received_uuid set, - (see documentation) - * build: optional libudev (on by default) - * other - * remove deprecated support for CREATE_ASYNC bit for subvolume ioctl - * CI updates - * new and updated tests -- Update patch: mkfs-default-features.patch (add stub define for new defaults) - -------------------------------------------------------------------- -Wed Sep 22 00:00:00 CEST 2021 - dsterba@suse.cz - -- Update to 5.14.1 -* fixes: - * defrag: fix parsing of compression (option -c) - * add workaround for old kernels when reading zone sizes - * let only check and restore open the fs with transid failures, namely - preventing btrfstune to do so - * convert: --uuid copy does not fail on duplicate uuids - -------------------------------------------------------------------- -Mon Sep 13 00:00:00 CEST 2021 - dsterba@suse.cz - -- Update to 5.14 - * convert: - * new option --uuid to copy, generate or set a given uuid - * improve output - * mkfs: - * allow to create degenerate raid0 (on 1 device) and raid10 (on 2 devices) - * image: - * improved error messages - * fix some alignment of restored image - * subvol delete: allow to delete by id when path is not resolvable - * check: - * require alignment of nodesize for 64k page systems - * detect and fix invalid block groups - * libbtrfs (deprecated): - * remove most exported symbols, leave only a few that are used by snapper - * no version change (still 0.1) - * remove btrfs-list.h, btrfsck.h - * fixes: - * reset generation of space v1 if v2 is used - * fi us: don't wrongly report missing device size when partition is not readable - * other: - * build: experimental features - * build: better detection of 64bit timestamp support for ext4 - * corrupt-block: block group items - * new and updated tests - * refactoring - * experimental features: - * new image dump format, with data - -------------------------------------------------------------------- -Tue Aug 10 13:03:47 UTC 2021 - Goldwyn Rodrigues - -- Update to 5.13.1 - * build: fix build on musl libc due to missing definition of NAME_MAX - * check: - * batch more work into one transaction when clearing v1 free space inodes - * detect directoris with wrong number of links - * libbtrfsutil: fix race between subvolume iterator and deletion - * mkfs: be more specific about supported profiles for zoned device - * other: - * documentation updates - -------------------------------------------------------------------- -Tue Jul 13 00:00:00 CEST 2021 - dsterba@suse.cz - -- Update to 5.13 - * restore: remove loop checks for extent count and directory scan - * inspect dump-tree: new options to print node (--csum-headers) and data - checksums (--csum-items) - * fi usage: - * print stripe count for striped profiles - * print zoned information: size, total unusable - * mkfs: print note about sha256 accelerated module loading issue - * check: ability to reset dev_item::bytes_used - * fixes - * detect zoned kernel support at run time too - * exclusive op running check return value - * fi resize: support cancel (kernel 5.14) - * device remove: support cancel (kernel 5.14) - * documentation about general topics - * compression - * zoned mode - * storage model - * hardware considerations - * other - * libbtrfsutil API overview - * help text fixes and updates - * hash speedtest measure time, cycles using perf and print throughput - -------------------------------------------------------------------- -Wed Jun 16 17:02:36 UTC 2021 - Cameron Rapp - -- Add --disable-zoned for leap - -------------------------------------------------------------------- -Wed Jun 16 00:00:00 CEST 2021 - dsterba@suse.cz - -- revert previous change, unintentionally disables zstd on tumbleweed - -------------------------------------------------------------------- -Tue Jun 15 02:57:07 UTC 2021 - Cameron Rapp - -- Fix build for leap - * --disable-zstd if leap < 42.3 - * --disable-zoned for leap - -------------------------------------------------------------------- -Thu May 13 00:00:00 CEST 2021 - dsterba@suse.cz - -- Update to 5.12.1 - * build: fix missing symbols in libbtrfs - * mkfs: check for minimal number of zones - * check: fix warning about cache generation when free space tree is enabled - * fix superblock write in zoned mode on 16K pages - -------------------------------------------------------------------- -Mon May 10 00:00:00 CEST 2021 - dsterba@suse.cz - -- Update to 5.12 - * libbtrfsutil: relicensed to LGPL v2.1+ - * mkfs: zoned mode support (kernel 5.12+) - * fi df: show zone_unusable per profile type in zoned mode - * fi usage: show total amount of zone_unusable - * fi resize: fix message for exact size - * image: fix warning and enlarge output file if necessary - * core - * refactor chunk allocator for more modes - * implement zoned mode support: allocation and writes, sb log - * crypto/hash refactoring and cleanups - * refactoring and cleanups - * other - * test updates - * CI updates - * travis-ci integration disabled - * docker images updated, more coverage - * incomplete build support for Android removed - * doc updates - * chattr mode m for 'NOCOMPRESS" - * swapfile used from fstab - * how to add a new export to libbtrfsutil - * update status of mount options since 5.9 -- Update to 5.11.1 - * properly format checksums when a mismatch is reported - * check: fix false alert on tree block crossing 64K page boundary - * convert: - * refuse to convert filesystem with 'needs_recovery' - * update documentation to require fsck before conversion - * balance convert: fix raid56 warning when converting other profiles - * fi resize: improved summary - * other - * build: fix checks and autoconf defines - * fix symlink paths for CI support scripts - * updated tests - -------------------------------------------------------------------- -Mon Mar 8 00:00:00 CET 2021 - dsterba@suse.cz - -- Update to 5.11 - * fix device path canonicalization for device mapper devices - * receive: remove workaround for setting capabilities, all stable kernels - have been patched - * receive: fix duplicate mount path detection - * rescue: new subcommand create-control-device - * device stats: minor fix for plain text format output - * build: detect if e2fsprogs support 64bit timestamps - * build: drop libmount, required functionality has been reimplemented - * mkfs: warn when raid56 is used - * balance convert: warn when raid56 is used - * other - * new and updated tests - * documentation updates - * seeding device - * raid56 status - * CI updates - * docker images for various distros -- Update to 5.10.1 - * static build works again - * other: - * add a way to test static binaries with the testsuite - * clarify scrub docs - * update dependencies, minimum version for libmount is 2.24, this may - change in the future -- Update to 5.10 - * scrub status: - * print percentage of progress - * add size unit options - * fi usage: also print free space from statfs - * convert: copy full 64 bit timestamp from ext4 if availalble - * check: - * add ability to repair extent item generation - * new option to remove leftovers from inode number cache (-o inode_cache) - * check for already running exclusive operation (balance, device add/...) - when starting one - * preliminary json output support for 'device stats' - * fixes: - * subvolume set-default: id 0 correctly falls back to toplevel - * receive: align internal buffer to allow fast CRC calculation - * logical-resolve: distinguish -o subvol and bind mounts - * build: new dependency libmount - * other - * doc fixes and updates - * new tests - * ci on gitlab temporarily disabled - * debugging output enhancements - -------------------------------------------------------------------- -Wed Nov 4 17:32:13 UTC 2020 - Ludwig Nussel - -- prepare usrmerge (boo#1029961) - -------------------------------------------------------------------- -Mon Oct 26 00:00:00 CET 2020 - dsterba@suse.cz - -- Update to 5.9: - * mkfs: - * switch default to single profile for multi-device filesystem, up to - now it was raid0 that may not be simple to convert to some other profile - as raid0 needs a workspace on all device for that - * new option -R for run-time options (eg. mount time enabled), now - understands free-space-tree - * subvolume delete: - * refuse to delete the default subvolume (kernel will not allow that but - the error reason is not obvious) - * warn on EPERM, eg. if send is on progress on the subvolume - * convert: - * fix 32bit overflows on large filesystems - * improved error handling and error messages - * check free space taking fragmentation into account - * check: - * detect and repair wrong inode generation - * minor improvement in error reporting on roots - * libbtrfsutils: follow main package versioning (5.9) - * add pkg-config file definitions - * python-btrfsutil: follow main package versioning (5.9) - * inspect tree-stats: print node counts for each level, fanout - * other: - * docs: - * remove obsolete mount options (alloc_start, subvolrootid) - * deleting default subvolume is not permitted - * updated or fixed tests - * .editorconfig updates - * move files to kernel-shared/ - * CI: - * updated to use zstd 1.4.5 - * fix reiserfs build - * more builds with asan, ubsan - * sb-mod updates - * build: - * print .so versions of libraries in configure summary - -------------------------------------------------------------------- -Tue Jul 7 00:00:00 CEST 2020 - dsterba@suse.cz - -- Update to 5.7: - * mkfs: - * new option to enable features otherwise enabled at runtime, now - implemented for quotas, 'mkfs.btrfs -R quota' - * fix space accounting for small image, DUP and --rootdir - * option -A removed - * check: detect ranges with overlapping csum items - * fi usage: report correct numbers when plain RAID56 profiles are used - * convert: ensure the data chunks size never exceed device size - * libbtrfsutil: update documentation regarding subvolume deletion - * build: support libkcapi as implementation backend for cryptographic - primitives - * core: global options for verbosity (-v, -q), subcommands -v or -q are - aliases and will continue to work but are considered deprecated, - current command output is preserved to keep scripts working - * other: - * build warning fixes - * btrfs-debugfs ported to python 3 - -------------------------------------------------------------------- -Thu May 14 00:00:00 CEST 2020 - dsterba@suse.cz - -- Update to 5.6.1: - * print warning when multiple block group profiles exist, update 'fi usage' - summary, add docs to maual page explaining the situation - * build: optional support for libgcrypt or libsodium, providing hash - implementations - * updated docs - -------------------------------------------------------------------- -Wed Apr 29 10:33:14 UTC 2020 - Dominique Leuenberger - -- Fix content of _dracutmodulesdir variable: this definitively does - not belong to libexecdir. - -------------------------------------------------------------------- -Mon Apr 6 12:28:49 UTC 2020 - Paolo Stivanin - -- Update to 5.6: - * inspect logical-resolve: support LOGICAL_INO_V2 as new option '-o', - helps advanced dedupe tools - * inspect: user larger buffer (64K) for results - * subvol delete: support deletion by id (requires kernel 5.7+) - * dump-tree: new option --hide-names, replace any names - (file, directory, subvolume, xattr) in the output with stubs - * various fixes - -------------------------------------------------------------------- -Mon Feb 17 00:00:00 CET 2020 - dsterba@suse.cz - -- Update to 5.4.1 - * build: fix docbook5 build - * check: do extra verification of extent items, inode items and chunks - * qgroup: return ENOTCONN if quotas not running (needs updated kernel) - * other: various test fixups - -------------------------------------------------------------------- -Thu Jan 23 13:00:39 UTC 2020 - Dominique Leuenberger - -- BuildRequire pkgconfig(udev) instead of udev: Allow OBS to - shortcut through the -mini flavor. -- Use pkg-config --modversion udev to identify the current udev - version. This is more portable and supports the -mini flavors. - -------------------------------------------------------------------- -Wed Dec 4 00:00:00 CET 2019 - dsterba@suse.cz - -- Update to 5.4 - * support new hash algorithms (kernel 5.5): - * mkfs.btrfs and btrfs-convert with --csum, crc32c, xxhash, sha256, blake2 - * mkfs: support new raid1c3 and raid1c4 block group profiles (kernel 5.5) - * check: - * --repair delays start with a warning, can be skipped using --force - * enhanced detetion of inode types from partial data, more options for - repair - * receive: fix quiet option - * image: speed up chunk loading - * fi usage: - * sort devices by id - * print ratio of used/total per block group type - * rescue zero-log: reset the log pointers directly, avoid reading some other - potentially damaged structures - * new make target install-static to install only static binaries/libraries - * other - * docs updates - * new tests - * cleanups and refactoring - -------------------------------------------------------------------- -Tue Nov 12 00:00:00 CET 2019 - dsterba@suse.cz - -- Update to 5.3.1: - * libbtrfs: fix link breakage due to missing symbols -- Updaet to 5.3: - * mkfs: - * new option to specify checksum algorithm (only crc32c) - * fix xattr enumeration - * dump-tree: BFS (breadth-first) traversal now default - * libbtrfsutil: remove stale BTRFS_DEV_REPLACE_ITEM_STATE_x defines - * ci: add support for gitlab - * other: - * preparatory work for more checksum algorithms - * docs update - * switch to docbook5 backend for asciidoc - * fix build on uClibc due to missing backtrace() - * lots of printf format fixups - -------------------------------------------------------------------- -Tue Oct 15 14:22:21 UTC 2019 - Johannes Thumshirn - -- Enable build of python-bindings for libbtrfsutil - -------------------------------------------------------------------- -Tue Sep 17 10:01:18 UTC 2019 - Frederic Crozat - -- Update to 5.2.2: - * check: - * fix false report of wrong byte count for orphan inodes - * option -E was not handled correctly - * new check and repair for root item generation - * balance: check for full-balance before background fork - * mkfs: check that total device size does not overflow 16EiB - * dump-tree: print DEV_STATS key type - * other: - * new and updated tests - * doc fixups and updates - -------------------------------------------------------------------- -Wed Jul 31 00:00:00 CEST 2019 - dsterba@suse.cz - -- update to 5.2.1 - * scrub status: fix ETA calculation after resume - * check: fix crash when using -Q - * restore: fix symlink owner restoration - * mkfs: fix regression with mixed block groups - * core: fix commit to process all delayed refs - * other: - * minor cleanups - * test updates -- update to 5.2 - * subvol show: print qgroup information when available - * scrub: - * status: show ETA, revamp the whole output - * fix reading/writing of last position on resume/cancel, potentially - skipping part of the filesystem on next resume - * dump-tree: add new option --noscan to use only devices given on the - commandline - * all-in-one binary (busybox style) with mkfs.btrfs, btrfs-image, - btrfs-convert, btrfstune - * image: fix hang when there are more than 32 cpus online and compression is - requested - * convert: fix some false ENOSPC errors when --rootdir is used - * build: fix gcc9 warnings - * core changes - * command handling cleanups - * dead code removal - * cmds-* files moved to cmds/ - * other shared userspace files moved to common/ - * utils.c split into more files - * preparatory work for more output formats - * libbtrfsutil: fix unaligned access - * other - * new and updated tests - * fix tests so CI passes again - * sb-mod can modify more superblock items - -------------------------------------------------------------------- -Sun May 19 02:57:41 UTC 2019 - seanlew@opensuse.org - -- update to version 5.1 - * repair: flush/FUA support to avoid breaking metadata COW - * file extents repair no longer relies on data in extent tree - * lowmem: fix false error reports about gaps between extents - * add inode mode check and repair for various objects - * add check for invalid combination of nocow/compressed extents - * device scan option to forget scanned devices [new] - * mkfs: use same chunk size as kernel for initial creation - * dev-repace: better report when other exclusive operation runs - * help for sntax errors on command lines, print relevant msgs - * defrag: able to open files in RO mode - * dump-tree: --block can be specified multiple times - -------------------------------------------------------------------- -Sat Apr 06 16:55:00 UTC 2019 - Stefan Seifert - -- update to version 4.20.2 - * dump-super: minor output fixup - * revert fix for prefix detection of receive path, this is temporary and - unbreaks existing user setups - -------------------------------------------------------------------- -Thu Mar 28 20:25:48 UTC 2019 - Mark Fasheh - -- Use correct path for dracut-fsck-help.txt in module-setup.sh (bsc#1122539) - * Remove module-setup.sh - * Add module-setup.sh.in - -------------------------------------------------------------------- -Thu Jan 24 04:00:34 UTC 2019 - mfasheh@suse.com - -- Advise user of fs recovery options when we fail to mount (fate#320443, - bsc#1122539) - * Add dracut-fsck-help.txt - * Add module-setup.sh - -------------------------------------------------------------------- -Wed Jan 23 00:00:00 CET 2019 - dsterba@suse.cz - -- update to version 4.20.1 - * libbtrfs: fix build of external tools due to missing symbols - * ci: enable library test - -------------------------------------------------------------------- -Sat Jan 19 16:44:57 UTC 2019 - Avindra Goolcharan - -- update to version 4.20 - * new feature: metadata uuid - * lightweight change of UUID without rewriting all metadata - (incompatible change) - * done by btrfstune -m/-M, needs kernel support, 5.0+ - * image: - * fix block groups when restoring from multi-device image - * only enlarge result image if it's a regular file - * check - * more device extent checks and fixes - * can repair dir item with mismatched hash - * mkfs: uuid tree created with proper contents - * fix mount point detection due to partial prefix match - * other: - * new tests, build fixes, doc updates - * libbtrfsutil: fix tests if kernel lacks support for new - subvolume ioctls -- partial cleanup with spec-cleaner -- drop 0001-btrfs-progs-Add-support-for-metadata_uuid-field.patch -- drop 0002-btrfs-progs-btrfstune-Add-support-for-changing-the-u.patch -- drop 0003-btrfs-progs-Remove-fsid-metdata_uuid-fields-from-fs_.patch -- drop 0004-btrfs-progs-Remove-btrfs_fs_info-new_fsid.patch -- drop 0005-btrfs-progs-Directly-pass-root-to-change_devices_uui.patch - -------------------------------------------------------------------- -Mon Jan 17 15:45:01 CET 2019 - kukuk@suse.de - -- Use %license instead of %doc [bsc#1082318] - -------------------------------------------------------------------- -Thu Jan 17 07:48:54 UTC 2019 - nborisov@suse.com - -- Implement fate#325871 - * Added 0001-btrfs-progs-Add-support-for-metadata_uuid-field.patch - * Added 0002-btrfs-progs-btrfstune-Add-support-for-changing-the-u.patch - * Added 0003-btrfs-progs-Remove-fsid-metdata_uuid-fields-from-fs_.patch - * Added 0004-btrfs-progs-Remove-btrfs_fs_info-new_fsid.patch - * Added 0005-btrfs-progs-Directly-pass-root-to-change_devices_uui.patch - -------------------------------------------------------------------- -Thu Dec 6 00:00:00 CET 2018 - dsterba@suse.cz - -- update to version 4.19.1 - * check - * many lowmem mode improvements - * properly report qgroup mismatch errors - * check symlinks with append/immutable flags - * fi usage - * correctly calculate allocated/unallocated for raid10 - * minor output updates - * mkfs - * detect ENOSPC on thinly provisioned devices - * fix spurious EEXIST during directory traversal - * restore: fix relative path for restore target - * dump-tree: print symbolic tree names for backrefs - * send: fix regression preventing send -p with subvolumes mounted on "/" - * corrupt-tree: refactoring and command line updates - * build - * make it work with e2fsprogs < 1.42 again - * restore support for autoconf 2.63 - * detect if -std=gnu90 is supported - * other - * new tests - * cleanups - -------------------------------------------------------------------- -Mon Nov 12 00:00:00 CET 2018 - dsterba@suse.cz - -- update to version 4.19 - * check: support repair of fs with free-space-tree feature - * core: - * port delayed ref infrastructure from kernel - * support write to free space tree - * dump-tree: new options for BFS and DFS enumeration of b-trees - * quota: rescan is now done automatically after 'assign' - * btrfstune: incomplete fix to uuid change - * subvol: fix 255 char limit checks - * completion: complete block devices and now regular files too - * docs: - * ship uncompressed manual pages - * btrfsck uses a manual page link instead of symlink - * other - * improved error handling - * docs - * new tests - -------------------------------------------------------------------- -Mon Aug 6 00:00:00 CEST 2018 - dsterba@suse.cz - -- update to version 4.17.1 - * check: - * add ability to fix wrong ram_bytes for compressed inline files - * beautify progress output - * btrfstune: allow to continue uuid change after unclean interruption - * several fuzz fixes: - * detect overalpping chunks - * chunk loading error handling - * don't crash with unexpected root refs to extents - * relax option parsing again to allow mixing options and non-options - arguments - * fix qgroup rescan status reporting - * build: - * drop obsolete dir-test - * new configure option to disable building of tools - * add compatibility options --disable-static and --disable-shared - * other: - * cleanups and preparatory work - * new test images -- spec cleanup - -------------------------------------------------------------------- -Fri Jun 22 00:00:00 CEST 2018 - dsterba@suse.cz - -- update to version 4.17 - * check - * many lowmem mode improvements - * properly report qgroup mismatch errors - * check symlinks with append/immutable flags - * fi usage - * correctly calculate allocated/unallocated for raid10 - * minor output updates - * mkfs - * detect ENOSPC on thinly provisioned devices - * fix spurious EEXIST during directory traversal - * restore: fix relative path for restore target - * dump-tree: print symbolic tree names for backrefs - * send: fix regression preventing send -p with subvolumes mounted on "/" - * corrupt-tree: refactoring and command line updates - * build - * make it work with e2fsprogs < 1.42 again - * restore support for autoconf 2.63 - * detect if -std=gnu90 is supported -- Removed patches (upstreamed): - * 0001-btrfs-progs-convert-fix-support-for-e2fsprogs-1.42.patch - * 0002-btrfs-progs-build-autoconf-2.63-compatibility.patch - * 0003-btrfs-progs-build-detect-whether-std-gnu90-is-suppor.patch - -------------------------------------------------------------------- -Mon Jun 11 02:01:58 UTC 2018 - jeffm@suse.com - -- Don't require libzstd-devel-static on builds that don't use it. - -------------------------------------------------------------------- -Fri May 4 00:00:00 CEST 2018 - dsterba@suse.cz - -- fix installation of btrfs.5.gz - -------------------------------------------------------------------- -Mon Apr 30 14:39:07 UTC 2018 - jeffm@suse.com - -- Fix building on SLE11: - * btrfs-progs: convert: fix support for e2fsprogs < 1.42 - * btrfs-progs: build: detect whether -std=gnu90 is supported - * btrfs-progs: build: autoconf 2.63 compatibility - * Fixed mismerged addition of libbtrfsutil1 package description -- Added patches: - * 0001-btrfs-progs-convert-fix-support-for-e2fsprogs-1.42.patch - * 0002-btrfs-progs-build-autoconf-2.63-compatibility.patch - * 0003-btrfs-progs-build-detect-whether-std-gnu90-is-suppor.patch - -------------------------------------------------------------------- -Tue Apr 24 00:00:00 CEST 2018 - dsterba@suse.cz - -- update to version 4.16.1 - * remove obsolete tools: btrfs-debug-tree, btrfs-zero-log, btrfs-show-super, - btrfs-calc-size - * sb-mod: new debugging tool to edit superblock items - * mkfs: detect if thin-provisioned device does not have enough space - * check: don't try to verify checksums on metadata dump images - * build: fail documentation build if xmlto is not found - * build: fix build of btrfs.static -- Remove patch: 0001-btrfs-progs-build-fix-static-build.patch (upstream) -- Update initrd script - -------------------------------------------------------------------- -Fri Apr 6 00:00:00 CEST 2018 - dsterba@suse.cz - -- update to version 4.16 - * libbtrfsutil - new LGPL library to wrap userspace functionality - * several 'btrfs' commands converted to use it: - * properties - * filesystem sync - * subvolume set-default/get-default/delete/show/sync - * python bindings, tests - * build - * use configured pkg-config path - * CI: add python, musl/clang, built dependencies caching - * convert: build fix for e2fsprogs 1.44+ - * don't install library links with wrong permissions - * fixes - * prevent incorrect use of subvol_strip_mountpoint - * dump-super: don't verify csum for unknown type - * convert: fix inline extent creation condition - * check: - * lowmem: fix false alert for 'data extent backref lost for snapshot' - * lowmem: fix false alert for orphan inode - * lowmem: fix false alert for shared prealloc extents - * mkfs: - * add UUID and otime to root of FS_TREE - with the uuid, snapshots will - be now linked to the toplevel subvol by the parent UUID - * don't follow symlinks when calculating size - * pre-create the UUID tree - * fix --rootdir with selinux enabled - * dump-tree: add option to print only children nodes of a given block - * image: handle missing device for RAID1 - * other - * new tests - * test script cleanups (quoting, helpers) - * tool to edit superblocks - * updated docs -- Add patch: 0001-btrfs-progs-build-fix-static-build.patch -- Add new library packages: libbtrfsutil - -------------------------------------------------------------------- -Sat Feb 17 00:00:00 CET 2018 - dsterba@suse.cz - -- use documentation shipped by upstream tar, reduce dependencies - -------------------------------------------------------------------- -Wed Feb 14 00:00:00 CET 2018 - dsterba@suse.cz - -- enable static build again, zstd now has static version - -------------------------------------------------------------------- -Fri Feb 2 00:00:00 CET 2018 - dsterba@suse.cz - -- update to version 4.15 - * mkfs --rootdir reworked, does not minimize the final image but can be still - done using a new option --shrink - * fix allocation of system chunk, don't allocate from the reserved area - * other - * new and updated tests - * cleanups, refactoring - * doc updates - -------------------------------------------------------------------- -Mon Jan 8 00:00:01 CET 2018 - dsterba@suse.cz - -- spec: fix distro version condition - -------------------------------------------------------------------- -Mon Jan 8 00:00:00 CET 2018 - dsterba@suse.cz - -- update to version 4.14.1 - * dump-tree: print times of root items - * check: fix several lowmem mode bugs - * convert: fix rollback after balance - * other - * new and updated tests, enabled lowmem mode in CI - * docs updates - * fix travis CI build - * build fixes - * cleanups -- update to version 4.14 - * build: libzstd now required by default - * check: more lowmem mode repair enhancements - * subvol set-default: also accept path - * prop set: compression accepts no/none, same as "" - * filesystem usage: enable for filesystem on top of a seed device - * rescue: new command fix-device-size - * other - * new tests - * cleanups and refactoring - * doc updates -- Removed patches: - - rollback-regression-fix.patch - upstreamed -- spec: disable static build, missing libzstd-devel-static -- spec: disable zstd support for non-Tumbleweed distros - -------------------------------------------------------------------- -Tue Dec 19 11:31:07 UTC 2017 - wqu@suse.de - -- Fix rollback regression which can lead to data corruption - Added patches: rollback-regression-fix.patch (bsc#1069478) - -------------------------------------------------------------------- -Thu Dec 7 11:03:37 UTC 2017 - dimstar@opensuse.org - -- Escape the usage of %{VERSION} when calling out to rpm. - RPM 4.14 has %{VERSION} defined as 'the main packages version'. - -------------------------------------------------------------------- -Wed Nov 22 14:41:57 UTC 2017 - jeffm@suse.com - -- Add dependencies for libreiserfscore0 3.6.27 or newer (bsc#1071085). - -------------------------------------------------------------------- -Wed Nov 1 00:00:00 CET 2017 - dsterba@suse.cz - -- update to version 4.13.3: - * check: fix --force, wrong check for a mounted block device - * build: fix --with-convert parsing - * subvol list: don't list TOPLEVEL - * other: update tests - -------------------------------------------------------------------- -Fri Oct 6 00:00:00 CEST 2017 - dsterba@suse.cz - -- update to version 4.13.2: - * subvol list: - * don't list toplevel subvolume among deleted (broken since 4.8.3) - * minor adjustments of uuid print format - * subvol delete: - * fix swapped behaviour of --commit-each and --commit-after - * fix potentially lost sync if subvolumes are from different filesystems - * check: add cache for metadata blocks, should improve performance - * other: - * new tests, testsuite updates - * doc updates - * cleanups - -------------------------------------------------------------------- -Thu Sep 28 00:00:00 CEST 2017 - dsterba@suse.cz - -- update to version 4.13.1: - * image: speed up generating the sanitized names, do not generate unprintable chars - * completion: add missing commands, better mount point detection - * restore: add zstd support; libzstd detected automatically, will be - requested by default in the future, or can be configured out - * other: - * misc fixes found by sparse - * doc enhancements, ioctl manual page started - * updated and new tests - * build fixes - -------------------------------------------------------------------- -Thu Sep 14 00:00:00 CEST 2017 - dsterba@suse.cz - -- update to version 4.13: - * convert: reiserfs support - * check: new option --force to allow check of a mounted filesystem (no repair) - * mkfs: --rootdir will now copy special files - * dump-tree: minor output changes - * inspect rootid: accept file as arugment - * dev usage: don't calculate slack space for missing devices - * fi du: don't print error on EMPTY_SUBVOL (inode number 2) - * build: - * fixed support for sanitization features on gcc (tsan, asan, ubsan) - * fix PIE build - * other: - * misc cleanups and stability fixes - * travis CI enhancements - * new tests, fuzzed images - * testsuite cleanups -- Removed patches: - - 0163-btrfs-progs-fsck-fix-segfault.patch - will be upstreamed - - local-version-override.patch - not needed anymore - - btrfs-support-pie.patch - upstremed - -------------------------------------------------------------------- -Tue Aug 29 00:00:01 CEST 2017 - dsterba@suse.cz - -- Removed patches: - - 0167-Btrfs-progs-make-find_and_setup_root-return-an-error.patch - - 0168-Btrfs-progs-don-t-bug-out-if-we-can-t-find-the-last-.patch - -------------------------------------------------------------------- -Tue Aug 29 00:00:00 CEST 2017 - dsterba@suse.cz - -- update to 4.12.1 - * build: - * fix cross-compilation - * use gnu90 explicitly - * dump-tree: more relaxed checks so -b can print block on a damaged fs - * convert: fix the 1MB range exclusion - * check: more dir_item hash checks - * other - * added missing getopt spec for some options - * doc fixes - * cleanups - * test updates -- update to 4.12 - * subvol show: new options --rootid, --uuid to show subvol by the given spec - * convert: progress report fixes, found by tsan - * image: progress report fixes, found by tsan - * fix infinite looping in find-root, or when looking for free extents - * other: - * code refactoring - * docs updates - * build: ThreadSanitizer support - * tests: stricter checks for mounted filesystem -- update to -4.11.1 - * image: restoring from multiple devices - * dev stats: make --check option work - * check: fix false alert with extent hole on a NO_HOLE filesystem - * check: lowmem mode, fix false alert in case of mixed inline and compressed - extent - * convert: work with large filesystems (many TB) - * convert: fix overwriting of eb header flags - * convert: do not clear NODATASUM flag in inodes when run with --no-datasum - * docs updates - * build: sync Android.mk with Makefile - * tests: - * new tests - * fix 008 and 009, shell quotation mistake -- update to 4.11 - * receive: fix handling empty stream with -e (multi-stream) - * send dump: fix printing long file names - * stability fixes for: dump-super, print-tree, check - * option parser updates: global options are parsed before the subcommand name - (old xfstests will fail) - * new and updated tests - * documentation updates - -------------------------------------------------------------------- -Sat Jun 10 15:00:59 UTC 2017 - meissner@suse.com - -- btrfs-support-pie.patch: remove CFLAGS usage from linker lines, - this will allow the default PIE support to work. - -------------------------------------------------------------------- -Thu Apr 6 00:00:00 CEST 2017 - dsterba@suse.cz - -- update to 4.10.2 - * check: lowmem mode fix for false alert about lost backrefs - * convert: minor bugfix - * library: fix build, misisng symbols, added tests -- update to 4.10.1 - * receive: handle subvolume in path clone - * convert: rollback fixed (rewrite was needed to address previous design issues) - * build: fix build of 3rd party tools, missing - * dump-tree: print log trees - * other: new and updated tests -- update to 4.10 - * send: dump output fixes: missing newlies - * check: several fixes for the lowmem mode, improved error reporting - * build - * removed some library deps for binaries that not use them - * ctags, cscope - * split Makefile to the autotool generated part and the rest, not needed - to autogen.sh after adding a file - * shared code: sync easy parts with kernel sources - * other - * lots of cleanups - * source file reorganization: convert, mkfs, utils - * lots of spelling fixes in docs, other updates - * more tests -- update to 4.9.1 - * check: - * use correct inode number for lost+found files - * lowmem mode: fix false alert on dropped leaf - * size reports: negative numbers might appear in size reports during device - deletes (previously in EiB units) - * mkfs: print device being trimmed - * defrag: v1 ioctl support dropped - * quota: print message before starting to wait for rescan - * qgroup show: new option to sync before printing the stats - * other: - * corrupt-block enhancements - * backtrace and co. cleanups - * doc fixes - -------------------------------------------------------------------- -Wed Jan 4 00:00:00 CET 2017 - dsterba@suse.cz - -- update to 4.9 - * check: many lowmem mode updates - * send: use splice syscall to copy buffer from kernel - * receive: new option to dump the stream in textual form - * convert: - * move sources to own directory - * prevent accounting of blocks beyond end of the device - * make it work with 64k sectorsize - * mkfs: move sources to own directory - * defrag: warns if directory used without -r - * dev stats: - * new option to check stats for non-zero values - * add long option for -z - * library: version bump to 0.1.2, added subvol_uuid_search2 - * other: - * cleanups - * docs updates -- update to 4.8.5 - * receive: fix detection of end of stream (error reported even for valid - streams) - * other: - * added test for the receive bug - * fix linking of library-test -- update to 4.8.4 - * check: support for clearing space cache v2 (free-space-tree) - * send: - * more sanity checks (with tests), cleanups - * fix for fstests/btrfs/038 and btrfs/117 failures - * build: - * fix compilation of standalone ioctl.h, pull NULL definition - * fix library link errors introduced in 4.8.3 - * tests: - * add more fuzzed images from bugzilla - * add bogus send stream checks - * fixups and enhancements for CI environment builds - * misc refinements and updates of testing framework - * other: - * move sources for btrfs-image to own directory - * deprecated and not build by default: btrfs-calc-size, btrfs-show-super - * docs updates -- update to 4.8.3 - * check: - * support for clearing space cache (v1) - * size reduction of inode backref structure - * send: - * fix handling of multiple snapshots (-p and -c options) - * transfer buffer increased (should reduce number of context switches) - * reuse existing file for output (-f), eg. when root cannot create files (NFS) - * dump-tree: - * print missing items for various structures - * new: dev stats, balance status item - * sync key names with kernel (the persistent items) - * subvol show: now able to print the toplevel subvolume -- the creation time - might be wrong though - * mkfs: - * store the creation time of toplevel root inode - * print UUID in the summary - * build: travis CI for devel - * other: - * lots of cleanups and refactoring - * switched to on-stack path structure - * fixes from coverity, asan, ubsan - * new tests - * updates in testing infrastructure - * fixed convert test 005 - -------------------------------------------------------------------- -Mon Oct 31 00:00:00 CET 2016 - dsterba@suse.cz - -- update to 4.8.2 - * convert: also convert file attributes - * convert: fix wrong tree block alignment for unalianged block group - * check: quota verify fixes, handle reloc tree - * build: add stub for FIEMAP_EXTENT_SHARED, compiles on ancient kernels - * build: add stub for BUILD_ASSERT when ioctl.h is included - * dump-tree: don't crash on unrecognized tree id for -t - * tests: - * add more ioctl tests - * convert: more symlink tests, attribute tests - * quota verify for reloc tree - * other cleanups - -------------------------------------------------------------------- -Tue Oct 25 15:58:46 UTC 2016 - jeffm@suse.com - -- Add ability to provide site specific defaults for mkfs (FATE#320615). - * Only used for SLES11 defaults. -- Added patch mkfs-default-features.patch - -------------------------------------------------------------------- -Tue Oct 18 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.8.1 - * 32bit builds fixed - * build without backtrace support fixed -- update to 4.8 - * error handling improvements all over the place - * new fuzzed images, test updates - * doc fixups - * minor cleanups and improvements - * kernel library helpers moved to own directory - * qgroup: fix regression leading to incorrect status after check, - introduced in 4.7 - -------------------------------------------------------------------- -Wed Sep 28 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.7.3 - * fixed free space tree compat status - * check: low-mem mode: handle partially dropped snapshots - * dump-super: consolidate options for superblock copy - * tree-stats: check mount status - * subvol delete: handle verbosity option - * defrag: print correct error string - * mkfs: fix reading rotational status - * other: - * UBSAN build option - * documentation updates - * enhanced tests: convert, fuzzed images, more tools to run on fuzzed - images - -------------------------------------------------------------------- -Thu Sep 8 00:00:00 CEST 2016 - dsterba@suse.cz - -- removed btrfsprogs-only-install-udev-rules-for-udev-190.patch: fix build - -------------------------------------------------------------------- -Tue Sep 6 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.7.2 - * check: - * urgent fix: false report of backref mismatches; do not --repair - last unaffected version 4.6.1 (code reverted to that state) - * fuzzing and fixes - * added more sanity checks for various structures - * testing images added - * build: udev compatibility: do not install .rules on version < 190 - * other: - * dump-super: do not crash on garbage value in csum_type - * minor improvements in messages and help strings - * documentation: - * filesystem features - -------------------------------------------------------------------- -Tue Aug 30 20:11:10 UTC 2016 - jeffm@suse.com - -- Add new btrfsprogs-udev-rules package to contain the udev rules. -- Fix packaging for udev rules: - - btrfs builtin didn't exist prior to udev v190, so the rules must - depend on that version. -- Added patch: - * btrfsprogs-only-install-udev-rules-for-udev-190.patch - -------------------------------------------------------------------- -Mon Aug 29 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.7.1 - * check: - * new optional mode: optimized for low memory usage (memory/io tradeoff) - * --mode=lowmem, not default, still considered experimental - * does not work with --repair yet - * convert: regression fix, ext2_subvol/image rw permissions - * mkfs/convert: - * two-staged creation, partially created filesystem will not be recognized - * improved error handling (fewer BUG_ONs) - * convert: preparation for more filesystems to convert from - * documentation updates: quota, qgroup - * other - * message updates - * more tests - * more build options, enhanced debugging - -------------------------------------------------------------------- -Fri Jul 29 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.7 - * convert: fix creating discontig extents - * check: speed up traversing heavily reflinked extents within a file - * check: verify qgroups of higher levels - * check: repair can now fix wrong qgroup numbers - * balance: new option to run in the background - * defrag: default extent target size changed to 32MiB - * du: silently skip non-btrfs dirs/files - * documentation updates: btrfs(5), btrfs(8), balance, subvolume, scrub, - filesystem, convert - * bugfixes: - * unaligned access (reported for sparc64) in raid56 parity calculations - * use /bin/bash - * other stability fixes and cleanups - * more tests -- Removed patches: - * 0002-btrfs-progs-btrfsck-verify-qgroups-above-level-0.patch - * 0003-btrfs-progs-btrfsck-write-corrected-qgroup-info-to-d.patch - -------------------------------------------------------------------- -Thu Jul 14 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.6.1 - * fi resize: negative resize argument accepted again - * qgroup rescan: fix skipping when rescan is in progress - * mkfs: initialize stripesize to correct value - * testsuite updates, mostly convert tests - * documentation updates - * btrfs-device, btrfs-restore manual pages enhanced - * misc fixups -- update to 4.6 - * convert - major rewrite: - * fix a long-standing bug that led to mixing data blocks into metadata block - groups - * the workaround was to do full balance after conversion, which was - recommended practice anyway - * explicitly set the lowest supported version of e2fstools to 1.41 - * provide and install udev rules file that addresses problems with device - mapper devices, renames after removal - * send: new option: quiet - * dev usage: report slack space (device size minus filesystem area on the dev) - * image: support DUP - * build: short options to enable debugging builds - * other: - * code cleanups - * build fixes - * more tests and other enhancements -* Removed patches: - * 0001-btrfs-progs-free-qgroup-counts-in-btrfsck.patch - * 0169-btrfs-progs-udev-add-rules-for-dm-devices.patch - * btrfs-progs-no-PKG_CHECK_VAR - -------------------------------------------------------------------- -Fri Jun 17 21:16:12 UTC 2016 - mfasheh@suse.com - -- btrfsck updates for qgroup verification and repair (fate#318144) - * We can now check all qgroup levels - * btrfsck will write out corrected qgroups when run with --repair - - Added patch: 0001-btrfs-progs-free-qgroup-counts-in-btrfsck.patch - - Added patch: 0002-btrfs-progs-btrfsck-verify-qgroups-above-level-0.patch - - Added patch: 0003-btrfs-progs-btrfsck-write-corrected-qgroup-info-to-d.patch - -------------------------------------------------------------------- -Mon May 16 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.5.3 - * ioctl: fix unaligned access in buffer from TREE_SEARCH; might cause SIGBUS - on architectures that do not support unaligned access and do not performa - any fixups - * improved validation checks of superblock and chunk-related structures - * subvolume sync: fix handling of -s option - * balance: adjust timing of safety delay countdown with --full-balance - * rescue super-recover: fix reversed condition check - * check: fix bytes_used accounting - * documentation updates: mount options, scrub, send, receive, select-super, - check, mkfs - * testing: new fuzzed images, for superblock and chunks -- fix build failure on 13.1: conditional default for udevdir -- fix build failure on SLE11SP4: wrong check in makefile - -------------------------------------------------------------------- -Mon May 9 15:47:01 UTC 2016 - jeffm@suse.com - -- Add udev rules for dm devices (bsc#912170 bsc#888215) - - Added patch: 0169-btrfs-progs-udev-add-rules-for-dm-devices.patch - - Added patch: btrfs-progs-no-PKG_CHECK_VAR - -------------------------------------------------------------------- -Tue May 3 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.5.2 - * new/moved command: btrfs-calc-stats -> btrfs inspect tree-stats - * check: fix false alert for metadata blocks crossing stripe boundary - * check: catch when qgroup numbers mismatch - * check: detect running quota rescan and report mismatches - * balance start: add safety delay before doing a full balance - * fi sync: is now silent - * fi show: don't miss filesystems with partially matching uuids - * dev ready: accept only one argument for device - * dev stats: print "devid:N" for a missing device instead of "(null)" - * other: - * lowest supported version of e2fsprogs is 1.41 - * minor cleanups, test updates -- Removed patch: 2000-btrfs-full-balance-warning.diff - -------------------------------------------------------------------- -Thu Mar 31 00:00:00 CEST 2016 - dsterba@suse.cz - -- update to 4.5.1 - * mkfs: allow DUP on multidev fs - * fix static build -- update to 4.5 - * new/moved commands - * btrfs-show-super -> btrfs inspect-internal dump-super - * btrfs-debug-tree -> btrfs inspect-internal dump-tree - * new commands - * btrfs fi du - calculate disk usage, including shared extents - * enhancements - * device delete - delete by id (needs kernel support, not merged to 4.6) - * check - new option to specify chunk root - * debug-tree/dump-tree - option -t understands human readable name of the - tree (along numerical ids) - * btrfs-debugfs - can dump block group information - * bugfixes - * all commands should accept the option separator "--" - * several fixes in device scan - * restore works on filesystems with sectorsize > 4k - * debug-tree/dump-tree - print compression type as string - * subvol sync: fix crash, memory corruption - * argument parsing fixes: subvol get-default, qgroup create/destroy/assign, - inspect subvolid-resolve - * check for block device or regular file in several commands - * other - * documentation updates - * manual pages for the moved tools now point to btrfs-filesystem - * testsuite updates -- Removed patch (upstream): - 0001-btrfs-progs-libbtrfs-remove-max-min-macros-from-API.patch - -------------------------------------------------------------------- -Fri Mar 18 20:29:22 UTC 2016 - mgorse@suse.com - -- Recommend btrfsmaintenance - -------------------------------------------------------------------- -Mon Mar 7 00:00:00 CET 2016 - dsterba@suse.cz - -- hide min/max macros clashing with gcc 6 (bnc#966257) - (0001-btrfs-progs-libbtrfs-remove-max-min-macros-from-API.patch) - -------------------------------------------------------------------- -Mon Feb 29 00:00:00 CET 2016 - dsterba@suse.cz - -- update to 4.4.1 - * find-root: don't skip the first chunk - * free-space-tree compat bits fix - * build: target symlinks - * documentation updates - * test updates - -------------------------------------------------------------------- -Fri Jan 22 00:00:00 CET 2016 - dsterba@suse.cz - -- update to 4.4 - * mkfs.btrfs --data dup - * support balance filters added/enhanced in linux 4.4 - * manual pages enhanced (btrfs, mkfs, mount, filesystem, balance) - * 'btrfs filesystem usage' works with mixed blockgroups - * build: installation to /usr/local - * build: the 'ar' tool is properly deteced during cross-compilation - * improved stability on fuzzed/crafted images when reading sys array in - superblock - * debug-tree: option -t understands ids for tree root and chnuk tree - * check: properly reset nlink of multi-linked file - * chunk recovery: fix floating point exception - * chunk recovery: endianity bugfix during rebuild - * mkfs with 64K pages and nodesize reported superblock checksum mismatch -- Removed patches: - * 0001-btrfs-progs-mkfs-use-correct-size-for-superblock-csu.patch - * fix-doc-build-on-SLE11SP3.diff - -------------------------------------------------------------------- -Thu Dec 10 16:04:16 CET 2015 - tiwai@suse.de - -- Fix missing dependency on coreutils for initrd macros (boo#958562) -- Call missing initrd macro at post / postun (boo#958562) - -------------------------------------------------------------------- -Tue Nov 24 00:00:00 CET 2015 - dsterba@suse.cz - -- fix mkfs failure on ppc64 (or with sectorsize > 4k) (bsc#956819) -- Added patch: 0001-btrfs-progs-mkfs-use-correct-size-for-superblock-csu.patch - -------------------------------------------------------------------- -Mon Nov 16 00:00:00 CET 2015 - dsterba@suse.cz - -- update to 4.3.1 - * fixes - * device delete: recognize 'missing' again - * mkfs: long names are not trimmed when doing ssd check - * support partitioned loop devices - - * other - * replace several mallocs with on-stack variables - * more memory allocation failure handling - * add tests for bugs fixed - * cmd-device: switch to new message printing helpers - * minor code cleanups - -------------------------------------------------------------------- -Fri Nov 13 00:00:00 CET 2015 - dsterba@suse.cz - -- update to 4.3 - * mkfs - * mixed mode is not forced for filesystems smaller than 1GiB - * mixed mode broken with mismatching sectorsize and nodesize, fixed - * print version info earlier - * print devices sorted by id - * do not truncate target image with --rootsize - * fi usage: - * don't print global block reserve - * print device id - * minor output tuning - * other cleanups - * calc-size: - * div-by-zero fix on an empty filesystem - * fix crash - * bugfixes: - * more superblock sanity checks - * consistently round size of all devices down to sectorsize - * misc leak fixes - * convert: don't try to rollback with a half-deleted ext2_saved subvolume - * other: - * check: add progress indicator - * scrub: enahced error message - * show-super: read superblock from a given offset - * add README - * docs: update manual page for mkfs.btrfs, btrfstune, balance, convert and inspect-internal - * build: optional build with more warnings (W=...) - * build: better support for static checkers - * build: html output of documentation - * pretty-print: last_snapshot for root_item - * pretty-print: stripe dev uuid - * error reporting wrappers, introduced and example use - * refactor open_file_or_dir - * other docs and help updates - * testing: - * test for nodes crossing stripes - * test for broken 'subvolume sync' - * basic tests for mkfs, raid option combinations - * basic tests for fuzzed images (check) - * command intrumentation (eg valgrind) - * print commands if requested - * add README for tests - -------------------------------------------------------------------- -Mon Nov 2 00:00:00 CET 2015 - dsterba@suse.cz - -- build btrfsprogs-static package for 13.2 and Factory, package - with static versions of the utilities, aimed for rescue environments - -------------------------------------------------------------------- -Mon Oct 19 00:00:00 CEST 2015 - dsterba@suse.cz - -- update to 4.2.3 - - subvol sync: make it actually work again - - scanning: do not scan already discovered filesystems (minor optimization) - - convert: better error message in case the filesystem is not finalized - - restore: off-by-one symlink path check fix - -------------------------------------------------------------------- -Mon Oct 5 00:00:00 CEST 2015 - dsterba@suse.cz - -- update to 4.2.2 - - fi label: use fallback if the label ioctl is not available - - convert: check nodesize constraints against commandline features (-O) - - scrub: report status 'running' until all devices are finished - - device scanning might crash in some scenarios - - fi usage: print summary for non-root users - -------------------------------------------------------------------- -Tue Sep 22 00:00:00 CEST 2015 - dsterba@suse.cz - -- update to 4.2.1 - - fix an off-by-one error in cross-stripe boundary check - - convert: don't write uninitialized data to image - - image: don't loop with option -t0 - - image: don't create threads if compression is not requested -- Removed patches: - * 0001-btrfs-progs-fix-cross-stripe-boundary-check.patch - -------------------------------------------------------------------- -Thu Sep 17 00:00:00 CEST 2015 - dsterba@suse.cz - -- make mkfs work with 64k nodesize again, notably fixes mkfs on ppc64 - (bsc#945229) -- Added patch: - * 0001-btrfs-progs-fix-cross-stripe-boundary-check.patch - -------------------------------------------------------------------- -Thu Sep 3 00:00:00 CEST 2015 - dsterba@suse.cz - -- version 4.2 - * enhancements: - * mkfs: do not create extra single chunks on multiple devices - * resize: try to guess the minimal size, 'inspect min-dev-size' - * qgroup assign: add option to schedule rescan - * chunk-recover: be more verbose about the scanning process - * fixes: - * check: - * find stripes crossing stripe boundary -- created by convert - * print correct range for file hole when there are no extents - and learn how to fix it - * replace: more sanity checks - * convert: concurrency fixes related to reporting progress - * find-root: option -a will not skip the current root anymore - * subvol list: fix occasional crash - * do not create stripes crossing stripe boundary - * build: - * fixes for musl libc - * preliminary support for android (not working yet, more code changes needed) - * new EXTRA_CFLAGS and EXTRA_LDFLAGS - * other: - * lots of cleanups - * tests: lots of updates, new tests, framework improvements - * documentation updates - * debugging: print-tree shows stripe length -- Removed patches (upstreamed): - * 2104-get-min-size-for-resize.patch - * 2105-move-min-resize-implementation-to-inspec.patch - * 2106-inspect-add-command-min-dev-size.patch - -------------------------------------------------------------------- -Tue Sep 1 00:00:00 CEST 2015 - dsterba@suse.cz - -- add warning before full balance starts (bsc#940467, fate#319317) -- Added patches: - 2000-btrfs-full-balance-warning.diff - -------------------------------------------------------------------- -Fri Jul 24 10:53:54 UTC 2015 - fdmanana@suse.com - -- Add feature to get minimum size a filesystem can be resized to - (FATE#317897). -- Added patches: - * 2104-get-min-size-for-resize.patch - * 2105-move-min-resize-implementation-to-inspec.patch - * 2106-inspect-add-command-min-dev-size.patch - -------------------------------------------------------------------- -Tue Jul 14 00:00:00 CEST 2015 - dsterba@suse.com - -- version 4.1.2 - - mkfs: bugfix, previous version does not create entierly correct - filesystem (has to be recreated) - -------------------------------------------------------------------- -Fri Jul 10 00:00:00 CEST 2015 - dsterba@suse.com - -- version 4.1.1 - * bugfixes - - defrag: threshold overflow fix - - fsck: - - check if items fit into the leaf space - - fix wrong nbytes - - mkfs: - - create only desired block groups for single device - - preparatory work for fix on multiple devices - * enhancements - - new alias for 'device delete': 'device remove' - * other - - fix compilation on old gcc (4.3) - - documentation updates - - debug-tree: print nbytes - - test: image for corrupted nbytes - - corupt-block: let it kill nbytes - -------------------------------------------------------------------- -Wed Jun 24 00:00:00 CEST 2015 - dsterba@suse.cz - -- spec: drop libacl dependency - -------------------------------------------------------------------- -Mon Jun 22 00:00:00 CEST 2015 - dsterba@suse.cz - -- version 4.1 - * bugfixes - - fsck.btrfs: no bash-isms - - bugzilla 97171: invalid memory access (with tests) - - receive: - - cloning works with --chroot - - capabilities not lost - - mkfs: do not try to register bare file images - - option --help accepted by the standalone utilities - * enhancements - - corrupt block: ability to remove csums - - mkfs: - - warn if metadata redundancy is lower than for data - - options to make the output quiet (only errors) - - mixed case names of raid profiles accepted - - rework the output: - - more comprehensive, 'key: value' format - - subvol: - - show: - - print received uuid - - update the output - - new options to specify size units - - sync: - - grab all deleted ids and print them as they're removed, - previous implementation only checked if there are any - to be deleted - change in command semantics - - scrub: print timestamps in days HMS format - - receive: - - can specify mount point, do not rely on /proc - - can work inside subvolumes - - send: - - new option to send stream without data (NO_FILE_DATA) - - convert: - - specify incompat features on the new fs - - qgroup: - - show: distinguish no limits and 0 limit value - - limit: ability to clear the limit - - help for 'btrfs' is shorter, 1st level command overview - - debug tree: print key names according to their C name - * new - - rescure zero-log - - btrfsune: - - rewrite uuid on a filesystem image - - new option to turn on NO_HOLES incompat feature - * deprecated - - standalone btrfs-zero-log - * other - - testing framework updates - - uuid rewrite test - - btrfstune feature setting test - - zero-log tests - - more testing image formats - - manual page updates - - ioctl.h synced with current kernel uapi version - - convert: preparatory works for more filesystems (reiserfs pending) - - use static buffers for path handling where possible - - add new helpers for send uilts that check memory allocations, - switch all users, deprecate old helpers - - Makefile: fix build dependency generation - - map-logical: make it work again - -------------------------------------------------------------------- -Tue Jun 2 07:57:43 UTC 2015 - antoine.belvire@laposte.net - -- Install bash completion for btrfs. - -------------------------------------------------------------------- -Wed Apr 29 00:00:00 CEST 2015 - dsterba@suse.cz - -- version 4.0 - * resize: - * don't accept file as an argument (it's confusing) - * print better error message in case of an error - * restore: optionally restore metadata (time, mode, uid/gid) - * receive: optionally enforce chroot - * new rescue subcommand 'zero-log', same as btrfs-zero-log, but - now also part of the main utility - * check: - * free space checks match kernel, fixes incorrect reports - * convert: fix setting of checksum bit if --no-datasum is used - * fsck.btrfs: don't print messages - * fix quota rescan on PPC64 (mangled ioctl number) - * test updates - * documentation: files renamed to .asciidoc, misc fixups - -------------------------------------------------------------------- -Wed Mar 25 00:00:00 CET 2015 - dsterba@suse.cz - -- version 3.19.1 - - convert: - - new option to specify metadata block size - - --no-progress actually works - - restore: properly handle the page boundary corner case - - build fixes: - - missing macro from public header, BTRFS_BUILD_VERSION - - wrong handling of --enable-convert - - fi usage: reports correct space for degraded mounts - - other: - - mkfs: help string updates - - completion: added 'usage' subcommands - - cleanups in qgroup code, preparatory work - -------------------------------------------------------------------- -Wed Mar 11 00:00:00 CET 2015 - dsterba@suse.cz - -- version 3.19 - - btrfs-image - - restore can now run in parallel threads - - fixed restore of multiple image from multiple devices onto a single dev - - introduced metadump v2 - - check - - make --init-csum-tree and --init-extent-tree work together - - find-new - - option to search through all metadata even if a root was already found - - convert - - show progress by default, can be turned off - - corrupt-block - - option to work on a specific root - - bash completion script for all subcommands -- spec: convert to autotools - Removed patch 0169-btrfs-progs-Check-metadata-mirrors-in-find-root.patch - -------------------------------------------------------------------- -Mon Mar 2 00:00:00 CET 2015 - dsterba@suse.cz - -- add COPYING - -------------------------------------------------------------------- -Thu Jan 29 00:00:00 CET 2015 - dsterba@suse.cz - -- version 3.18.2 - * qgroup show: print human readable sizes, options to say otherwise - * check: new option to explicitly say no to writes - * mkfs: message about trimming is not printed to stderr - * fi show: fixed return value - * tests: new infrastructure - * btrfstune: force flag can be used together with seeding option - * backtrace support is back - * getopt cleanups - * doc and help updates - -------------------------------------------------------------------- -Wed Jan 14 00:00:00 CET 2015 - dsterba@suse.cz - -- version 3.18.1 - - minor fixes - - documentation updates - -------------------------------------------------------------------- -Tue Dec 30 00:00:00 CET 2014 - dsterba@suse.cz - -- version 3.18 - - mkfs - skinny-metadata feature is now on by default, first introduced in - kernel 3.10 - - filesystem usage - give an overview of fs usage in a way that's more - comprehensible than existing 'fi df' - - device usage - more detailed information about per-device allocations - - check: - - option to set a different tree root byte number - - ability to link lost files to lost+found, caused by a recent kernel bug - - repair of severely corrupted fs (use with care) - - convert - option to show progress - - subvol create - print the commit mode inline, print the global mode only if --verbose - - other updates: musl-libc support, coverity bugfixes, new test images, - documentation -- Removed patches (upstreamed): - * 0010-btrfs-progs-move-group-type-and-profile-pretty-print.patch - * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch - * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch - * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch - * 0014-btrfs-progs-Add-btrfs-device-disk-usage-command.patch - * 0015-btrfs-progs-cleanup-dead-return-after-usage-for-fi-d.patch - * 0016-btrfs-progs-Fix-memleak-in-get_raid56_used.patch - * 0017-Btrfs-progs-fi-usage-free-memory-if-realloc-fails.patch - * 0019-btrfs-progs-add-original-df-and-rename-disk_usage-to.patch - * 0020-btrfs-progs-move-device-usage-to-cmds-device-more-cl.patch - * 0021-btrfs-progs-check-if-we-can-t-get-info-from-ioctls-d.patch - * 0022-btrfs-progs-zero-out-structures-before-calling-ioctl.patch - * 0024-btrfs-progs-Print-more-info-about-device-sizes.patch - * 0025-btrfs-progs-compare-unallocated-space-against-the-co.patch - * 0026-btrfs-progs-add-section-of-overall-filesystem-usage.patch - * 0027-btrfs-progs-cleanup-filesystem-device-usage-code.patch - * 0028-btrfs-progs-rework-calculations-of-fi-usage.patch - * 0029-btrfs-progs-replace-df_pretty_sizes-with-pretty_size.patch - * 0030-btrfs-progs-clean-up-return-codes-and-paths.patch - * 0031-btrfs-progs-move-global-reserve-to-overall-summary.patch - -------------------------------------------------------------------- -Thu Dec 4 00:00:00 CET 2014 - dsterba@suse.cz - -- version 3.17.3 - - convert: fix conversion of sparse ext* filesystems - - show: resolve to the correct path - - fsck: more verbose error for root dir problems - -------------------------------------------------------------------- -Wed Nov 19 00:00:01 CET 2014 - dsterba@suse.cz - -- version 3.17.2 - - check improvements - - add ability to replace missing dir item/dir indexes - - fix missing inode items - - create missing root dirid - - corrupt block: enhancements for testing fsck - - zero-log: able to reset a fs with bogus log tree pointer (bko#72151) - -------------------------------------------------------------------- -Wed Nov 19 00:00:00 CET 2014 - dsterba@suse.cz - -- package mkinitrd scripts conditionally (bsc#893577) -- spec: minor updates - -------------------------------------------------------------------- -Fri Nov 7 00:00:00 CET 2014 - dsterba@suse.cz - -- version 3.17.1 - - fi df: argument handling - - fix linking with libbtrfs - - replace: better error reporting - - fi show: fixed stall if run concurrently with balance - - check: fixed argument parsing for --subvol-extents - - fi df: SI prefixes corrected -- Added patches: - * fix-doc-build-on-SLE11SP3.diff -- Removed patches: - * 0042-btrfs-progs-fix-linking-with-libbtrfs.patch - * 0043-btrfs-progs-libbtrfs-make-exported-headers-compatibl.patch -- Modified patches: - * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch - * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch - * 0019-btrfs-progs-add-original-df-and-rename-disk_usage-to.patch - -------------------------------------------------------------------- -Mon Nov 3 00:00:00 CET 2014 - dsterba@suse.cz - -- version 3.17 - - check: --init-csum-tree acutally does something useful, rebuilds the whole - csum tree - - /dev scanning for btrfs devices is gone - - /proc/partitions scanning is gone, blkid is used exclusively - - new subcommand subvolume sync - - filesystem df: new options to set unit format - - convert: allow to copy label from the origin, or specify a new one -- Modified patches: - * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch - * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch - * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch - * 0014-btrfs-progs-Add-btrfs-device-disk-usage-command.patch - * 0015-btrfs-progs-cleanup-dead-return-after-usage-for-fi-d.patch - * 0016-btrfs-progs-Fix-memleak-in-get_raid56_used.patch - * 0017-Btrfs-progs-fi-usage-free-memory-if-realloc-fails.patch - * 0019-btrfs-progs-add-original-df-and-rename-disk_usage-to.patch - * 0020-btrfs-progs-move-device-usage-to-cmds-device-more-cl.patch - * 0021-btrfs-progs-check-if-we-can-t-get-info-from-ioctls-d.patch - * 0022-btrfs-progs-zero-out-structures-before-calling-ioctl.patch - * 0024-btrfs-progs-Print-more-info-about-device-sizes.patch - * 0025-btrfs-progs-compare-unallocated-space-against-the-co.patch - * 0026-btrfs-progs-add-section-of-overall-filesystem-usage.patch - * 0027-btrfs-progs-cleanup-filesystem-device-usage-code.patch - * 0029-btrfs-progs-replace-df_pretty_sizes-with-pretty_size.patch - * 0030-btrfs-progs-clean-up-return-codes-and-paths.patch - * 0031-btrfs-progs-move-global-reserve-to-overall-summary.patch -- Added patches: - * 0010-btrfs-progs-move-group-type-and-profile-pretty-print.patch - * 0028-btrfs-progs-rework-calculations-of-fi-usage.patch - * 0042-btrfs-progs-fix-linking-with-libbtrfs.patch - * 0043-btrfs-progs-libbtrfs-make-exported-headers-compatibl.patch -- Removed patches: - * 0006-Btrfs-progs-fsck-clear-out-log-tree-in-repair-mode.patch - * 0007-Btrfs-progs-fsck-avoid-pinning-same-block-several-ti.patch - * 0008-Btrfs-progs-fsck-add-ability-to-check-reloc-roots.patch - * 0018-btrfs-progs-read-global-reserve-size-from-space-info.patch - * 0023-btrfs-progs-print-B-for-bytes.patch - * 0028-btrfs-progs-extend-pretty-printers-with-unit-mode.patch - * 0164-btrfs-progs-convert-set-label-or-copy-from-origin.patch - * 0171-btrfs-progs-make-free-space-checker-work-on-non-4k-s.patch - -------------------------------------------------------------------- -Sat Oct 4 00:00:03 CEST 2014 - dsterba@suse.cz - -- version 3.16.2 - - fsck: handle bad extent mapping - - image: make it work on a balanced fs - - btrfs-show-super: print flags in human readable way - - documentation updates - -------------------------------------------------------------------- -Mon Sep 22 23:01:01 CEST 2014 - dsterba@suse.cz - -- version 3.16.1 - - library version defines - - subvol list: -R to print received UUID - - fixed detection of multiple mounts on the same directory - - restore: misc fixes - - other fixes -- Modified patches (sync with pending upstream versions): - * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch - * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch - * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch - * 0018-btrfs-progs-read-global-reserve-size-from-space-info.patch - * 0020-btrfs-progs-move-device-usage-to-cmds-device-more-cl.patch - * 0024-btrfs-progs-Print-more-info-about-device-sizes.patch - * 0025-btrfs-progs-compare-unallocated-space-against-the-co.patch - * 0028-btrfs-progs-extend-pretty-printers-with-unit-mode.patch - * 0029-btrfs-progs-replace-df_pretty_sizes-with-pretty_size.patch -- Removed patch: library-version-defines.patch (upstream) - -------------------------------------------------------------------- -Fri Sep 5 15:02:39 CEST 2014 - dsterba@suse.cz - -- send-stream API users updatd, drop the workaround -- Removed patch: send-stream-api-wokaround.patch - -------------------------------------------------------------------- -Mon Sep 1 14:07:53 CEST 2014 - dsterba@suse.cz - -- workaround for send api breakage -- Added patch: send-stream-api-wokaround.patch - -------------------------------------------------------------------- -Wed Aug 27 17:23:48 CEST 2014 - dsterba@suse.cz - -- add api versioning and package version.h (now 0.1.1) -- Added patches: - * library-version-defines.patch - -------------------------------------------------------------------- -Tue Aug 26 20:13:21 CEST 2014 - dsterba@suse.cz - -- version 3.16 - - show-super: skip unrecognized sb, add option to force - - debug-tree: print tree by id - - mkfs: new option to specify UUID - - receive: new option to limit number of errors - - check: new option to verify quotas - - check: reduced memory requirements - - check: new option to print extent sharing - - restore: check length before decompression - - restore: more error handling - - balance: new filter 'limit' - - recover: allow to read all sb copies - - restore: option to loop during restoring - - mkfs: drop experimental notice - - btrfstune: new option to force dangerous changes - - documentation updates - -- Deleted patches (upstream): - * 0001-btrfs-progs-doc-fix-symlink-target-for-btrfsck.8.patch - * 0200-btrfs-progs-print-qgroup-excl-as-unsigned.patch - * 0201-btrfs-progs-import-ulist.patch - * 0202-btrfs-progs-add-quota-group-verify-code.patch - * 0203-btrfs-progs-show-extent-state-for-a-subvolume.patch - * 0204-btrfs-progs-ignore-orphaned-qgroups-by-default.patch - * btrfs-progs-canonicalize-pathnames-for-device-commands -- Refreshed patches: - * 0006-Btrfs-progs-fsck-clear-out-log-tree-in-repair-mode.patch - * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch - * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch - * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch - * 0028-btrfs-progs-extend-pretty-printers-with-unit-mode.patch - * 0164-btrfs-progs-convert-set-label-or-copy-from-origin.patch - -------------------------------------------------------------------- -Wed Jul 9 18:08:37 UTC 2014 - mfasheh@suse.com - -- refresh references on the following patches: - * 0200-btrfs-progs-print-qgroup-excl-as-unsigned.patch - * 0201-btrfs-progs-import-ulist.patch - * 0202-btrfs-progs-add-quota-group-verify-code.patch - * 0203-btrfs-progs-show-extent-state-for-a-subvolume.patch -- btrfs-progs: ignore orphaned qgroups by default -- Added patch: - * 0204-btrfs-progs-ignore-orphaned-qgroups-by-default.patch - -------------------------------------------------------------------- -Mon Jul 7 23:04:51 UTC 2014 - mfasheh@suse.com - -- btrfs-progs: show extent state for a subvolume (bnc#865621) -- Added patch: - * 0203-btrfs-progs-show-extent-state-for-a-subvolume.patch - -------------------------------------------------------------------- -Fri Jun 6 13:20:54 UTC 2014 - jeffm@suse.com - -- btrfs-progs: canonicalize pathnames for device commands (bnc#880486). -- Added patch: - * btrfs-progs-canonicalize-pathnames-for-device-commands - -------------------------------------------------------------------- -Fri Jun 6 13:20:10 UTC 2014 - jeffm@suse.com - -- fsck: fix checking on filesystems with large sectorsize (bnc#872286) -- Added patches: - * 0171-btrfs-progs-make-free-space-checker-work-on-non-4k-s.patch - -------------------------------------------------------------------- -Fri Jun 6 13:15:01 UTC 2014 - jeffm@suse.com - -- Do not package btrfs-find-root and btrfs-select-super by default. -- Removed printing byte number for every slot (bnc#872364). -- Removed patch: - * 0170-btrfs-progs-In-find-root-dump-bytenr-for-every-slot.patch - -------------------------------------------------------------------- -Mon Jun 2 14:47:05 UTC 2014 - dsterba@suse.cz - -- update to upstream 3.14.2 - - man: separate pages for all subcommands - - minor bugfixes - - spec: removed upstreamed patches, update build dependencies -- Added patches: - * 0001-btrfs-progs-doc-fix-symlink-target-for-btrfsck.8.patch -- Removed patches: - * 0001-Btrfs-progs-fix-check-to-test-trim-support.patch - * 0002-Btrfs-progs-fsck-fix-double-free-memory-crash.patch - * 0003-Btrfs-progs-mkfs-Remove-zero_end-1-since-it-has-been.patch - * 0004-btrfs-progs-fix-wrong-max-system-array-size-check-in.patch - * 0005-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch - * 0009-btrfs-progs-prevent-close_root-if-the-root-to-close-.patch - * 0010-btrfs-progs-fix-mkfs.btrfs-segfault-with-features-op.patch - -------------------------------------------------------------------- -Wed May 21 19:32:13 UTC 2014 - mfasheh@suse.com - -- add quota group verify patches, sent to list near end of the week starting - 5/4/2014 - - updates btrfsck with the ability to verify quota groups -- Update the changelog with some sad version of diffstat output to meet - requirements. -- Added patches: - * 0200-btrfs-progs-print-qgroup-excl-as-unsigned.patch - * 0201-btrfs-progs-import-ulist.patch - * 0202-btrfs-progs-add-quota-group-verify-code.patch - -------------------------------------------------------------------- -Tue May 13 20:28:23 UTC 2014 - mfasheh@suse.com - -- add quota group verify patches, sent to list near end of the week starting - 5/4/2014 - - updates btrfsck with the ability to verify quota groups - -------------------------------------------------------------------- -Fri May 2 13:37:04 UTC 2014 - dsterba@suse.cz - -- update to upstream 3.14.1 -- mkfs: - - fix TRIM detection - - do not zero-out end of device unconditionally - - no crash with --features option -- fsck: - - clear log tree in repair mode - - check reloc roots -- btrfs - reworked space reporting (bnc#873106) - - btrfs fi usage - new command - - btrfs dev usage - new command - - btrfs fi df - enhanced output with GlobalReserve -- Removed patches: - * 0001-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch -- Added patches: - * 0001-Btrfs-progs-fix-check-to-test-trim-support.patch - * 0002-Btrfs-progs-fsck-fix-double-free-memory-crash.patch - * 0003-Btrfs-progs-mkfs-Remove-zero_end-1-since-it-has-been.patch - * 0004-btrfs-progs-fix-wrong-max-system-array-size-check-in.patch - * 0005-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch - * 0006-Btrfs-progs-fsck-clear-out-log-tree-in-repair-mode.patch - * 0007-Btrfs-progs-fsck-avoid-pinning-same-block-several-ti.patch - * 0008-Btrfs-progs-fsck-add-ability-to-check-reloc-roots.patch - * 0009-btrfs-progs-prevent-close_root-if-the-root-to-close-.patch - * 0010-btrfs-progs-fix-mkfs.btrfs-segfault-with-features-op.patch - * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch - * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch - * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch - * 0014-btrfs-progs-Add-btrfs-device-disk-usage-command.patch - * 0015-btrfs-progs-cleanup-dead-return-after-usage-for-fi-d.patch - * 0016-btrfs-progs-Fix-memleak-in-get_raid56_used.patch - * 0017-Btrfs-progs-fi-usage-free-memory-if-realloc-fails.patch - * 0018-btrfs-progs-read-global-reserve-size-from-space-info.patch - * 0019-btrfs-progs-add-original-df-and-rename-disk_usage-to.patch - * 0020-btrfs-progs-move-device-usage-to-cmds-device-more-cl.patch - * 0021-btrfs-progs-check-if-we-can-t-get-info-from-ioctls-d.patch - * 0022-btrfs-progs-zero-out-structures-before-calling-ioctl.patch - * 0023-btrfs-progs-print-B-for-bytes.patch - * 0024-btrfs-progs-Print-more-info-about-device-sizes.patch - * 0025-btrfs-progs-compare-unallocated-space-against-the-co.patch - * 0026-btrfs-progs-add-section-of-overall-filesystem-usage.patch - * 0027-btrfs-progs-cleanup-filesystem-device-usage-code.patch - * 0028-btrfs-progs-extend-pretty-printers-with-unit-mode.patch - * 0029-btrfs-progs-replace-df_pretty_sizes-with-pretty_size.patch - * 0030-btrfs-progs-clean-up-return-codes-and-paths.patch - * 0031-btrfs-progs-move-global-reserve-to-overall-summary.patch - -------------------------------------------------------------------- -Sat Apr 26 09:45:23 UTC 2014 - coolo@suse.com - -- own mkinitrd directories - -------------------------------------------------------------------- -Fri Apr 11 11:30:32 UTC 2014 - dsterba@suse.cz - -- add missing symbol to library (bnc#873164) -- add version dependency for devel package -- Added patches: - * 0001-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch - -------------------------------------------------------------------- -Tue Apr 8 11:42:43 UTC 2014 - dsterba@suse.cz - -- fsck: fixes and enahancements to --init-extent-tree mode -- fsck: chunk-recover updates -- scrub: add force option -f -- send: check if subvolumes are read-only -- subvol snapshot: add options to affect commit behaviour -- btrfs: add properties command group -- restore: add dry-run option -- restore: fix restoring of compressed files -- mkfs: support for no-holes feature -- mkfs: option -r deals with hardlinks and relative paths -- mkfs: discard phase is interruptible -- documentation updates - -- cleaned spec file -- Removed patches: - * 0162-btrfs-progs-fix-loop-device-mount-checks.patch - * 0165-Revert-btrfs-progs-update-options-in-find-root.c.patch - * 0166-Btrfs-progs-add-some-verbose-output-to-find-root.patch - -------------------------------------------------------------------- -Mon Nov 25 14:10:55 CET 2013 - dsterba@suse.cz - -- bump version to 3.12 -- update tarball and remove upstreamed patches -- fsck, image, restore: various improvements and fixes -- btrfs: quota rescan (fate#312751) - -------------------------------------------------------------------- -Thu Oct 31 01:05:56 CET 2013 - dsterba@suse.cz - -- fsck updates -- more mkfs sanity checks -- qgroup rescan wait -- Added patches: - * 0050-Btrfs-progs-commit-the-csum_root-if-we-do-init-csum-.patch - * 0051-btrfs-progs-Fix-getopt-on-arm-ppc-platforms.patch - * 0052-btrfs-progs-fix-duplicate-__-su-typedefs-on-ppc64.patch - * 0053-btrfs-progs-use-reentrant-localtime.patch - * 0054-btrfs-progs-don-t-have-to-report-ENOMEDIUM-error-dur.patch - * 0055-Btrfs-progs-added-btrfs-quota-rescan-w-switch-wait.patch - * 0056-btrfs-progs-fix-qgroup-realloc-inheritance.patch - * 0057-Btrfs-progs-fix-restore-command-leaving-corrupted-fi.patch - * 0058-btrfs-progs-avoid-write-to-the-disk-before-sure-to-c.patch - * 0059-btrfs-progs-error-if-device-for-mkfs-is-too-small.patch - * 0060-btrfs-progs-error-if-device-have-no-space-to-make-pr.patch - * 0061-btrfs-progs-calculate-available-blocks-on-device-pro.patch - * 0062-Btrfs-progs-keep-track-of-transid-failures-and-fix-t.patch - -------------------------------------------------------------------- -Fri Oct 4 20:16:02 UTC 2013 - rgoldwyn@suse.com - -- Change udev rule filename in setup-btrfs.sh to - /usr/lib/udev/rules.d/64-btrfs.rules from - from /usr/lib/udev/rules.d/80-btrfs.rules (bnc#839960 comment#7) - -------------------------------------------------------------------- -Thu Sep 26 21:21:15 UTC 2013 - jeffm@suse.com - -- Remove udev rules file - udev packages one itself (bnc#839960). - -------------------------------------------------------------------- -Mon Sep 16 15:49:00 UTC 2013 - jeffm@suse.com - -- update to upstream master (194aa4a1) - - btrfs-restore: deal with NULL returns from read_node_slot - - btrfs-restore: use the correct leafsize when reading the FS location - - btrfs-find-root: Add options to control generation and level - - btrfsck: fix incorrect casting on items in the corrupt_blocks tree - - Btrfs-progs: fix closing of devices - - Btrfs-progs: enhance btrfs-image to restore image onto multiple disks - - Btrfs-progs: cleanup btrfs-image usage - - Btrfs-progs: delete fs_devices itself from fs_uuid list before freeing - - Btrfs-progs: skip open devices which is missing - - Btrfs-progs: fix misuse of skinny metadata in btrfs-image - - Btrfs-progs: recover raid0/raid10/raid5/raid6 metadata chunk - - Btrfs-progs: Add chunk rebuild function for RAID1/SINGLE/DUP - - Btrfs-progs: introduce list_{first, next}_entry/list_splice_tail{_init} - - Btrfs-progs: Add chunk recover function - using old chunk items - - Btrfs-progs: Add block group check funtion - - Btrfs-progs: extend the extent cache for the device extent - - Btrfs-progs: use rb-tree instead of extent cache tree for fs/file roots - - Btrfs-progs: introduce common insert/search/delete functions for rb-tree - - Btrfs-progs: cleanup similar code in open_ctree_* and close_ctree - - Btrfs-progs: Don't free the devices when close the ctree - - Btrfs-progs: don't close the file descriptor 0 when closing a device - - Btrfs-progs: fix missing recow roots when making btrfs filesystem - -- Add fix for passing super_nr while opening ctree - -------------------------------------------------------------------- -Thu Sep 5 16:33:50 CEST 2013 - dsterba@suse.cz - -- btrfs-progs-mkfs-default-extref.diff: turn on extended refs by - default, (aka hardlink count limtitation) (bnc#835695) - -------------------------------------------------------------------- -Fri Aug 9 14:03:04 CEST 2013 - dsterba@suse.cz - -- added 0040-btrfs-progs-fix-loop-device-mount-checks.patch: fix - loop mount detection again (bnc#834173) - -------------------------------------------------------------------- -Mon Jul 22 17:50:52 CEST 2013 - ohering@suse.de - -- Simplify checks in mkinitrd scripts. - They are always true because they come from the same package - Use relative paths to binaries -- Move udev rules to /usr. -- Adjust rules to call binary from /usr -- Simplify fsck.btrfs, its just a dummy until fixed - -------------------------------------------------------------------- -Thu Jul 4 12:30:41 CEST 2013 - dsterba@suse.cz - -- update to upstream master (f00dd8386a57d241d0f7c) - -------------------------------------------------------------------- -Sun Jun 16 23:39:42 UTC 2013 - jengelh@inai.de - -- Make requirement on libattr-devel explicit - -------------------------------------------------------------------- -Fri Apr 13 16:06:50 CEST 2012 - dsterba@suse.cz - -- initrd support: add module (bnc#750185, bnc#727383) - -------------------------------------------------------------------- -Tue Apr 10 21:50:00 UTC 2012 - frank.lichtenheld@sophos.com - -- set correct file mode if writing replacement fsck - -------------------------------------------------------------------- -Fri Apr 6 13:57:43 CEST 2012 - dsterba@suse.cz - -- fix build failure - -------------------------------------------------------------------- -Fri Apr 6 13:27:48 CEST 2012 - dsterba@suse.cz - -- add btrfs-debug-tree to initrd -- adjust fs size to correct size (bnc#744593) -- man page documentation updates -- do not package obsolete utilities -- mkfs: store correct size of device in superblock (bnc#730103) -- updated restriper/balance commands to match kernel version - -------------------------------------------------------------------- -Fri Mar 9 16:26:20 UTC 2012 - rschweikert@suse.com - -- place binaries in /usr tree (UsrMerge project) -- adjust mkinitrd scrippt accordingly - -------------------------------------------------------------------- -Mon Mar 5 13:06:43 CET 2012 - dsterba@suse.cz - -- add btrfsck repair options for: - - rebuild extent records - - fix block group accounting - - reset csums for rescue nodatasum mount - - prune corrupt extent allocation tree blocks -- device scanning fixes for dm and multipath (bnc#749540) -- initrd support: move btrfs device scan after block device setup -- documentation updates -- add csize for file commpressed size -- updated restore utility - -------------------------------------------------------------------- -Mon Feb 13 10:44:43 UTC 2012 - coolo@suse.com - -- patch license to follow spdx.org standard - -------------------------------------------------------------------- -Mon Dec 12 15:44:48 CET 2011 - dkukawka@suse.de - -- btrfs-progs-fix-open_ctree_usage_segfaults.patch: fix - segfaults from bnc#710486 due to unchecked usage of return - value of open_ctree() - [fixed compilation warnings] - -------------------------------------------------------------------- -Mon Dec 12 14:50:07 CET 2011 - dsterba@suse.cz - -- pull upstream, replace existing patches, spec update -- update 'restore' utility - - lzo support - - tools may now take earlies superblock when opening the fs - - other fixes -- pull integration-20111030 branch - - mkfs: force mkfs if desired - - other fixes -- add btrfs-dump-super to mkinitrd -- other fixes - - skip non-existent devices or without media - - documentation updates - - scrubbing single device - - graceful error handling when opening fs fails - -------------------------------------------------------------------- -Fri Dec 9 00:43:08 CET 2011 - dsterba@suse.cz - -- updated mkinitrd script to scan devices before mount (bnc#727383) - -------------------------------------------------------------------- - -Wed Nov 9 14:34:56 CET 2011 - dsterba@suse.cz - -- add several tools to mkinitrd if root fs is btrfs -- pull upstream branch and delete local patches - -------------------------------------------------------------------- -Tue Oct 4 02:08:54 CEST 2011 - dsterba@suse.cz - -- btrfsck: ignore -a (bnc#655906) -- btrfsck: fix strerror value - -------------------------------------------------------------------- -Sat Sep 17 20:58:20 UTC 2011 - jengelh@medozas.de - -- Remove redundant tags/sections from specfile -- Use %_smp_mflags for parallel build - -------------------------------------------------------------------- -Thu Aug 4 21:52:12 CEST 2011 - dsterba@suse.cz - -- add patch for local version override as we do not build from - git, and avoid doubled "Btrfs" in output of 'btrfs' - -------------------------------------------------------------------- -Thu Aug 4 21:20:11 CEST 2011 - dsterba@suse.cz - -- reorder help for 'get-default' right after 'set-default' - -------------------------------------------------------------------- -Thu Jul 28 19:10:08 CEST 2011 - dsterba@suse.cz - -- add option -p to print parent subvolume -- add subvolume 'get-default' subsubcommand - -------------------------------------------------------------------- -Wed Jul 20 19:12:46 CEST 2011 - dsterba@suse.cz - -- remove debugging printf from - 0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch - -------------------------------------------------------------------- -Fri Jul 1 16:59:41 CEST 2011 - dsterba@suse.cz - -- add support for currently available kernel features: - - add scrub subcommand - - scan /proc/partitions by default (or use --all-devices for all) - - mkfs fixes and improvements - - documentation fixes - -------------------------------------------------------------------- -Fri Jul 1 16:31:44 CEST 2011 - dmueller@suse.de - -- fix failing on deleted loop mounts (bnc#697671) - -------------------------------------------------------------------- -Fri Jul 1 15:54:23 CEST 2011 - dsterba@suse.cz - -- update from git: - - add btrfs-select-super utility - - add btrfs-label utility - - allow mixed data+metadata (option --mixed) - - allow populating new filesystem with files (option --rootdir) - - allow discard support in mkfs - - lzo support - - deprecate 'btrfsctl' 'btrfs-vol' 'btrfs-show' - - other bugfixes and documentation improvements - -------------------------------------------------------------------- -Mon Mar 21 13:01:23 CET 2011 - dmueller@suse.de - -- change to a hardlink - -------------------------------------------------------------------- -Mon Mar 14 19:19:34 CET 2011 - dmueller@suse.de - -- add link for fsck.btrfs (bnc#665899) - -------------------------------------------------------------------- -Thu Dec 16 20:53:19 CET 2010 - dmueller@suse.de - -- update to v0.19-35-g1b444cd: - * used space accounting fix for the converter - * Add btrfs-list for listing subvolumes - * Add new util: 'btrfs' - * multidevice support for check_mounted - * check slash in deleting subvolumes - * Add btrfsck option to select the super block copy - * btrfs-debug-tree: add -d option to print only the device mapping - -------------------------------------------------------------------- -Wed May 26 17:00:46 CEST 2010 - dmueller@suse.de - -- fix crash on creating filesystems (bnc#603620) - -------------------------------------------------------------------- -Fri May 7 15:05:11 CEST 2010 - dmueller@suse.de - -- revert last change (bnc#599224#c3) - -------------------------------------------------------------------- -Thu Apr 29 11:11:13 CEST 2010 - dmueller@suse.de - -- add hardlink from fsck.btrfs (bnc#599224) - -------------------------------------------------------------------- -Fri Mar 26 13:24:15 CET 2010 - dmueller@suse.de - -- fix memory leak (bnc#537633) - -------------------------------------------------------------------- -Thu Mar 4 22:48:17 CET 2010 - jeffm@suse.de - -- Updated to latest repo version. - - used space accounting fix for the converter - - btrfsctl: add snapshot/subvolume destroy ioctl - - btrfsck: check root back/forward references - - Add btrfs-map-logical program to map and read logical block numbers - -------------------------------------------------------------------- -Fri Jan 22 22:28:46 CET 2010 - dmueller@suse.de - -- build btfs-convert (bnc#572912) - -------------------------------------------------------------------- -Sun Dec 20 14:12:35 CET 2009 - jengelh@medozas.de - -- enable parallel build - -------------------------------------------------------------------- -Mon Aug 03 14:00:55 CEST 2009 - aschnell@suse.de - -- added Supplements - -------------------------------------------------------------------- -Mon Jul 27 13:12:39 CEST 2009 - dmueller@suse.de - -- move apps to /sbin - -------------------------------------------------------------------- -Mon Jul 20 23:18:25 CEST 2009 - dmueller@suse.de - -- update to 0.19: - - build with rpm optflags - - install man pages - - fix leak in extends checking (bnc#523447) - ------------------------------------------------------------------- Wed Feb 25 18:11:55 CET 2009 - dmueller@suse.de diff --git a/btrfsprogs.keyring b/btrfsprogs.keyring deleted file mode 100644 index b380c9a..0000000 --- a/btrfsprogs.keyring +++ /dev/null @@ -1,89 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- - -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 -IkRHe2A= -=nJ+a ------END PGP PUBLIC KEY BLOCK----- diff --git a/btrfsprogs.spec b/btrfsprogs.spec index bce1ef9..300c776 100644 --- a/btrfsprogs.spec +++ b/btrfsprogs.spec @@ -1,7 +1,7 @@ # -# spec file for package btrfsprogs +# spec file for package btrfsprogs (Version 0.18) # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,424 +12,50 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # -%define udev_with_btrfs_builtin 190 -%define udev_version %(pkg-config --modversion udev) -%define package_udev_rules %{udev_version} >= %{udev_with_btrfs_builtin} -%{?!python_module:%define python_module() python-%{**} python3-%{**}} - -# enable building of btrfsprogs-static -%if 0%{?suse_version} <= 1310 || 0%{?suse_version} == 1315 -%define build_static 0 -%else -%define build_static 1 -%endif - -# the tarball contains prebuilt documentation -%define build_docs 1 - -%define _dracutmodulesdir %(pkg-config --variable dracutmodulesdir dracut) Name: btrfsprogs -Version: 6.1.3 -Release: 0 -Summary: Utilities for the Btrfs filesystem -License: GPL-2.0-only +Url: http://btrfs.wiki.kernel.org/index.php/Main_Page +Version: 0.18 +Release: 2 +Summary: Utilities for the Second Btr File System +License: GPL v2 only Group: System/Filesystems -URL: https://btrfs.wiki.kernel.org/ -#Git-Web: http://git.kernel.org/cgit/linux/kernel/git/kdave/btrfs-progs.git -#Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs -Source: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v%{version}.tar.gz -Source100: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/btrfs-progs-v%{version}.tar.sign -Source101: btrfsprogs.keyring -# support for mkinitrd in < 13.1 -Source1: boot-btrfs.sh -Source2: module-setup.sh.in -Source3: dracut-fsck-help.txt -Source4: setup-btrfs.sh -# Alias that matches the upstream project name -Provides: btrfs-progs = %{version}-%{release} -Provides: btrfs-progs(%_arch) = %{version}-%{release} - -Patch1: mkfs-default-features.patch - -%if %build_docs -BuildRequires: python3-Sphinx -%endif -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: dracut -BuildRequires: libattr-devel -BuildRequires: libblkid-devel -BuildRequires: libext2fs-devel -%if 0%{?suse_version} == 1500 -BuildRequires: libreiserfscore-devel >= 3.6.27 -Requires: libreiserfscore0 >= 3.6.27 -%endif -BuildRequires: libuuid-devel -%if 0%{?suse_version} > 1500 -BuildRequires: libzstd-devel -%endif -BuildRequires: lzo-devel -BuildRequires: pkg-config -%if 0%{?suse_version} >= 1310 -BuildRequires: suse-module-tools -%endif -BuildRequires: libudev-devel -BuildRequires: pkgconfig(udev) -%if %build_docs -BuildRequires: xmlto -%endif -BuildRequires: python-rpm-macros -BuildRequires: zlib-devel -%if 0%{?suse_version} >= 1310 -Requires(post): coreutils -Requires(postun):coreutils -%endif -Supplements: filesystem(btrfs) -Recommends: btrfsmaintenance -%if %{package_udev_rules} -Requires: btrfsprogs-udev-rules -%endif +Source: http://ftp.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: libuuid-devel zlib-devel %description Utilities needed to create and maintain btrfs file systems under Linux. -%if %build_static -%package -n btrfsprogs-static -Summary: Static build of utilities for the Btrfs filesystem -Group: System/Filesystems -Provides: btrfs-progs-static = %{version}-%{release} -Provides: btrfs-progs-static(%_arch) = %{version}-%{release} -BuildRequires: glibc-devel-static -BuildRequires: libblkid-devel-static -BuildRequires: libcom_err-devel-static -BuildRequires: libext2fs-devel-static -BuildRequires: libuuid-devel-static -%if 0%{?suse_version} > 1500 -BuildRequires: libzstd-devel-static -%endif -BuildRequires: lzo-devel-static -BuildRequires: zlib-devel-static -%description -n btrfsprogs-static -Static build of utilities needed to create and maintain btrfs file systems -under Linux. Suitable for limited or rescue environments. - -Warning: the zlib and lzo libraries are statically linked in and may lack -important updates -%endif - -%package -n libbtrfs0 -Summary: Library for interacting with Btrfs -Group: System/Libraries - -%description -n libbtrfs0 -This package contains the libbtrfs.so shared library needed for some -applications to interface with btrfs. - -%package -n libbtrfs-devel -Summary: Include Files and Libraries for developing with Btrfs -Group: Development/Libraries/C and C++ -Requires: %{name} = %{version}-%{release} -Requires: libbtrfs0 = %{version} - -%description -n libbtrfs-devel -This package contains the libraries and headers files for developers to -build applications to interface with Btrfs. - -# rpm < 4.6.0 (SLE11 uses 4.4) doesn't support noarch subpackages. -# Fortunately, it doesn't use systemd either so we can just skip it. -%if %{package_udev_rules} -%package udev-rules -Summary: Udev rules for configuring btrfs file systems -Group: System/Kernel -Conflicts: udev < %{udev_with_btrfs_builtin} -BuildArch: noarch - -%description udev-rules -This package contains the udev rule file for configuring device mapper -devices that are components of btrfs file systems. It is meant to be -used with versions of udev that contain the "built-in" btrfs command -(v190 and newer). Older versions of udev will call the version of -"btrfs ready" contained in the btrfsprogs package, which does the right -thing. -%endif - -%package -n libbtrfsutil1 -Summary: Utility library for interacting with Btrfs -Group: System/Libraries - -%description -n libbtrfsutil1 -This package contains the libbtrfsutil.so shared library. This library is -LGPL unlike libbtrfs.so and can be used by applications to interact with Btrfs -filesystems. - -%package -n libbtrfsutil-devel -Summary: Include Files and Libraries for developing with libbtrfsutil -Group: Development/Libraries/C and C++ -Requires: %{name} = %{version}-%{release} -Requires: libbtrfsutil1 = %{version} - -%description -n libbtrfsutil-devel -This package contains the libraries and headers files for developers to -build applications to interface with Btrfs using libbtrfsutil. - -%package -n python-btrfsutil -Summary: Python bindings for developing with libbtrfsutil -Group: Development/Languages/Python -Requires: %{name} = %{version}-%{release} -Requires: libbtrfsutil1 = %{version} -Requires: python3 -BuildRequires: %{python_module setuptools} -BuildRequires: pkgconfig(python3) - -%description -n python-btrfsutil -This package contains the python bindings to build applications to interface -with Btrfs using libbtrfsutil. - -%package bash-completion -Summary: Bash completion for btrfsprogs -Group: System/Shells -Requires: %{name} -Requires: bash-completion -%if 0%{?suse_version} >= 1500 -Supplements: (%{name} and bash-completion) -%else -Supplements: packageand(%{name}:bash-completion) -%endif - -%description bash-completion -bash command line completion support for btrfsprogs. %prep -%setup -q -n btrfs-progs-v%{version} -%patch1 -p1 +%setup -q -n btrfs-progs-%{version} %build -./autogen.sh - -%configure \ - --enable-python \ -%if !%{build_docs} - --disable-documentation \ -%endif -%if 0%{?suse_version} <= 1500 - --disable-zoned \ - --disable-zstd -%endif - -make V=1 %{?_smp_mflags} all \ -%if %{build_static} - static -%endif +make %install -make install \ -%if %{build_static} - install-static \ -%endif - DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} mandir=%{_mandir} libdir=%{_libdir} \ - install_python - -%if !%{build_docs} -cd Documentation -install -m 0755 -d %{buildroot}/%{_mandir}/man5 -install -m 0755 -d %{buildroot}/%{_mandir}/man8 -install -m 0644 *.5 %{buildroot}/%{_mandir}/man5 -install -m 0644 *.8 %{buildroot}/%{_mandir}/man8 -cd .. -%endif - -%if %{build_static} -make install-static DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{_sbindir} mandir=%{_mandir} libdir=%{_libdir} -%endif - -install -m 0755 -d %{buildroot}/%{_sbindir} -install -m 0755 -d %{buildroot}/%{_bindir} -# move some utilities out of /usr/sbin -mv %{buildroot}/%{_sbindir}/btrfs-map-logical %{buildroot}/%{_bindir} -# initrd rescue utilities -install -m 0755 btrfs-select-super %{buildroot}/%{_sbindir} -install -m 0755 btrfs-image %{buildroot}/%{_sbindir} -install -m 0755 btrfstune %{buildroot}/%{_sbindir} -install -m 0755 btrfs-find-root %{buildroot}/%{_sbindir} -%if 0%{?suse_version} < 1550 -install -m 0755 -d %{buildroot}/sbin -ln -s %{_sbindir}/btrfs %{buildroot}/sbin -ln -s %{_sbindir}/btrfs-convert %{buildroot}/sbin -ln -s %{_sbindir}/btrfs-select-super %{buildroot}/sbin -ln -s %{_sbindir}/btrfs-image %{buildroot}/sbin -ln -s %{_sbindir}/btrfstune %{buildroot}/sbin -ln -s %{_sbindir}/btrfsck %{buildroot}/sbin -ln -s %{_sbindir}/btrfs-find-root %{buildroot}/sbin -ln -s %{_sbindir}/mkfs.btrfs %{buildroot}/sbin -ln -s %{_sbindir}/fsck.btrfs %{buildroot}/sbin -%endif -%if 0%{?suse_version} < 1310 -install -d -m0755 %{buildroot}/lib/mkinitrd/scripts/ -install -m 0755 %{SOURCE1} %{buildroot}/lib/mkinitrd/scripts/ -install -m 0755 %{SOURCE4} %{buildroot}/lib/mkinitrd/scripts/ -%endif -# don't install .a for now -rm -f %{buildroot}/%{_libdir}/*.a -# bash completion -install -m 0755 -d %{buildroot}/%{_datadir}/bash-completion/completions -install -m 0644 btrfs-completion %{buildroot}/%{_datadir}/bash-completion/completions/btrfs -sed -e 's,@@INSTALLDIR@@,%{_datadir}/%{name}/,;' %{SOURCE2} > module-setup.sh -install -m 0755 -D module-setup.sh %{buildroot}/%{_dracutmodulesdir}/95suse-btrfs/module-setup.sh -rm -f module-setup.sh -install -m 0644 -D %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/dracut-fsck-help.txt - -%if 0%{!?for_debugging:1} -DEBUG_FILES="/sbin/btrfs-find-root - %{_sbindir}/btrfs-find-root - %{_mandir}/man8/btrfs-find-root.8 - /sbin/btrfs-select-super - %{_sbindir}/btrfs-select-super" -for file in $DEBUG_FILES; do - rm -f %{buildroot}$file -done -%endif - -%post -n libbtrfs0 -p /sbin/ldconfig - -%postun -n libbtrfs0 -p /sbin/ldconfig - -%post -n libbtrfsutil1 -p /sbin/ldconfig - -%postun -n libbtrfsutil1 -p /sbin/ldconfig - -%if 0%{?suse_version} >= 1310 -%post -%{?regenerate_initrd_post} - -%postun -%{?regenerate_initrd_post} - -%posttrans -%{?regenerate_initrd_posttrans} -%endif +make install DESTDIR=${RPM_BUILD_ROOT} prefix=%{_prefix} %files %defattr(-, root, root) -%license COPYING -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/dracut-fsck-help.txt -%dir %{_dracutmodulesdir}/95suse-btrfs/ -%{_dracutmodulesdir}/95suse-btrfs/module-setup.sh -%if 0%{?suse_version} < 1550 -/sbin/fsck.btrfs -# mkinitrd utils -/sbin/btrfs -/sbin/btrfs-convert -/sbin/btrfs-image -/sbin/btrfstune -/sbin/btrfsck -/sbin/mkfs.btrfs -%endif -%{_sbindir}/btrfs -%{_sbindir}/btrfs-convert -%{_sbindir}/btrfs-image -%{_sbindir}/btrfstune -%{_sbindir}/btrfsck -%{_sbindir}/fsck.btrfs -%{_sbindir}/mkfs.btrfs -%if 0%{?suse_version} < 1310 -%dir /lib/mkinitrd -%dir /lib/mkinitrd/scripts -/lib/mkinitrd/scripts/boot-btrfs.sh -/lib/mkinitrd/scripts/setup-btrfs.sh -%endif -%{_bindir}/btrfs-map-logical -%{_mandir}/man8/btrfs-image.8%{?ext_man} -%{_mandir}/man8/btrfsck.8%{?ext_man} -%{_mandir}/man8/fsck.btrfs.8%{?ext_man} -%{_mandir}/man8/mkfs.btrfs.8%{?ext_man} -%{_mandir}/man8/btrfs.8%{?ext_man} -%{_mandir}/man5/btrfs.5%{?ext_man} -%{_mandir}/man8/btrfs-convert.8%{?ext_man} -%{_mandir}/man8/btrfs-map-logical.8%{?ext_man} -%{_mandir}/man8/btrfstune.8%{?ext_man} -%{_mandir}/man8/btrfs-balance.8%{?ext_man} -%{_mandir}/man8/btrfs-check.8%{?ext_man} -%{_mandir}/man8/btrfs-device.8%{?ext_man} -%{_mandir}/man8/btrfs-filesystem.8%{?ext_man} -%{_mandir}/man8/btrfs-inspect-internal.8%{?ext_man} -%{_mandir}/man8/btrfs-property.8%{?ext_man} -%{_mandir}/man8/btrfs-qgroup.8%{?ext_man} -%{_mandir}/man8/btrfs-quota.8%{?ext_man} -%{_mandir}/man8/btrfs-receive.8%{?ext_man} -%{_mandir}/man8/btrfs-replace.8%{?ext_man} -%{_mandir}/man8/btrfs-rescue.8%{?ext_man} -%{_mandir}/man8/btrfs-restore.8%{?ext_man} -%{_mandir}/man8/btrfs-scrub.8%{?ext_man} -%{_mandir}/man8/btrfs-send.8%{?ext_man} -%{_mandir}/man8/btrfs-subvolume.8%{?ext_man} -%{_mandir}/man8/btrfs-select-super.8%{?ext_man} +/usr/bin/btrfs-debug-tree +/usr/bin/btrfs-image +/usr/bin/btrfs-show +/usr/bin/btrfs-vol +/usr/bin/btrfsck +/usr/bin/btrfsctl +/usr/bin/btrfstune +/usr/bin/mkfs.btrfs -%if 0%{?for_debugging:1} -/sbin/btrfs-find-root -%{_sbindir}/btrfs-find-root -%{_mandir}/man8/btrfs-find-root.8%{?ext_man} -/sbin/btrfs-select-super -%{_sbindir}/btrfs-select-super -%endif - -%if %{build_static} -%files -n btrfsprogs-static -%defattr(-, root, root) -%{_sbindir}/btrfs.static -%{_sbindir}/btrfs-convert.static -%{_sbindir}/btrfs-image.static -%{_sbindir}/btrfstune.static -%{_sbindir}/btrfsck.static -%{_sbindir}/mkfs.btrfs.static -%{_sbindir}/btrfs-corrupt-block.static -%{_sbindir}/btrfs-find-root.static -%{_sbindir}/btrfs-map-logical.static -%{_sbindir}/btrfs-select-super.static -%endif - -%files -n libbtrfs0 -%defattr(-, root, root) -%{_libdir}/libbtrfs.so.* - -%files -n libbtrfs-devel -%defattr(-, root, root) -%dir %{_includedir}/btrfs -%{_includedir}/btrfs/* -%{_libdir}/libbtrfs.so - -%files -n libbtrfsutil1 -%defattr(-, root, root) -%{_libdir}/libbtrfsutil.so.* - -%files -n libbtrfsutil-devel -%defattr(-, root, root) -%{_includedir}/btrfsutil.h -%{_libdir}/libbtrfsutil.so -%{_libdir}/pkgconfig/libbtrfsutil.pc - -%if %{package_udev_rules} -%files udev-rules -%defattr(-, root, root) -%dir %{_udevrulesdir} -%{_udevrulesdir}/64-btrfs-dm.rules -%{_udevrulesdir}/64-btrfs-zoned.rules -%endif - -%files -n python-btrfsutil -%{python3_sitearch}/* - -%files bash-completion -%defattr(-,root,root) -%dir %{_datadir}/bash-completion -%dir %{_datadir}/bash-completion/completions -%{_datadir}/bash-completion/completions/btrfs +%clean +rm -rf $RPM_BUILD_ROOT %changelog +* Wed Feb 25 2009 dmueller@suse.de +- Initial package (0.18) diff --git a/dracut-fsck-help.txt b/dracut-fsck-help.txt deleted file mode 100644 index c3d939e..0000000 --- a/dracut-fsck-help.txt +++ /dev/null @@ -1,6 +0,0 @@ -Recovery of btrfs file systems is not automated. We suggest you use -'btrfs check --readonly' first to see the if there's any damage and -what's the scope. Logging the output is a recommended for later analysis. - -The option '--repair' must be used with care, be noted that it is -able to fix certain classes of errors but not all of them. diff --git a/mkfs-default-features.patch b/mkfs-default-features.patch deleted file mode 100644 index 0543de6..0000000 --- a/mkfs-default-features.patch +++ /dev/null @@ -1,48 +0,0 @@ -From: Jeff Mahoney -Subject: mkfs: allow site to override defaults -Patch-mainline: Never, a real solution with a config file is required -References: FATE#320615 - -This is a simple method to allow us to set site defaults for mkfs by -adding -include to cflags. - -Signed-off-by: Jeff Mahoney ---- - utils.h | 4 ++++ - 1 file changed, 4 insertions(+) - -Index: btrfs-progs-v6.0/common/fsfeatures.h -=================================================================== ---- btrfs-progs-v6.0.orig/common/fsfeatures.h -+++ btrfs-progs-v6.0/common/fsfeatures.h -@@ -21,7 +21,9 @@ - #include - #include "kernel-lib/sizes.h" - -+#ifndef BTRFS_MKFS_DEFAULT_NODE_SIZE - #define BTRFS_MKFS_DEFAULT_NODE_SIZE SZ_16K -+#endif - - /* - * Since one feature can set at least one bit in either -@@ -44,11 +46,20 @@ struct btrfs_mkfs_features { - #define BTRFS_FEATURE_STRING_BUF_SIZE (160) - - static const struct btrfs_mkfs_features btrfs_mkfs_default_features = { -+#ifndef BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES - .compat_ro_flags = BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE | - BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID, -+#else -+ .compat_ro_flags = BTRFS_MKFS_DEFAULT_RUNTIME_FEATURES , -+#endif -+ -+#ifndef BTRFS_MKFS_DEFAULT_FEATURES - .incompat_flags = BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF | - BTRFS_FEATURE_INCOMPAT_NO_HOLES | - BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA, -+#else -+ .incompat_flags = BTRFS_MKFS_DEFAULT_FEATURES , -+#endif - }; - - /* diff --git a/module-setup.sh.in b/module-setup.sh.in deleted file mode 100644 index 886563b..0000000 --- a/module-setup.sh.in +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -# called by dracut -check() { - return 0 -} - -# called by dracut -depends() { - return 0 -} - -# called by dracut -install() { - inst_fsck_help "btrfs" "@@INSTALLDIR@@/dracut-fsck-help.txt" -} - diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4 diff --git a/setup-btrfs.sh b/setup-btrfs.sh deleted file mode 100644 index 8cbe45c..0000000 --- a/setup-btrfs.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# -#%stage: filesystem - -mkdir -p $tmp_mnt/etc/udev/rules.d -cp /usr/lib/udev/rules.d/64-btrfs.rules $tmp_mnt/etc/udev/rules.d