Re: MAC address runtime configuration in new driver (was Re: ...no subject)

From: Jose Luis Marchetti
Date: Sun Jan 11 2009 - 21:14:48 EST


> http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad
> discusses this.

Thanks, I have missed this faq.

> Userspace could write the necessary configuration data into
> the kernel,
> for example a sysfs attribute. Of course the attribute
> could also be
> readable. But perhaps there are already established
> mechanisms for
> exactly this purpose. I added Cc: netdev, maybe somebody
> there can give
> advice.

Thanks for the advice, I have another scenario where it should be nice to access files from inside the kernel, I am going to describe it on another email, but know I am not sure I should keep pursuint it.

Thanks again.



Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/