Does your cups clean up after itself?

Mike McCarty Mike.McCarty at sbcglobal.net
Wed Dec 6 04:04:57 UTC 2006


Jim Cornette wrote:
> Sam Varshavchik wrote:
> 
>> Currently, my contents of /var/spool/cups on FC6 are:
>>
>> [root at commodore cups]# ls -al
>> total 224
>> drwx--x---  3 root lp   4096 Dec  4 22:04 .
>> drwxr-xr-x 17 root root 4096 Oct 29 14:36 ..
>> -rw-------  1 root lp    686 Oct 28 17:38 c00001
>> -rw-------  1 root lp    686 Oct 28 17:39 c00002
>> -rw-------  1 root lp    686 Oct 28 17:41 c00003
>>
>> […]
>>
>> -rw-------  1 root lp    713 Dec  4 19:41 c00048
>> -rw-------  1 root lp    713 Dec  4 19:44 c00049
>> -rw-------  1 root lp    728 Dec  4 22:04 c00050
>> drwxrwx--T  2 root lp   4096 Nov 22 07:17 tmp
>>
>>
>> Oct 28 was when this machine was upgraded to FC6, and it's been 
>> rebooted several times since then. Looks like cups doesn't clean up 
>> after itself. Before I bugzilla this, can anyone look into their 
>> /var/spool/cups to see if cups cleans up its files?
>>
>>
>>
> 
> I have the below and no outstanding print jobs outstanding.
> 
> Jim
> 
>  ls -la /var/spool/cups
> total 80
> drwx--x---  3 root lp   4096 Dec  1 18:55 .
> drwxr-xr-x 15 root root 4096 Oct 10 18:06 ..
> -rw-------  1 root lp    649 Nov  3 20:05 c00054
> -rw-------  1 root lp    663 Nov  3 20:22 c00055
> -rw-------  1 root lp    665 Nov  7 06:20 c00056
> -rw-------  1 root lp    663 Nov  7 06:39 c00057
> -rw-------  1 root lp    663 Nov  7 06:45 c00058
> -rw-------  1 root lp    723 Nov 28 21:43 c00059
> -rw-------  1 root lp    711 Dec  1 18:55 c00060
> drwxrwx--T  2 root lp   4096 Dec  1 18:55 tmp


# lpq -a
no entries
# ls /var/spool/cups | wc
     501     501    3504

This is with FC2, though. I've often wondered whether I couldn't
just delete all those files.

Mike
-- 
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!




More information about the fedora-list mailing list