linuxolator: proc/filesystems implementation

Alexander Leidinger Alexander at Leidinger.net
Fri Dec 15 02:22:08 PST 2006


Quoting Scot Hetzel <swhetzel at gmail.com> (from Thu, 14 Dec 2006  
06:01:27 -0600):

> Linux has a file in the procfs that shows all the loaded filesystem modules.
>
> I have implemented the function that fills this file using the
> linprocfs module.
>
> What the function does is look for specific kernel modules using
> module_lookupbyname to create an entry in the proc/filesystems file:
>
> # cat /compat/linux/proc/filesystems
>            cd9660
> nodev   devfs
> nodev   bsdprocfs
>            mfs
>            msdosfs

Like Roman I'm eager to know which software uses this. Unlike him I  
don't think (yet) it doesn't make sense without a translation table.  
If the list is just presented to  an user we don't need a translation.  
If it is used to do something we may need a translation (but only for  
those FS which have a compatible structure, like cd9660 or extfs, but  
not for ufs, which is UFS2 for us and "I don't know but possibly UFS1"  
on Linux).

Bye,
Alexander.

-- 
  Officers' club: We don't know but we've been told, our beer on tap is
  mighty cold.

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137


More information about the freebsd-emulation mailing list