Skip to contentSkip to conversation

reiserfsprogs: lib/misc.c: why die() aborts?

DISCUSSION Domenico Andreoli 5 participants 6 messages Mar 20, 2004 – Mar 22, 2004

lore
Share & tools
lore
#0 lore raw

hi all,

in trying to figure out what is the unpack program in reiserfsprogs and if it supposed to be distributed in the debian package, i came to the function die() in lib/misc.c.

i'm seeing it regularly aborts the execution instead of using the usual exit(EXIT_FAILURE). shouldn't it be more polite or it is not for public use?

what is unpack supposed to do?

cheers
domenico

-----[ Domenico Andreoli, aka cavok
--[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50

#1 lore raw

Hi

Quoted 4 lines · Domenico Andreoli

hi all,

in trying to figure out what is the unpack program in reiserfsprogs and if it supposed to be distributed in the debian package,

No, it should not be distributed

Quoted 9 lines

i came to
the function die() in lib/misc.c.

i'm seeing it regularly aborts the execution instead of using the usual exit(EXIT_FAILURE). shouldn't it be more polite or it is not for public use?

what is unpack supposed to do?

It is used for reiserfsprogs debugging

Quoted 7 lines

cheers
domenico

-----[ Domenico Andreoli, aka cavok
--[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50

#2 lore raw
Quoted 10 lines · Vladimir Saveliev

Hi

Quoted 4 lines · Domenico Andreoli

hi all,

in trying to figure out what is the unpack program in reiserfsprogs and if it supposed to be distributed in the debian package,

No, it should not be distributed

Hmmm, I disagree. Normal users can use debugreiserfs -p and unpack to do test rebuilds on copies of broken filesystems when they are rebuilding critical data.

-chris

#3 lore raw

Hello

Quoted 6 lines · Chris Mason
Quoted 5 lines · Vladimir Saveliev

Hi

Quoted 2 lines · Domenico Andreoli

hi all,

Quoted 9 lines
Quoted 5 lines
Quoted 2 lines

in trying to figure out what is the unpack program in reiserfsprogs and if it supposed to be distributed in the debian package,

No, it should not be distributed

Hmmm, I disagree. Normal users can use debugreiserfs -p and unpack to do test rebuilds on copies of broken filesystems when they are rebuilding critical data.

Ok, but then we should rename it to better name. reiserfs_unpack, for example

Quoted 4 lines

-chris

#4 lore raw
Quoted 30 lines · Vladimir Saveliev

Hello

Quoted 14 lines · Chris Mason
Quoted 11 lines · Vladimir Saveliev

Hi

Quoted 6 lines · Domenico Andreoli

hi all,

in trying to figure out what is the unpack program in reiserfsprogs and if it supposed to be distributed in the debian package,

Quoted 10 lines
Quoted 4 lines

No, it should not be distributed

Hmmm, I disagree. Normal users can use debugreiserfs -p and unpack to do test rebuilds on copies of broken filesystems when they are rebuilding critical data.

Quoted 4 lines

Ok, but then we should rename it to better name. reiserfs_unpack, for example

or reiserfs_unpack_metadata_bundle

Quoted 13 lines
Quoted 8 lines

-chris

Signature · 1 line
Hans
#5 lore raw
In reply to Vladimir Saveliev
Quoted 12 lines · Vladimir Saveliev

Hello

Quoted 9 lines · Chris Mason
Quoted 8 lines · Vladimir Saveliev

Hi

Quoted 4 lines · Domenico Andreoli

hi all,

in trying to figure out what is the unpack program in reiserfsprogs and if it supposed to be distributed in the debian package,

Quoted 8 lines
Quoted 5 lines
Quoted 1 line

No, it should not be distributed

Hmmm, I disagree. Normal users can use debugreiserfs -p and unpack to do test rebuilds on copies of broken filesystems when they are rebuilding critical data.

Ok, but then we should rename it to better name. reiserfs_unpack, for example

ok, I will add the option 'unpack' in debugreiserfs instead of the unpack program.

Signature · 2 lines
Thanks,
Vitaly Fertman