problems with mc / version from SuSE 9.3

Dieter Jurzitza dieter.jurzitza at t-online.de
Wed May 25 20:26:48 UTC 2005


Dear listmembers,
recently I had an overful root fs that had been caused by mc. The reason for 
this:
(my?) mc did not clean the directories /tmp/mc-<USERNAME> from waste. If I was 
downloading significant amounts of data from a ftp-website or looking into 
rpm-archives huge amounts of data are created and are not deleted 
appropriately when mc is left.
I then found out that there are two wrapper scripts that are in charge to 
actually call mc - what I think is somewhat problematic. If somebody decides 
to create an icon for mc on the desktop he will in general use /usr/bin/mc 
directly and hardly look for /usr/share/mc/bin/mc-wrapper.
If people use different shells than csh or sh those wrappers do not help at 
all, too.
However, my main concern is to get rid of all the waste in the tmp-directory 
when quitting mc. So I wrote a wrapper that (for me ..) seems to take care of 
this.
I send a patch for the wrapper (I replace /usr/bin/mc by the wrapper and move 
mc to /usr/bin/mc.bin) that does this job for me, maybe someone is willing to 
give me a commentary on this, maybe even better someone can tell me the 
benefit of the two wrappers currently in use - not cleaning up the leftovers 
in the temporary directory.

Many thanks for your inputs,
take care



Dieter Jurzitza

-- 
-----------------------------------------------------------

                               |
                                \
                 /\_/\           |
                | ~x~ |/-----\   /
                 \   /-       \_/
  ^^__   _        /  _  ____   /
 <°°__ \- \_/     |  |/    |  |
  ||  ||         _| _|    _| _|

if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mc-4.6.1-wrappbin.patch
Type: text/x-diff
Size: 1012 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20050525/e5300cbb/attachment.patch>


More information about the mc-devel mailing list