[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: exit() on low diskspace
From:       Andreas Gungl <a.gungl () gmx ! de>
Date:       2001-08-01 20:47:23
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 01 August 2001 20:28, Carsten Pfeiffer wrote:
> On Wed, Aug 01, 2001 at 06:39:42PM +0200, Marc Mutz wrote:
> > No, it is not. Suppose root is doing a
> > tar xfz some-big.tar.gz
> > on the /home filesystem and fills it up to
> > over 95% temporarily. A normal user can't use any blocks that are in
> > the reserved space for root. So if the user unlinks a 100k file and
> > root is more that 100k over the 95% mark, then the user will not be
> > able to reclaim the 100k he just freed. You can use mmap, though, to
> > overwrite the 100k file or open the file for appending, seek back to
> > pos 0 and start writing (?).
>
> root is not supposed to fill up your /home :) I hope you do have a
> separate partition for that!

Maybe Marc has, but we should think about the average home user, which is 
new to KDE and has just converted from ***.

I don't think it's worth the effort. If we *can* show a message box telling 
the user that he's guilty because of exhausted disk space, than this would 
be a working solution for me.

Andreas

> In any case, this is just an attempt to solve the situation gracely, if
> you can't write to /tmp nor to /home, well, there's not much left you can
> do.
>
> PS: no need to CC me, I'm still subscribed.
>
> Cheers
> Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7aGrjVhjiFd4beU8RAp4TAJ4i6aAQTtuDiWdURD/kfzTme9FV5QCgjeNU
AaLh2p4EEQFPMSBP7t58V0I=
=TMZq
-----END PGP SIGNATURE-----
_______________________________________________
Kmail Developers mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic