I writing IO_MANAGER for virtual FTP-filesystem under QNX4.
I have some questions about it.
I can’t find struct for IO_RENAME message I received when renamed file.
What difference between IO_HANDLE file descriptor and IO_OPEN one. Must I create OCB for IO_HANDLE fd?
Is there timeout for replying a message. FTP working too slowly and sometimes I find thet mqc show me empty directory before I send this directory content reply message!
I find that
struct _io_rename {
msg_t type;
short int fd,
unit;
char version_cycle, /* eflag and zero2 invalid if /
/ this field is 0. /
/ It is zeroed by 4.10 proc /
eflag; / Extended flags (see above) */
nid_t nid;
mpid_t pid;
short int sflag,
oflag;
mode_t mode;
long zero2;
char path[2][PATH_MAX + 1];
} ;
is like io_open, but path[0] is old filename and path[1] is new.