[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fuse-devel
Subject:    Re: [fuse-devel] VxWorks / RT11 Filesystem
From:       Miklos Szeredi <miklos () szeredi ! hu>
Date:       2007-04-11 10:12:49
Message-ID: E1HbZon-00054Z-00 () dorka ! pomaz ! szeredi ! hu
[Download RAW message or body]

> I'm new to kernel/filesystem programming.  I'm attempting to
> reverse engineer the RT11 filesystem used by VxWorks so that
> we can read/write the filesystem under Linux to transfer files.
> 
> So far, I have some mtools style commands and a small library
> that allows me to access a drive with this filesystem (read-only,
> so far).
> 
> My library uses my rt_fs_init() and glib to set-up a hash table
> of the directory entries.
> 
> The main problem I have is that I don't understand where I get
> the file descriptor in myfuse_init().

What file descriptor?

> I've looked at a few fuse filesystems (fuseisofs, fusewinnt),
> but I still don't quite get this part.  The fuse_init() seems
> to use a connection, while most of the other operations use
> a fuse_file_info.  Is the fuse_init() the wrong place to
> setup the hashtable?

It is the right place.  Another right place is to set them up before
calling fuse_main().   Both methods should work fine.

Miklos

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
fuse-devel mailing list
fuse-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fuse-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic