mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: journaling and devel [was Re: Development Setups]
@ 2001-10-15  9:09 Andreas Dilger
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Dilger @ 2001-10-15  9:09 UTC (permalink / raw)
  To: Pavel Machek; +Cc: linux-kernel

Pavel writes:
> I disagree.. With journal filesystem, when something is silently corrupting
> your disk, you'll never know.  With ext2, you sometimes sync & reset to make
> sure your disks are still healthy.  I would not recomment journaling on
> experimental boxes.

I would say just the opposite with ext3 - I prefer to use it on my development
boxes.

1) No fsck time (normally) after crashing, which can happen a lot.
2) You can set ext3 to fsck automatically after a fixed number of reboots/time
   if you are worried about a bad disk/cable/kernel.

Most of the mke2fs which support ext3 (1.20+ or so) will set the check
interval to 20 + rand(20) reboots per check by default, or 6 months.  Since
this is a random value, you don't get all of your filesystems checked at the
same time, but it happens at least once in a while to ensure that each fs is
OK.

Of course, you can turn it off if you want, but the option is there to do
periodic checks.  The time interval is probably still a good idea, even if
you turn of the per-N-mount checking, because of bit rot, etc.

Cheers, Andreas
--
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert


^ permalink raw reply	[flat|nested] 3+ messages in thread
* Development Setups
@ 2001-10-05  4:20 Adam Keys
  2001-10-05  8:02 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Keys @ 2001-10-05  4:20 UTC (permalink / raw)
  To: linux-kernel

As a budding kernel hacker looking to cut my teeth, I've become curious about 
what types of setups people hack the kernel with.  I am very interested in 
descriptions of the computers you hack the kernel with and their use patterns.

I was thinking of starting with a modern machine for developing/compiling on, 
and then older machine(s) for testing.  This way I would not risk losing data 
if I oops or somesuch.  Alternately, is there a common practice of using lilo 
to create development and testing kernel command lines?  Is this a useful 
thing to do or is it too much of brain drain to switch between hacking and 
testing mindsets?

Instead of having separate machines,  there is the possibility of using the 
Usermode port.  As I understand it this lags behind the -ac and linus kernels 
so it would be hard to test things like the new VM's.  Usermode would not be 
suitable for driver development either.  Again, thoughts on this mode of 
development?

Which brings me to the final question.  Is there any reason to choose 
architecture A over architecture B for any reason besides arch-specific 
development in the kernel or for device drivers?

AKK

-- 
Adam K. Keys
<adam.keys@HOTARD.engr.smu.edu> (Remove the HOTARD to email me)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-10-15  9:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-15  9:09 journaling and devel [was Re: Development Setups] Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2001-10-05  4:20 Development Setups Adam Keys
2001-10-05  8:02 ` David Woodhouse
2001-10-06  0:27   ` journaling and devel [was Re: Development Setups] Pavel Machek
2001-10-13 20:30     ` Steve Lord

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®