Re: entry point to mount a file system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Fri, 2009-01-16 at 12:22 +0530, Tom Sparrow wrote:
> 
> 
> On Tue, Jan 6, 2009 at 5:46 PM, Bizhan Gholikhamseh (bgholikh)
> <bgholikh@xxxxxxxxx> wrote:
>         
>         
>         > > Hi all,
>         > >
>         > > I am trying to debug why I am not able to mount a
>         filesystem on my
>         > system, I
>         > > am tyring to do that from kernel. I need to know what are
>         the entry
>         > points
>         > > in the kernel when the mount system call is called and
>         where kernel
>         > looks
>         > > for the filesystem types?
>         >
>         > Did you check the below path ?
>         >
>         > do_new_mount -> do_kern_mount -> get_fs_type ->
>         find_filesystem
>         
>         
>         Thanks this is exact information  I was looking for.
>         
>         
>         
>         
>         >
>         > Thanks -
>         > Manish
>         >
>         >
>         > >
>         > >
>         > >
>         > > By the way, the failure is due to not recognizing the file
>         system
>         type,
>         > I
>         > > have already configured and compiled the kernel with the
>         that
>         specfic
>         > file
>         > > system.
>         > >
>         > >
>         > >
>         > > Many thanks in advance,
>         > >
>         > > Bizhan
>         
>         
> I have a question in continuation...I dont have kernel source
> installed on my linux box....Want to know what all filesystems are
> supported by currently running kernel???...

Execute this command.

[chaitu@localhost ~]$ cat /proc/filesystems 
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cpuset
nodev   binfmt_misc
...
..


This was the output on my system.

When the filesystem specific module is loaded, the list is appended.

Grep for your filesystem in the output.

HTH.



--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux