Warner Losh wrote:
> In message <Pine.OSF.4.20.0008291444240.18775-100000@wally> Christopher Stein
     writes:
> : .. does anyone know if this exists? It would
> : speed up the panic-edit-compile-boot-copy-boot kernel hacking 
> : cycle by transforming it to panic-edit-compile-netboot.
> 
> I usually mount everything readonly when I try a new module just
> before loading it.  It saves a tone of time.  All I gotta fsck on the
> way back up is /var since it won't mount ro after syslog starts, which 
> makes sense if you think about it.
> 
> mount -ur /
> mount -ur /usr
> moutn -ur /junk
> 
> is what I have in a script.  After it succeeds, I do a mount -uwa
> which updates all the mounts.
> 
> You can also netboot via a ROM on your ethernet card or via floppy,
> but I've not done that.  The above works well enough for me.

Also, if you have a PXE-aware network card or bios, netbooting
with a small ramdisk is very convenient for crash-and-burn testing.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
"All of this is for nothing if we don't go to the stars" - JMS/B5



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to