Article 5H24E Full install now takes 16GB (amd64)

Full install now takes 16GB (amd64)

by
notzed
from LinuxQuestions.org on (#5H24E)
I was bored last night and wanted to play with qemu and have a look at some of the stuff I don't use like plasma (much better than the last kde but still a bit pants).

I created a 16GB cow2 disk and booted from the usb install image. I setup a single partition (no swap) and ran through a full install using defaults from my local mirror of slackware64-current. It installed fine but when starting up kde it warned me of a full disk. I was surprised to see 100% usage in df - although there was still a few hundred megabytes left.

The biggest package is grub2 but that's a bug fixed in 2.06 which is still in beta. Next are kernel-source, rust, and kernel-firmware.

Anyway I just thought it was a point of interest.

PS little perl script to find installed package sizes. Handles hardlinks but assumes one filesystem.

Code:#!/usr/bin/perl

$root='/';
$pkgs='/var/log/packages';
my %inodes;

opendir(DIR,$pkgs);
while (my $name = readdir(DIR)) {
next if ($name =~ m/^\./);

#print $name."\n";
open (PKG, $pkgs.'/'.$name);
while (my $line = <PKG>) {
last if ($line =~ m/^FILE LIST:/);
}
my $total = 0;
while (my $path = <PKG>) {
chop $path;
next if ($path =~ m@/$|^install@);
my @s = lstat($root.$path);

$total += $s[7] if !defined $inode{$s[1]};
$inode{$s[1]} = 1;
}
print $total."\t".$name."\n";
close(PKG);
}
closedir(DIR);latest?d=yIl2AUoC8zA latest?i=O86SUyLQpdU:gLaRw41KoyM:F7zBnMy latest?i=O86SUyLQpdU:gLaRw41KoyM:V_sGLiP latest?d=qj6IDK7rITs latest?i=O86SUyLQpdU:gLaRw41KoyM:gIN9vFwO86SUyLQpdU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments