View topic - Running CHKFSYS qnx2

Running CHKFSYS qnx2

For the old QNX2 and QNX4 RTOS

Running CHKFSYS qnx2

Postby grovebaby » Sat Jan 26, 2019 5:02 am

I would like to run CHKFSYS on my QNX2 install. How do you insure there are no open files , Idle system?
grovebaby
Active Member
 
Posts: 17
Joined: Thu Mar 15, 2018 1:38 am

Re: Running CHKFSYS qnx2

Postby maschoen » Sun Jan 27, 2019 12:49 am

I believe that QNX2 has a program

$ fopen

That will show you which files are open, and in what mode. I believe it is perfectly safe to run chkfsys if you only have file open for read.
maschoen
QNX Master
 
Posts: 2712
Joined: Wed Jun 25, 2003 5:18 pm

Re: Running CHKFSYS qnx2

Postby grovebaby » Tue Jan 29, 2019 9:39 pm

Thanks maschoen, yes there is FOPEN and DOPEN. Can a clean boot disk be created that dosen't open anything?
grovebaby
Active Member
 
Posts: 17
Joined: Thu Mar 15, 2018 1:38 am

Re: Running CHKFSYS qnx2

Postby maschoen » Tue Jan 29, 2019 11:52 pm

grovebaby wrote:Thanks maschoen, yes there is FOPEN and DOPEN. Can a clean boot disk be created that dosen't open anything?


On the contrary, you have to go out of your way to boot the system and have it open something. By default the OS will look for /config/sysinitXXX files to execute. If one is not there, then it will be executed, but it doesn't have to open anything else. If it is not there, then a CTRL-Z on a terminal should bring up a login. That would be either the main console or a serial tty.
maschoen
QNX Master
 
Posts: 2712
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 2 guests