|
Porting OSE to Linux
Hi,
I was trying to port efs_mount(OSE system call) to a LInux.The efs_mount function is used to mount a volume on the indicated device dev.Upon successful completion of this OSE sytem call a volume manager (VM) will be available through which files on this volume are accessed. The Syntax for this syetm call is like :
Syntax: EfsStatus efs_mount(const char *volume, const char *format, const char *dev, const char *params);
Code :
vol_name= /st_dmx_dd0
drv_name= st_dmx_dd0
confm means Console format manager handling a serial channel.
efs_mount(vol_name, "confm", drv_name, "");
If it returns success, we open the file descriptors for input,output and std error and use it for further processing.
Could anyone help me out on how can I port the above system call to LINUX?
Thanks and Regards
Roshan
|