Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#50 cscope should use /var/tmp, instead of /tmp

closed-rejected
nobody
None
5
2012-12-21
2012-12-20
Daniel Yek
No

Fedora 18 Beta was mounting tmpfs on /tmp to, hopefully, reduce disk I/O and extend the life of SSD disks.

Since tmpfs was very limited in size, cscope ran out of space while indexing larger source tree.

I had to use:
TMPDIR=/var/tmp cscope -b -q -k
to enable cscope to complete its indexing.

I think cscope should consider storing temp files in /var/tmp.

Please visit the following URLs for more information:

https://fedoraproject.org/wiki/Features/tmp-on-tmpfs

https://bugzilla.redhat.com/show_bug.cgi?id=826015

http://0pointer.de/blog/projects/tmp.html

https://fedorahosted.org/fesco/ticket/940

Discussion

  • I have to refuse the notion that this is a bug. For starters, /tmp has been the official place for such files since the dawn of time. If distributors decide to break that now, that's their fault, not cscope's.

    Second, there already is a simple, effective and documented way to get around this: cscope respects $TMPDIR. Case closed.

     
    • status: open --> closed-rejected