Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX4 filesystem infinite loop : (3 Items)
   
QNX4 filesystem infinite loop  
In QNX4.25 I try to find some file by find utility and receive next message:

$ find / -name file_name -print
...
find: Cannot recurce into 'folder_name' - filesystem form an infinite loop
...
where 'folder_name' - is the full path to some folder, in which application record the data.

Inside this folder there is another folder with empty name (or without name). 

When I try to open noname folder then ezfm file manager jump to the filesystem root /.

I can't to delete this noname folder.

Please explain:

- what is the reason of produsing noname folder ?

- can chkfsys  utility recower filesystem infinite loop error?

Re: QNX4 filesystem infinite loop  
I got this issue when I called the following C code:


open("?delta", O_RDWR | O_CREAT | O_TRUNC);

It was a bug on my part, but it created a nameless symlink to itself. I can't figure out how to delete or even rename it
.
Re: QNX4 filesystem infinite loop  
Hi Andrew,

This code creates regular file on my system. It can be deleted by the following command:

# rm -f ?delta

What QNX version do you use?

Respectfully,
Oleg

12.09.2013, в 22:24:40, Andrew Mackie написал:

> I got this issue when I called the following C code:
> 
> 
> open("?delta", O_RDWR | O_CREAT | O_TRUNC);
> 
> It was a bug on my part, but it created a nameless symlink to itself. I can't figure out how to delete or even rename 
it.
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post105061
> To cancel your subscription to this discussion, please e-mail general-qnx4-unsubscribe@community.qnx.com