Journaling vs. Softupdates

2005-07-20 Thread Zev Thompson

Hi all,

This is addressed in the FAQ to some extent, but that answer seems  
incomplete.


Apparently one of the Google Summer of Code projects is to add journaling  
to UFS. When it already has softupdates, why? I've seen benchmarks that  
seem to indicate that softupdates performs as well or better in most  
cases, though I have nothing on hand to substantiate that. I thought the  
only real disadvantages of softupdates were:


- harder to code and implement (though this is already done, so should not  
be an issue)

- sometimes deleting files does not free space right away

Possibility of data loss, I'm guessing, is the same with either.  
Filesystem corruption is similarly very unlikely.


So why the change? Thanks in advance for any answers.

Zev
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


tar ssh: strange gzip error message?

2004-03-30 Thread Zev Thompson
Hi all,

If I want to copy a bunch of files over ssh without extra servers, it's 
easy enough to use the following command:

[EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /directory/to/copy  tar -cvf 
- * | tar -xf - -C .

This works without complaint. However, when I change the options passed 
to tar, adding gzip compression on one end and decompression on the 
other:

[EMAIL PROTECTED] ssh [EMAIL PROTECTED] cd /directory/to/copy  tar 
-cvzf - * | tar -xzf - -C .

I get this error message:

gzip: stdin: decompression OK, trailing garbage ignored
tar: Child died with signal 13
tar: Error exit delayed from previous errors
Is my method wrong? It appears that the files transferred just fine, 
but I'm still curious as to what's going on. Thanks in advance to any 
replies.

Cheers,
Zev
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Recursive renice?

2003-11-04 Thread Zev Thompson
Hi all,

I'm curious whether there's an easy way to renice(8) a process and all 
of its children in one simple command. For example, I might start a 
recursive make, which spawns lots of processes, and want them all to 
change priority at once.

The command I want is this:

renice +10 -r process-ID

Except for the fact that -r is not a valid flag. The pstree utility, in 
the ports, seems like it might be a good start to hack this 
functionality in. I searched google for recursive renice and found 
someone had made a sed script, but it's for linux, where the pstree 
output is different. Here's some example pstree output:

 | \-+- 14187 zevt gmake
 |   \-+- 14189 zevt gmake all-recursive
 | \-+- 14190 zevt /bin/sh -c set fnord ;
 |   \-+- 14807 zevt /bin/sh -c set fnord ;
[etc.]
Google result that's relevant:
http://mail.gnu.org/archive/html/bug-coreutils/2003-10/msg00033.html
Any hints? Thanks in advance to any answers.

Zev

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: / is filling up

2003-06-04 Thread Zev Thompson
The usual solution I use would be (starting in the root directory) du -kx 
| sort -n. The x flag prevents crossing partitions when doing the 
recursive analysis that du is meant to do, while the k flag makes the 
output in kilobytes. I like this command enough that I have a shortcut to 
it in my .bashrc called dk. Check the man page for du for other options 
if you want. Hope this helps.

Zev

My / partition is getting pretty full, 92%. Usually the culprit is something
I'm not rotating in /var/log, but that's not the case this time. Does anyone
have any suggestions to find out where this is? I'm guessing it's probably
something using ls and sort but I'll be damned if I can put something
together that helps this problem.
David Daugherty

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]