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

List:       kmail-devel
Subject:    Re: exit() on low diskspace
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-08-01 18:28:12
[Download RAW message or body]

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!

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
_______________________________________________
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