Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#69746 - [libguestfs] zerofree missing in guestfish

Attached to Project: Community Packages
Opened by Prem Anand (hprem) - Tuesday, 23 February 2021, 16:26 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 23 February 2021, 16:38 GMT
Task Type Feature Request
Category Packages
Status Assigned
Assigned To Robin Broda (coderobe)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 1
Private No

Details

Description:
On trying to run zerofree within guestfish, we see the error "'zerofree' is not available in this build of libguestfs"

Seems that zerofree is not supported. Please support this

❯ guestfish -a /dev/null run : supported
acl yes
augeas yes
blkdiscard yes
blkdiscardzeroes yes
btrfs yes
extlinux yes
f2fs yes
fstrim yes
gdisk yes
grub yes
hivex yes
inotify yes
journal yes
ldm yes
libtsk yes
libyara yes
linuxcaps yes
linuxfsuuid yes
linuxmodules yes
linuxxattrs yes
luks yes
lvm2 yes
mdadm yes
mknod yes
ntfs3g yes
ntfsprogs yes
realpath yes
rsync yes
scrub no
selinux no
selinuxrelabel no
sleuthkit yes
squashfs yes
syslinux yes
wipefs yes
xfs yes
xz yes
zerofree no <===<<< zerofree is claimed to be unsupported


Additional info:
* package version(s)

❯ pacman -Q libguestfs
libguestfs 1.42.0-5


Steps to reproduce:

❯ guestfish --rw -a /dev/null <<EOF
run
zerofree /dev/sda1
quit
EOF

*stdin*:2: libguestfs: error: zerofree: feature 'zerofree' is not available in this
build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for
how to check for the availability of features.

This task depends upon

Comment by Toolybird (Toolybird) - Wednesday, 24 February 2021, 21:24 GMT
zerofree is currently in the AUR. Unless it moves to [community], Arch libguestfs cannot officially support it.

Loading...