Re: [lorax] Don't use --allbut for xfsprogs cleanup (#804779)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/11/12 1:52 AM, Martin Gracik wrote:
> ---
>  share/runtime-cleanup.tmpl |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
> index 9e083dc..865fd73 100644
> --- a/share/runtime-cleanup.tmpl
> +++ b/share/runtime-cleanup.tmpl
> @@ -344,7 +344,8 @@ removefrom util-linux --allbut \
>      /usr/bin/logger
>  removefrom volume_key-libs /usr/share/locale/*
>  removefrom wget /etc/* /usr/share/locale/*
> -removefrom xfsprogs --allbut /usr/sbin/{fsck.xfs,mkfs.xfs,xfs_repair} /usr/sbin/xfs_{admin,check,copy,db}
> +removefrom xfsprogs /usr/sbin/xfs_{bmap,estimate,freeze,fsr,growfs,info,io,logprint,mdrestore,metadump,mkfile,ncheck,quota,rtcp}
> +removefrom xfsprogs /usr/share/locale/*
>  removefrom xkeyboard-config /usr/share/locale/*
>  removefrom xorg-x11-drv-intel /usr/${libdir}/libI*
>  removefrom xorg-x11-drv-openchrome /usr/${libdir}/libchrome*

Thanks for fixing this!

If the goal is to have rescue or analysis tools in the root, I might suggest leaving a few more in:

xfs_metadump
xfs_mdrestore

These are just shell scripts around the (existing) xfs_db which can manipulate metadata images for later analysis

xfs_growfs

useful for growing a filesystem, but it's a larger binary, so not a big deal if there's no room.

xfs_info

prints fs geometry details, but requires xfs_growfs

xfs_quota

for reading/modifying quotas; might be useful?

In general perhaps we should look at the other fs utilities and keep available functionality relatively on par for each one - i..e fs resizing for all or none, repair/fsck & mkfs are certainly in, debuggers for all or none, etc.

-Eric

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux