From: Terje Kvernes <terjekv@math.uio.no>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] portage and full devices.
Date: 29 Sep 2002 03:35:59 +0200 [thread overview]
Message-ID: <wxx8z1linls.fsf@nommo.uio.no> (raw)
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
next reply other threads:[~2002-09-29 1:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-29 1:35 Terje Kvernes [this message]
2002-09-29 15:23 ` [gentoo-dev] portage and full devices Grant Goodyear
2002-09-29 21:13 ` Terje Kvernes
2002-09-29 21:18 ` Terje Kvernes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wxx8z1linls.fsf@nommo.uio.no \
--to=terjekv@math.uio.no \
--cc=gentoo-dev@gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox