On Wed, 2006-02-22 at 13:31 +0530, prasad Musale wrote: > Hello friends, > I am writing a basic file system. I got error 'bash: > cd: /mnt/fs : Not a directory', when i tried to mount my fs > on /mnt/fs. > Can any one tell why ? > > Thanks. Just a guess. Take a look at the i_mode member of the root inode. The S_IFDIR bit should be set. At one (or more) points in the mounting process this bit is checked with the S_ISDIR() macro and if it fails then you get that error. -- Richard Johnson <richj25@xxxxxxxxxxxxx> -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/