void-packages

Void Source Packages
git clone git://ezup.dev/void-packages.git
Log | Files | Refs | README | LICENSE

vkpurge.8 (1425B)


      1.Dd April 6, 2019
      2.Dt VKPURGE 8
      3.Os
      4.Sh NAME
      5.Nm vkpurge
      6.Nd remove old kernel files/modules
      7.Sh SYNOPSIS
      8.Nm
      9.Cm list
     10.Op Ar version
     11.Nm
     12.Cm rm all
     13.Nm
     14.Cm rm
     15.Ar version ...
     16.Sh DESCRIPTION
     17The
     18.Nm
     19utility lists and removes removable kernel versions left
     20behind by
     21.Xr xbps-install 1
     22and
     23.Xr xbps-remove 1 .
     24.Nm
     25runs the appropriate removal hooks and deletes the kernel,
     26modules and other miscellaneous files.
     27.Pp
     28.Nm
     29only lists or removes kernel versions that are:
     30.Bl -bullet -compact
     31.It
     32not currently booted.
     33.It
     34not provided by any installed xbps package.
     35.El
     36.Pp
     37The
     38.Ar version
     39arguments support
     40.Xr sh 1
     41pattern matching.
     42.Pp
     43The following commands are available:
     44.Bl -tag -width 4n
     45.It Ic list Op Ar version
     46List removable kernel versions.
     47Optionally list only versions matching
     48.Ar version .
     49.It Ic rm all
     50Remove all removable kernel versions.
     51.It Ic rm Ar version ...
     52Remove all removable kernel versions matching
     53.Ar version .
     54.El
     55.Sh EXIT STATUS
     56.Ex -std
     57.Sh EXAMPLES
     58The following command lists installed kernels matching a pattern.
     59.Bd -literal -offset indent
     60$ vkpurge list '4.18.*'
     61.Ed
     62.Pp
     63The following command will delete the kernel versions matching the pattern and a specified version.
     64.Bd -literal -offset indent
     65# vkpurge rm '2.6.*' 4.3.4_1
     66.Ed
     67.Sh SEE ALSO
     68.Xr xbps-install 1 ,
     69.Xr xbps-remove 1
     70.Sh BUGS
     71There is no support for all kernels. Specific series, like rpi-kernel, are not
     72supported yet.