Re: extfs: make the open_archive stat() optional

2002-12-10 Thread Pavel Roskin
Hello! > > The right solution would be to avoid mc_stat() in the "archiveless" > > filesystems. > > Here is the patch. It checks the archive existence only when the extfs.ini > says that it should need it. But it sends the archive filename to the > script regardless to the 'archive need' setting.

Re: extfs: make the open_archive stat() optional

2002-12-09 Thread Standa Opichal
Hi there! On Fri, 6 Dec 2002, Pavel Roskin wrote: > The right solution would be to avoid mc_stat() in the "archiveless" > filesystems. Here is the patch. It checks the archive existence only when the extfs.ini says that it should need it. But it sends the archive filename to the script regardl

Re: extfs: make the open_archive stat() optional

2002-12-08 Thread Standa Opichal
Hi! On Fri, 6 Dec 2002, Pavel Roskin wrote: > Your patch derives the properties of the filesystem from the existence of > a file with a certain name. That the wrong approach. The properties of > an extfs filesystem are encoded in the corresponding script. The correct way would be to ask the sc

Re: extfs: make the open_archive stat() optional

2002-12-06 Thread Pavel Roskin
Hello! > Here is a patch that removes the need of the ':' within the extfs.ini and > also handles the stat() failure conveniently. This patch makes the code less reliable. We know that some filesystems always need a valid archive and some filesystems never need it. There are no filesystems that

extfs: make the open_archive stat() optional

2002-12-06 Thread Standa Opichal
Hi! Here is a patch that removes the need of the ':' within the extfs.ini and also handles the stat() failure conveniently. regards STan mc.no.colon.patch.gz Description: GNU Zip compressed data