LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2005, 11:26 AM   #1
LoneWolf_Dev
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
VFS programming - Implementing a new filesystem


Hi guys, i need some help implementing a very simple filesystem. after reading the code of some kernel filesystem i can only code a module that let me mount and umount the filesystem and show me an empty root directory. If i implement the readdir function, when i ls the root dir of the filesystem the readdir is called over and over and i can't see my files. can someone help me
 
Old 03-27-2005, 12:01 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Can you post your readdir function? I'm trying to dig up my jtsfs code which implements a very simple file system. When I find the archive tar ball I've put it in I'll show you an example of how I did it.
 
Old 03-29-2005, 11:06 AM   #3
LoneWolf_Dev
LQ Newbie
 
Registered: Jan 2005
Posts: 3

Original Poster
Rep: Reputation: 0
It will help a lot to see your filesystem. Thanks
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VFS: Can't find ext3 filesystem manudath Linux - Hardware 0 02-22-2005 05:04 PM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 10:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 03:58 PM
Creating a Virtual FileSystem on RAM (not VFS!!)? shrey_j Programming 0 07-06-2004 03:22 AM
I'm getting a "VFS: Mounted root (ext2 filesystem) lockup HGeneAnthony Linux - Hardware 1 04-23-2003 01:09 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration