Comment 2 for bug 22842

Revision history for this message
Mantas Kriaučiūnas (mantas) wrote : Re: Many programs misbehave when running out of disk space

Free space issue is critical to lots of users, because gdm doesn't work when there are no free space on /tmp and don't offer a usable solution for regular user how to free some space in volume.

I've found a good solution for this gdm problem in gnome bugzilla and described it in bug #41170 - gdm should create place-holder file of needed size (for example ~200 kb) in /tmp after gdm starts (and display a warning message if there are no enough space for creating such file) and erase this file in /tmp before gdm starts.

Also there will be similar problems, if user fills up /home partition - this problem also could be solved by creating placeholder file:
gnome-session should check for free space during login and create place-holder file (for example ~0.5 Mb) if there are enough space and display a warning message if there are less than ~1 Mb free space (gdm could erase place-holder file in user's home, created by gnome-session
when user starts to login)

If gnome-session detects, that there are not enough free space in /home for normal work, then it should not also display a warning, but also to offer solution, how to free some space, in this case *baobab* utility (included in gnome-utils 2.16) could be usefull.

Maybe I should report a bug against gnome-session package?