how to undelete files?

Hi everybody.

I’m currently having something which looks like a big problem : I deleted
files that I didn’t want to!
Is there any way to recover them, something like the ‘UNDELETE’ MS-DOS
program? I know there is a command called ‘unrm’ on some unix systems, but
it seems it’s not the case on QNX, or maybe i’m doing something wrong.
I would really appreciate if someone could give me some help. And I
apologize but I’m not a UNIX and QNX expert, so give me understandable
advices.

thx in advance
malv


__________________________________________________________________ Malv
ICQ#: 44991708 Current ICQ status: + More ways to contact me


Good morning,

Depends on which files you wiped. Binaries and libaries that came with QNX
will be spilled… If this is the case, you can then use pkgctl -r to recover
the file.

eg
bhlady @ ~ → cd /x86/boot/sys/
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp
bios16m.boot ipl-sc400_ext procnto-smp-instr
ipl-diskpc1 ipl-win95 startup-bios
ipl-diskpc1-flop nobios.boot startup-sc400
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys → op rm -f procnto-smp
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp-instr
bios16m.boot ipl-sc400_ext startup-bios
ipl-diskpc1 ipl-win95 startup-sc400
ipl-diskpc1-flop nobios.boot
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys → op pkgctl -r /x86/boot/sys/procnto-smp
[/x86/boot/sys/procnto-smp] has been recovered. Check contents.
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp
bios16m.boot ipl-sc400_ext procnto-smp-instr
ipl-diskpc1 ipl-win95 startup-bios
ipl-diskpc1-flop nobios.boot startup-sc400
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys →

Using pkgctl is only effective where files have been installed as part of
packages (qpr, qpk).

Hope this helps.

Cheers,
-Brian

“Malvert” <malvertp@club-internet.fr> wrote in message
news:alhpi3$2rg$1@inn.qnx.com

Hi everybody.

I’m currently having something which looks like a big problem : I deleted
files that I didn’t want to!
Is there any way to recover them, something like the ‘UNDELETE’ MS-DOS
program? I know there is a command called ‘unrm’ on some unix systems, but
it seems it’s not the case on QNX, or maybe i’m doing something wrong.
I would really appreciate if someone could give me some help. And I
apologize but I’m not a UNIX and QNX expert, so give me understandable
advices.

thx in advance
malv


__________________________________________________________________ Malv
ICQ#: 44991708 Current ICQ status: + More ways to contact me



\

thanks for your help, Brian. Unfortunately, the files which were deleted
were’nt packages .qpr/.qpk or binaries/libraries that came with QNX, but it
might be helpful for another time.
thanks anyway.

“Brian K. Hlady” <bhlady@qnx.com> a écrit dans le message news:
ali1jn$7u0$1@inn.qnx.com

Good morning,

Depends on which files you wiped. Binaries and libaries that came with QNX
will be spilled… If this is the case, you can then use pkgctl -r to
recover
the file.

eg
bhlady @ ~ → cd /x86/boot/sys/
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp
bios16m.boot ipl-sc400_ext procnto-smp-instr
ipl-diskpc1 ipl-win95 startup-bios
ipl-diskpc1-flop nobios.boot startup-sc400
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys → op rm -f procnto-smp
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp-instr
bios16m.boot ipl-sc400_ext startup-bios
ipl-diskpc1 ipl-win95 startup-sc400
ipl-diskpc1-flop nobios.boot
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys → op pkgctl -r /x86/boot/sys/procnto-smp
[/x86/boot/sys/procnto-smp] has been recovered. Check contents.
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp
bios16m.boot ipl-sc400_ext procnto-smp-instr
ipl-diskpc1 ipl-win95 startup-bios
ipl-diskpc1-flop nobios.boot startup-sc400
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys -

Using pkgctl is only effective where files have been installed as part of
packages (qpr, qpk).

Hope this helps.

Cheers,
-Brian

“Malvert” <> malvertp@club-internet.fr> > wrote in message
news:alhpi3$2rg$> 1@inn.qnx.com> …
Hi everybody.

I’m currently having something which looks like a big problem : I
deleted
files that I didn’t want to!
Is there any way to recover them, something like the ‘UNDELETE’ MS-DOS
program? I know there is a command called ‘unrm’ on some unix systems,
but
it seems it’s not the case on QNX, or maybe i’m doing something wrong.
I would really appreciate if someone could give me some help. And I
apologize but I’m not a UNIX and QNX expert, so give me understandable
advices.

thx in advance
malv


__________________________________________________________________ Malv
ICQ#: 44991708 Current ICQ status: + More ways to contact me





\

maybe more infos about thét for those who would be interested on comp.os.qnx
someone contacted me about an application which may work. Hope it will, if
that’s the case, i’ll post here.



“Malvert” <malvertp@club-internet.fr> a écrit dans le message news:
ali4b4$9p7$1@inn.qnx.com

thanks for your help, Brian. Unfortunately, the files which were deleted
were’nt packages .qpr/.qpk or binaries/libraries that came with QNX, but
it
might be helpful for another time.
thanks anyway.

“Brian K. Hlady” <> bhlady@qnx.com> > a écrit dans le message news:
ali1jn$7u0$> 1@inn.qnx.com> …
Good morning,

Depends on which files you wiped. Binaries and libaries that came with
QNX
will be spilled… If this is the case, you can then use pkgctl -r to
recover
the file.

eg
bhlady @ ~ → cd /x86/boot/sys/
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp
bios16m.boot ipl-sc400_ext procnto-smp-instr
ipl-diskpc1 ipl-win95 startup-bios
ipl-diskpc1-flop nobios.boot startup-sc400
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys → op rm -f procnto-smp
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp-instr
bios16m.boot ipl-sc400_ext startup-bios
ipl-diskpc1 ipl-win95 startup-sc400
ipl-diskpc1-flop nobios.boot
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys → op pkgctl -r /x86/boot/sys/procnto-smp
[/x86/boot/sys/procnto-smp] has been recovered. Check contents.
bhlady @ /x86/boot/sys → ls
bios.boot ipl-sc400 procnto-smp
bios16m.boot ipl-sc400_ext procnto-smp-instr
ipl-diskpc1 ipl-win95 startup-bios
ipl-diskpc1-flop nobios.boot startup-sc400
ipl-diskpc2 procnto
ipl-diskpc2-flop procnto-instr
bhlady @ /x86/boot/sys -

Using pkgctl is only effective where files have been installed as part
of
packages (qpr, qpk).

Hope this helps.

Cheers,
-Brian

“Malvert” <> malvertp@club-internet.fr> > wrote in message
news:alhpi3$2rg$> 1@inn.qnx.com> …
Hi everybody.

I’m currently having something which looks like a big problem : I
deleted
files that I didn’t want to!
Is there any way to recover them, something like the ‘UNDELETE’ MS-DOS
program? I know there is a command called ‘unrm’ on some unix systems,
but
it seems it’s not the case on QNX, or maybe i’m doing something wrong.
I would really appreciate if someone could give me some help. And I
apologize but I’m not a UNIX and QNX expert, so give me understandable
advices.

thx in advance
malv

\


Malv
ICQ#: 44991708 Current ICQ status: + More ways to contact me







\