Re: newfs and mount vs. half-baked disks

From: Garance A Drosihn (drosih_at_rpi.edu)
Date: 11/05/03

  • Next message: Peter Jeremy: "Re: newfs and mount vs. half-baked disks"
    Date: Tue, 4 Nov 2003 21:28:12 -0500
    To: Wes Peters <wes@softweyr.com>, arch@freebsd.org
    
    

    At 5:37 PM -0800 11/4/03, Wes Peters wrote:
    >Should extra debugging code like this be committed? Code like
    >this would make it much easier to wrap a regression test around
    >newfs, at the cost of introducing non-operational command line
    >arguments into utilities. If anyone has suggestions on how
    >to do this, please share.

    For what it's worth, I recently added some non-operational
    command line arguments into newsyslog. In my case I decided
    to add only *1* new argument, and then all the special
    debugging commands are specified as strings to that argument.

    This means that only one option-letter is used up, and it
    also makes it much much less likely that someone is going to
    specify the special debugging/regression options by accident.

    -- 
    Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
    Senior Systems Programmer           or  gad@freebsd.org
    Rensselaer Polytechnic Institute    or  drosih@rpi.edu
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
    

  • Next message: Peter Jeremy: "Re: newfs and mount vs. half-baked disks"

    Relevant Pages

    • Re: debugger internals
      ... Windows has special compact debugging API that includes, among others, functions GetThreadContext and SetThreadContext. ... ReadProcessMemory and WriteProcessMemory allow you to set INT3 breakpoints. ... Of course, you must read original first byte of the command before writing INT3, otherwise you will be unable to restore the command after break. ... You may, for example, disable write access to data memory and get exception on write to the protected memory block. ...
      (comp.lang.asm.x86)
    • Re: gdb stepping into boring stuff
      ... The "step" command doesn't step into functions that have no debugging ... hash table within the gdb convenience variables (which I think is ... with the $known_uninteresting_pc being kept as an array local to the ...
      (comp.os.linux.development.apps)
    • Re: archecker redux.....no P word
      ... Grep for ERROR from the archecker log -- it will tell you if there's a ... tables before running a new archecker table-level restore command. ... you can add the -d option to archecker table-level restore command to ... Debugging for component parser - enabled ...
      (comp.databases.informix)
    • Re: How to ignore spaces in directory names?
      ... Nishi Bhonsle wrote: ... How can I modify the line below so it would ignore the spaces in the ... a command line argument. ... You need to work on debugging your problems, ...
      (perl.beginners)
    • Re: New version of RamDebugger 6.1.1
      ... RamDebugger is a graphical debugger for the scripting lenguage Tcl-TK. ... With RamDebugger, it is possible to make Local Debugging, where the ... Works in Linux and Windows ... New option in Help to associate RamDebugger as command in the .tcl ...
      (comp.lang.tcl)