The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-15-2009
roshantraj30 roshantraj30 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 5
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