From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcos Dione Subject: 'Not a directory' Date: Sun, 26 May 2002 23:18:40 -0300 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <20020527021840.GD856@tempest.styx.org.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from pcmam.fsl.org.ar ([192.168.1.8] helo=tempest) by mail.vialibre.org.ar with esmtp (Exim 3.34 #1 (Debian)) id 17CA5l-0006eC-00 for ; Sun, 26 May 2002 23:18:37 -0300 Received: from mdione by tempest with local (masqmail 0.2.8) id 17CA5o-0Hi-00 for ; Sun, 26 May 2002 23:18:40 -0300 To: linux-fsdevel@vger.kernel.org Content-Disposition: inline List-Id: linux-fsdevel.vger.kernel.org I'm playing with a new fs developed by myself. I reached the stage where I can mount the fs and even read the root's inode. but when I try to cd into de mountpoint, chdir(2) complais that 'Not a directory'. doing a 'ls -l' I see that the mountpoint has the mode, dates and size of the directory being mounted. the mode is 040755, so I don't see the problem. also, using ramfs as reference, I note that the directory is not inspected in any way, so I think that is not a problem if I didn't developed the super, inode and file ops *yet*. also, I would *really* appreciate any link to any docs about implementing filesystems for linux (e.g., what should all the *_ops functions must do, return, etc., which should be reimplemented or which could be ignored or even use the generic_* ones, and so on) best regards.