linuxolator: proc/filesystems and sysfs function implementations
Alexander Leidinger
Alexander at Leidinger.net
Sat Jan 6 04:08:43 PST 2007
Quoting "Scot Hetzel" <swhetzel at gmail.com> (Sat, 6 Jan 2007 02:12:00 -0600):
> I also re-implemented the patch to linprocfs to use
> TAILQ_FOREACH(vfsp, &vfsconf, vfc_list), and implemented the
> freebsd_to_linux_fs function (translates a freebsd fs name to a linux
> fs name) in sys/compat/linprocfs/linprocfs.c.
>
> This function is needed by the sysfs implementation, and was wondering
> where the translation function, and the structure it returns should be
> placed so that it is accessable to both implementations (linux_sysfs,
> and linprocfs_dofilesystems).
What about compat/linux_emul.[ch], or linux_misc.[ch] or a completely
new linux_fs.[ch]?
I don't know if it is a good idea to translate the names or not... I
can come up with cases where it is ok, but I can also come up with
cases where it isn't. Unluckily I don't know which cases should be
taken into account or not.
Bye,
Alexander.
--
Golly, I'd hate to have a kid like me!
-- Calvin
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