From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alberich de megres Subject: root dir Date: Mon, 9 Feb 2009 14:54:10 +0100 Message-ID: <12d708830902090554n397ad6aeye1d9d60660f4553f@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-bw0-f161.google.com ([209.85.218.161]:39166 "EHLO mail-bw0-f161.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbZBINyM (ORCPT ); Mon, 9 Feb 2009 08:54:12 -0500 Received: by bwz5 with SMTP id 5so1313855bwz.13 for ; Mon, 09 Feb 2009 05:54:10 -0800 (PST) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, I'm making my firsts steps with vfs and filesystem playground. I created a very simple fs, for wich i have a rude mkfs and its fill_super function on kernel side. fill_super finish ok, and loadas the super block for my filesystem, but when i make mount -t testfs /dev/sdb1 /mnt/tfs i got the following message: "mount: not a directory" And here comes my question: what vfs is supposed to do since it loads sb and tries to list dir content? and what functions vfs needs at least to mount my fs? ( just load it, and display an empty dir with ls, not creating files etc... ) thanks!