Package Details: btrfsmaintenance 0.5-2

Git Clone URL: https://aur.archlinux.org/btrfsmaintenance.git (read-only, click to copy)
Package Base: btrfsmaintenance
Description: btrfs maintenance scripts
Upstream URL: https://github.com/kdave/btrfsmaintenance
Licenses: GPL2
Conflicts: btrfsmaintenance-git
Submitter: ImNtReal
Maintainer: calebmckay
Last Packager: calebmckay
Votes: 29
Popularity: 1.48
First Submitted: 2016-05-26 14:10 (UTC)
Last Updated: 2021-11-10 04:25 (UTC)

Latest Comments

« First ‹ Previous 1 2

willemw commented on 2021-10-30 09:14 (UTC)

conflicts=(btrfsmaintenance-git) is not necessary. (From the Wiki: "..., you do not need to specify that conflicting package in your conflicts array".)

calebmckay commented on 2020-12-21 23:31 (UTC)

I have updated the pkgbuild. Should now be consistent with btrfsmaintenance-git and the source project.

calebmckay commented on 2020-12-09 20:24 (UTC)

I agree. I am not sure why the services were removed. Frankly, I think the install should follow the upstream guide, like the git package does, regardless of what btrfs-progs does. I'll fix it and update as soon as I get a few minutes to test.

jlp2 commented on 2020-11-26 10:04 (UTC) (edited on 2020-11-26 10:05 (UTC) by jlp2)

In my opinion, there is something wrong with the package. Why aren't the scrub timer and service installed? Balance timer and service are also missing.

It is true that there is a scrub timer in the btrfs-progs package, but this cannot be controlled via /etc/default/btrfsmaintenance.

The activation of the timer via btrfsmaintenance-refresh also fails.

The btrfsmaintenance-git package works as expected. Perhaps the PKGBUILD should be changed accordingly.

Shished commented on 2020-01-08 15:01 (UTC) (edited on 2020-01-08 15:02 (UTC) by Shished)

Upstream was updated to 0.4.2

https://github.com/kdave/btrfsmaintenance/commit/cf421fcadbbad9665ce3d14cba7d673d9386346d

Can you update the pkgbuild?

Andrea993 commented on 2017-06-27 16:44 (UTC) (edited on 2017-06-27 16:45 (UTC) by Andrea993)

Miss some file with bobpaul's pkgbuild sudo ./btrfs-balance.sh ./btrfs-balance.sh: line 23: /usr/share/btrfsmaintenance/btrfsmaintenance-functions: No such file or directory

bobpaul commented on 2017-05-28 19:52 (UTC)

Here's an updated pkgbuild: pkgname=btrfsmaintenance pkgver=0.3.1 pkgrel=1 pkgdesc='btrfs maintenance scripts' arch=('any') url='https://github.com/kdave/btrfsmaintenance' license=('GPL2') depends=('bash') conflicts=("${pkgname}-git") source=("https://github.com/kdave/btrfsmaintenance/archive/v${pkgver}.tar.gz") sha256sums=('e2f6a6cd433a38407c580630e3f4a0c4747390f0e129d5c9d0f91ec461cfb855') package() { cd "${srcdir}/${pkgname}-${pkgver}" install -dm 0755 "${pkgdir}/usr/share/btrfsmaintenance" install -dm 0755 "${pkgdir}/usr/lib/systemd/system" install -dm 0755 "${pkgdir}/etc/default" install -m 0755 btrfs-balance.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-balance.sh" install -m 0755 btrfs-defrag.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-defrag.sh" install -m 0755 btrfsmaintenance-refresh-cron.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh" install -m 0755 btrfs-scrub.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-scrub.sh" install -m 0755 btrfs-trim.sh "${pkgdir}/usr/share/btrfsmaintenance/btrfs-trim.sh" #and any other *.sh install -m 0755 sysconfig.btrfsmaintenance "${pkgdir}/etc/default/btrfsmaintenance" install -m 0644 README.md "${pkgdir}/usr/share/btrfsmaintenance/README.md" install -m 0644 btrfsmaintenance-refresh.service "${pkgdir}/usr/lib/systemd/system/btrfsmaintenance-refresh.service" }

longranger commented on 2016-07-16 09:04 (UTC)

This does not install a copy of the sysconfig.btrfsmaintenance file, which seems necessary for use.