Skip to contentSkip to conversation

EVMS Reiser FSIM

DISCUSSION Steve Pratt 2 participants 3 messages May 31, 2002 – Jun 3, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Oleg Drokin

On Thu, May 30, 2002 at 12:14:03PM -0500, Steve Pratt wrote:

Ok, I had a look into the CVS and I have few comments.

First is that mkfs output might exceed 10k buffer you have assigned to it, and if messages that mkfs print would exceed 10k+pipe buffer size, then mkfs process would block and you'd never get it to return

Actually, I wasn't doing any read until after the completion of mkfs, so all it had to do is exceed the pipe buffer. Good catch.

Quoted 2 lines

(and I do not see you have any way to exit on timeout or send a signal to hung process on timeout).

Correct, I have no way to calculate a timeout. This would be true even if we move to library calls. I just have to hope reiserfs utilities never hang. :-)

Quoted 1 line

Then I believe Hans asked you to display credits not only for reiserfsck,

but

Quoted 1 line

also for mkreiserfs. (and other reiserfs utilities if you run them).

Yes. I'll look at adding something, but I don't want another pop-up on mkfs. We have had some complaints about too many as it is. I'll see if I can add something to the options panel. Is there some specific information you want displayed besides the version?

Quoted 4 lines

Also just a note, you can return your own errors as negative exit codes and pass utilities exit codes as it is.
So if the exit code of child process is bigger than 128, you can substract this value from 255 and decide what error was caused that tool was not

run.

Quoted 1 line

Also you'd avoid a clash between EPERM vs FSCK_CORRECTED this way.

Will look into this.

Quoted 2 lines

Ah, and please change recommended version of reiserfsprogs to 3.x.1b, because 3.x.1a is not recommended in fact and have some known problems.

Done.

Thanks, Steve

#1 lore raw

Hello!

Quoted 5 lines · Steve Pratt
Quoted 2 lines

(and I do not see you have any way to exit on timeout or send a signal to hung process on timeout).

Correct, I have no way to calculate a timeout. This would be true even if we move to library calls. I just have to hope reiserfs utilities never hang. :-)

Timeouts are easy. you might even use alarm()+catch SIGALARM.

Quoted 7 lines
Quoted 1 line

Then I believe Hans asked you to display credits not only for reiserfsck,

but

Quoted 1 line

also for mkreiserfs. (and other reiserfs utilities if you run them).

Yes. I'll look at adding something, but I don't want another pop-up on mkfs. We have had some complaints about too many as it is. I'll see if I can add something to the options panel. Is there some specific information you want displayed besides the version?

I believe Hans want Credits to be displayed.
You can discuss with him whenever he'll be satisfied by some other means

Bye,
Oleg

#2 lore raw
In reply to Steve Pratt

Hello!

On Fri, May 31, 2002 at 12:03:18PM -0500, Steve Pratt wrote:

I've spent some time today trying to get current EVMS version to run and see what is it (live) but failed miserably.
2.4.18 kernel files for 2.4.18 cannot be compiled at all and are horribly broken in some ways.
2.5.11 kernel files can be compiled with 2.5.11, but then evmsgui complained that while kernel's ioctl is version 11, evms gui is expecting ioctl version 10.

Any advices on how can outside man look into current state of things on evms without waiting for new release for several weeks?

Thank you.

Bye,
Oleg