Re: Getting the list of the file systems which are mounted.

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

 



That is true [ I missed that tiny detail ;-) ] in either case you would need create a custom kernel with the function exported with EXPORT_SYMBOL().

Why do you need to obtain a list of available filesystems from a driver? Shouldn't you handle this in an application instead?

Best Regards,
-- Mark

On Aug 3, 2008, at 10:04 PM, Rene Herman wrote:

On 04-08-08 03:59, Prasad Joshi wrote:

I am using 2.6.26 kernel.
Can you please explain, why you specifically mentioned the kernel 2.6.24 or below? What is difference between 2.6.24 kernel and latest kernel in this regards?

Only that the get_filesystem_list() prototype is not in <linux/fs.h> in 2.6.24 so that you need to declare it extern before using it yourself. The advice wasn't applicable though, given that you have the prototype in linux/fs.h. That EXPORT_SYMBOL() thing is the only thing relevant.

Rene.

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



--
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