On Tue, Sep 3, 2013 at 10:01 AM, Douglas J Hunley <doug.hun...@gmail.com> wrote:
>
> On Sun, Sep 1, 2013 at 1:30 PM, Canek Peláez Valdés <can...@gmail.com>
> wrote:
>>
>> • If /usr/src/linux points to /usr/src/linux-3.10.10, then the script
>> deletes /boot vmlinuz-3.10.10, /boot/initrd-3.10.10 *and*
>> /lib/modules/3.10.10.
>
>
> Why not call 'eclean-kernel' instead of reinventing here?

Oh, I didn't knew about eclean-kernel until you mentioned it. But the
script does something completely different to eclean-kernel (If I
understood correctly by reading its home page).

eclean-kernel cleans *older* versions of kernel.s The part of the
script you responded to deletes the kernel, initramfs and modules
which have the same version as the kernel to which /usr/src/linux
points to.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to