Getting rid of "disk almost full" message
Edward M. Markowski
emm at iczer-1.UUCP
Sat Mar 30 12:59:13 AEST 1991
In article <1991Mar29.004838.856 at ceilidh.beartrack.com> dnichols at ceilidh.beartrack.com (DoN Nichols) writes:
> Does anyone know whether smgr checks for absolute space remaining,
>or for a percentage of space remaining, as the warning in the /etc/profile
>does.?
>
> I'd prefer a tunable absolute value, which was read from a file set
>up by the user, defining the number of free blocks at which he would get the
>warning. It could do like cron, and check if the file has been modified
>since last read, rather than re-reading at each check. I know that edf
>(which I use) gives a nicer report format, but if we have to have smgr
>running, can't we have it reporting according to the limits WE want enforced?
I do not know if don't think my first post about this got off this site.
I have not tried this yet, but it seems that it might work. Rename
/dev/error to something else recreate /dev/error as a named pipe. Write
a small program to read the error device and write the records into the
named pipe. If this will work the new program can be used as a filter
for the "disk almost full" message and any other for that matter. I will
see if I can get something like this running and post results.
--
-------------------------------------------------------------------------------
Edward M. Markowski -- iczer-1 Administrator
...the garage is flooded from the sprinkler.
VOICE : (201) 478-6052 It also left a man's decapitated body, lying
UUCP : ..!uunet!iczer-1!emm on the floor next to his own severed head.
-or- : ..!tronsbox!iczer-1!emm A head which at this time has no name.
More information about the Comp.sys.3b1
mailing list