The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help with porting a linux SNC driver to OSX Blackshore UNIX for Advanced & Expert Users 0 06-02-2009 11:39 AM
Nucleus to Linux porting taklubaba High Level Programming 1 11-17-2008 11:56 AM
when porting from HP-UX to Linux amitpansuria Linux 1 04-18-2008 02:08 AM
Porting From Linux To Hpux anak0nda High Level Programming 8 10-31-2007 06:51 PM
HP-UX to linux porting arunprakash UNIX for Dummies Questions & Answers 0 02-21-2005 05:49 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #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
  #2 (permalink)  
Old 06-16-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,910
Are you talking about Irix EFS (Extent File System)?
  #3 (permalink)  
Old 06-17-2009
roshantraj30 roshantraj30 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 5
Hello @fpmurphy,

The OSE Embedded File System, EFS, is a file system for the OSE Real Time Kernel. EFS will enable application processes to use file system functionality in several different ways by using the interfaces like FLIB, FSS, FM(VM), DDB and DDC. Hence I was not talking about Irix EFS.

I have a requirement to port efs_mount and FSS_RESOLVE_REQUEST which are OSE system calls( we are using OSE5.2 RTOS) into linux. Let me know if you could provide me some information on how to port the above OSE system calls to Linux.

Thanks and Regards
Roshan
  #4 (permalink)  
Old 06-17-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,910
You can either modify the kernel to support EFS or use something like FUSE to implement it entirely within userspace.

If you want to go the kernel route look in the kernel source ../fs subdirectory and you will see a series of subdirectories each of which provide support for a particular filesystem. Look in these subdirectories and you will quickly get an idea of what you need to do.

I
  #5 (permalink)  
Old 06-19-2009
roshantraj30 roshantraj30 is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 5
Hello @fpmurphy,

Thanks a lot for your reply, I am looking into the details which you have provided.

Thanks and Regards
Roshan
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:54 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0