public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] portage and full devices.
@ 2002-09-29  1:35 Terje Kvernes
  2002-09-29 15:23 ` Grant Goodyear
  0 siblings, 1 reply; 4+ messages in thread
From: Terje Kvernes @ 2002-09-29  1:35 UTC (permalink / raw
  To: gentoo-dev

  the last few times my /usr has gone full while merging a package
  portage has done two things that scare me a bit:

   1) portage has done partial installs, parts of the package made it
      to the device, other parts of the package, didn't.
   2) the package gets listed as installed.

  are there any plans on fixing this anytime soon?  the solution is,
  as far as I can see, to check the size of the build-tree and see if
  there is enough space on the target device for the install to go
  through.  it does get tricky if the user uses symlinks or seperate
  partitions under the target root though.  one would probably have to
  check every directory the build-tree would install to, and mapping
  disk usage against the device that directory is on.  something like:

we're going to install as follows:

/usr/bin      2M
/usr/lib      2M
/usr/share   10M

  portage checks which device all of these are on, and gets told that
  /usr/bin and /usr/lib are on the same device (let's say /dev/hda3
  for short), but that /usr/share is somewhere else.  then we need 4M
  on /dev/hda3 and 10M where /usr/share is located.  does this sound
  doable?

-- 
Terje


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-29 21:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-29  1:35 [gentoo-dev] portage and full devices Terje Kvernes
2002-09-29 15:23 ` Grant Goodyear
2002-09-29 21:13   ` Terje Kvernes
2002-09-29 21:18     ` Terje Kvernes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox