NetBSD-Users archive

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

Re: /usr/pkg on its own partition?



On August 18, 2015 4:33:11 AM EDT, Ottavio Caruso <ottavio2006-netbsd%yahoo.com@localhost> wrote:
>Hello,
>
>is it good practice to have /usr/pgk on its own partition? Would it
>make easier when upgrading a whole system?
>
>Or is it  better to have the whole of /usr on its own?
>
>If anybody has got a full desktop installation working, how much does
>/usr/pkg take as a percentage of the whole system?
>
>Thanks

As you might expect this depends greatly on how many packages you install and what you consider a "full desktop".  All of KDE, or just xmonad and a few tools?  I believe you can get a package+dependencies size out of pkg_info (or just look directly at the "+SIZE_ALL" file), so if you've got a good set of packages in mind that you want to use, you can probably estimate it based on that.  I'd guess at least 20GB.
Unfortunately the meta-pkgs/kde4 package doesn't actually exist on ftp.netbsd.org (why? No idea), so it's not so easy :(

I wouldn't worry too much about having /usr/pkg be a separate filesystem.  You can always "rm -rf" it (and /var/db/pkg) if you want to clear it out, and unless you're planning on doing that more than weekly it doesn't take all that long.

Eric



Home | Main Index | Thread Index | Old Index