[Prev][Next][Index][Thread]
Re[2]: man pages
"Shlomo Solomon" <solomon@shani.net> wrote:
> >Run `man -w gcc'
> > If it's truncated, delete it and man will recreate it next time you
> >run it
>
> Thanks - you were right. Many of the files in the *cat1* directory
> were bad - length 20 bytes each. I deleted them all and now I can use
> *man* but do you know what could have caused the problem ? I don't
> like fixing a problem without knowing what really happend.
Not enough space => man creats 0-length file, gzip's it and you get that
20-byte file (22, to be exact - just gzip magic header).
> Also, I discovered that I can only use *man* when I'm logged in as
> *root*. In another login, I get the following message:
>
> gzip: stdout: No space left on device
> Error excecuting formatting or display command
> System command exited with status 256.
>
> The problem is NOT space, because the *man* program works fine from
> *root*. I also checked the permission of the *cat1* directory and
> it's "drwxrwxrwx" so I don't know what the problem is.
The problem IS space. Do `df /usr/cat' to verify. Ext2 filesystem
reserves some amount of disk space (5% by default) for superuser. You
can change it while formatting device using `-m' option of mke2fs or
further, using the `tune2fs' utility. But it's genereally a wise idea to
leave that extra space on an active partition - OS needs to write to
tmp, spool etc for normal operation. So even if you (as a user) exhaust
all available disk resources, the system won't crash or misbehave in
some way. And it lets the superuser to perform some important tasks like
recompiling kernel in such a critical situation.
Regards,
Evgeny
____________________________________________________________
/ Evgeny Stambulchik <fnevgeny@plasma-gate.weizmann.ac.il> \
/ Plasma Laboratory, Weizmann Institute of Science, Israel \ \
| Phone : (972)8-9343-610 == | == FAX : (972)8-9344-106 | |
| URL : http://plasma-gate.weizmann.ac.il/~fnevgeny | |
| Finger for PGP key >=====================================+ |
|______________________________________________________________|
References: