On Thu, May 21, 2009 at 6:25 PM, Masa Murayama <[email protected]> wrote:

> I'm developping nic drivers. I don't put my drivers into /kernel/drv
> directory when they aren't  stable. Instead of that, I load the drivers
> into kernel space explicitly by using "modload my_driver".
>
> In addition I put the source code on a separate NFS server. That prevents
> the source and binaries from corrupted when the test machine crashes.
>
> -masa


+1 for this.
Of course one should do it like that (I should have mentioned).
That way I can keep all the src files opened in gedit or bluefish,
this is pretty convenient.

Only one minor thing: No file corruption should be possible, if the
root-fs is ZFS (no matter if on SXCE or OSyyyy.mm), because ZFS is a
transactional file system, not simply a journal fs where it can always
happen, that the log cannot be rolled back. So it should be save from
file corruption itself (except for boot_archive related interruptions
if that is currently being re-created while the crash happens). Even
on single disk configs.


--
%martin
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to