Hello everybody,

I have a ftp -server. I use a harddisk of  9 Gb for the ftp-directory.

This isn't very big so I want to throw away the oldest file if the disc is full.

I can write a cronjob that checks every minute. But isn't there another solution; Can't I just write a C program that listens to some systemcalls and automatically deletes the oldest file if the harddisk is full???

I hope someone can help me?


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to