Re: best spam filter port(s) for postfix?

2007-10-04 Thread Karl Vogel
ecting spam a few years ago, and I use a Bayesian filter called ifile to handle junk. I trained it using just over 117,000 crapmail messages, and I don't get a lot of spam these days... http://www.dnaco.net/~vogelke/Software/Internet/Servers/Mail/Spam/Ifile/ -- Karl Vogel

Re: rename file based on file's timestamp

2007-10-24 Thread Karl Vogel
his, but maybe there is another way, A> perhaps using a shell script. Any thoughts? The script below is in Perl, but converting it to Python probably wouldn't be too difficult. -- Karl Vogel I don't speak for the USAF or my company Loch Ness monster

Re: 5 TB server

2008-11-28 Thread Karl Vogel
, which gives us a nice file history and takes care of most recovery problems. With two servers, I can use basic UFS filesystems and get fine I/O performance with minimum maintenance. -- Karl Vogel I don't speak for the USAF or my company The first product Motoro

Re: 5 TB server

2008-11-28 Thread Karl Vogel
g stored these days, that capability (in any filesystem) is going to be crucial. -- Karl Vogel I don't speak for the USAF or my company I think that's how Chicago got started. A bunch of people in New York said, "Gee, I'm enj

Re: 5 TB server

2008-12-03 Thread Karl Vogel
terribly clean (from an IT perspective) where I work, and I'm not exactly in the backwoods of America. V> The room is not possible :|, that would have been great. What do you V> think about a rack of some sort? Make sure your rack has plenty of room for ventilation. My only

Re: Whic mail server?

2009-09-27 Thread Karl Vogel
aid community can be a bit, um, brusque, but the Qmail Handbook and the "Life with Qmail" webpage filled in the blanks for me. >> Qmail has a very limited set of features... It's intended to handle one problem well, which it does. If you have some other requiremen

Re: way to check an email without sending it??

2009-10-05 Thread Karl Vogel
forwarded or handled by a program. "Rcpt to:" always returns ok unless the address itself is mangled. The VRFY command is always answered like this to keep people from harvesting addresses: vrfy 252 send some mail, i'll try my best -- Karl Vogel

Re: / almost out of space just after installation

2009-10-09 Thread Karl Vogel
D/DVD: #/dev/acd0/cdrom cd9660 ro,noauto 00 # # CD/DVD/RW: #/dev/cd0 /cdrom cd9660 ro,noauto 00 # ----- -- Karl Vogel I don't speak

Re: conky calendar

2009-10-10 Thread Karl Vogel
789]\)/ \1/') SMSO=$(tput smso) RMSO=$(tput rmso) cal | sed -e 's/^/ /' -e "3,\$s/ ${DAY}/ ${SMSO}${DAY}${RMSO}/" exit 0 -- Karl Vogel I don't speak for the USAF or my company Letterman's top signs your cat is trying to kill you #9

Re: small question about tape-based dumps

2009-10-17 Thread Karl Vogel
nd as much time polishing the heads waiting for something to write. -- Karl Vogel I don't speak for the USAF or my company The RAID was dirty *and* degraded (insert "your mom" joke here). --Mike Markley on Slashdot discussing Linux dr

Re: Display TSV files with columns aligned

2009-10-21 Thread Karl Vogel
nt of space? http://www.cs.indiana.edu/~kinzler/align/ Align is a general-purpose text filter tool that helps vertically align columns in string-separated tables of input text. You can direct how the columns are separated on input and rejoined in the aligned output. It

Re: Display TSV files with columns aligned

2009-10-21 Thread Karl Vogel
fields in a column that has a few T> really long strings in it. thanks for pointing me to it. i'll see if i T> can't figure out the script and how to modify it to add this trick. It would be lots easier to write a smaller script which finds and chops the columns you like, an

Re: splitting Mbox file thread-sorted

2009-11-08 Thread Karl Vogel
eading algorithm, as described by http://www.jwz.org/doc/threading.html. See http://search.cpan.org/ to track it down. -- Karl Vogel I don't speak for the USAF or my company Cute Celebrity Couple Names #4: Naomi Wa

Re: splitting Mbox file thread-sorted

2009-11-09 Thread Karl Vogel
n use pipermail to generate the threading information I need. -- Karl Vogel I don't speak for the USAF or my company If men ruled the world #4: Instead of beer belly, you'd get "beer biceps." ___ freebsd-questi

Re: Rename pictures in the command-line interface

2010-01-05 Thread Karl Vogel
lke/src/toolbox/perl/rename.txt I put up most of the scripts in my ~/bin directory for examination here, if anyone's interested: http://www.pobox.com/~vogelke/src/toolbox/ The descriptions are NOT complete, but they're getting there. -- Karl Vogel I

Re: 'rm' Can not delete files

2012-02-13 Thread Karl Vogel
e already in the habit of writing BASH and you have /bin/ksh installed, running "ksh -n" will syntax-check your script without executing it. I *think* pdksh does the same thing. -- Karl Vogel I don't speak for the USAF or my company My choices in life w

Re: /usr/bin/find - binary operands howto

2012-06-04 Thread Karl Vogel
* You can use this to create your locate DB, if you want to avoid a second pass through the filesystem. * Gives you a point-in-time picture of ownership, mode, etc. in case you need to back out your changes. -- Karl Vogel I don't speak for the USAF or my compa

Re: find date of last boot

2012-06-07 Thread Karl Vogel
>> On Thu, 07 Jun 2012 19:15:25 -0400, >> Fbsd8 said: F> dmesg command does not show date of last boot. Are there some other F> commands to find date of last boot? Try "last reboot". -- Karl Vogel I don't speak for the USAF or my com

Re: find date of last boot

2012-06-07 Thread Karl Vogel
'%d-%b-%Y %T' /var/run/dmesg.boot -rw-r--r-- 1 root wheel 6319 10-Jan-2012 14:56:45 /var/run/dmesg.boot -- Karl Vogel I don't speak for the USAF or my company Dirt and grease under the fingernails is a social no-no, as they tend to detract from a woman

Re: Hardware suggestions

2011-04-26 Thread Karl Vogel
http://arstechnica.com/gadgets/guides/2011/03/ars-system-guide-march-2011-edition.ars/ -- Karl Vogel I don't speak for the USAF or my company We are reluctant to admit that we owe our liberties to men of a type that today we hate and fear - unruly men, disturbers of the p

Re: How do you "install" utility built using gnu toolchain?

2011-05-13 Thread Karl Vogel
mp/AFTER me% comm -23 /tmp/AFTER /tmp/BEFORE > TARGETS me% rm /tmp/AFTER /tmp/BEFORE Running "xargs rm < TARGETS" (and/or "rmdir") gives me a pristine source directory. Sure, you can just remove the whole thing and unpack a clean tarball, but this is e

Re: Embedding a RCS token in uname -i

2011-06-22 Thread Karl Vogel
sanity check to make sure your build config file has been checked in. -- Karl Vogel I don't speak for the USAF or my company Mr. Rogers was an ordained minister.--item for a lull in conversation

Re: User tasks in ~/.logout

2011-10-11 Thread Karl Vogel
ed since the previous run. If your system is really active, you'll have to tweak that. Over-engineered? Probably, but the combination of no user education plus safely running *one* copy of a backup job (or whatever) on user logo

Re: where to ask about problems with bsdinstall in 9.0RC2?

2011-11-19 Thread Karl Vogel
and I get ~18% smaller files using xz instead of bzip2. I know disk space is cheap, but our rack space is limited. -- Karl Vogel I don't speak for the USAF or my company > Sorry I'm taking up your ever so valuable disk space! That's okay, /dev/

Re: Twiki problems - no such file or directory

2011-11-29 Thread Karl Vogel
/path/to/apache /path/to/apache.bin root# cat /path/to/apache #!/bin/sh exec /usr/bin/truss -o /tmp/apache$$ -f /path/to/apache.bin exit 1 -- Karl Vogel I don't speak for the USAF or my company The freshmen bring a little knowledge in and the

Re: opening vim with a flag: ready to write?

2011-12-15 Thread Karl Vogel
quot;insert" mode with the cursor at the beginning of the last line. -- Karl Vogel I don't speak for the USAF or my company Leighton Meester beats her mom in court --Dec 2011 headline that really could have been phrased better __

Re: Portability of shell scripts from other *nixes

2012-01-25 Thread Karl Vogel
l to bash with any D> symlinking of /usr/local/bin/bash to /bin/sh. Do you have the Korn shell installed? I've found that to be a nice compromise for scripts that have bash-isms. -- Karl Vogel I don't speak for the USAF or my company Texted a frien

Re: How to achieve E-Mail Notification on root login?

2013-02-12 Thread Karl Vogel
monitoring system there, and send the message from there. This way, the original logs are more likely to be intact when you investigate. -- Karl Vogel I don't speak for the USAF or my company Some guy just yelled at me for texting a

Re: Fun Scripting Problem

2013-02-13 Thread Karl Vogel
t;stat info" to mean "info you can get from something that calls stat()". The script below runs on BSD, Linux, or Solaris if you have GNU find installed. Season to taste. -- Karl Vogel I don't speak for the USAF or my company Mom was so ove

Re: convert date and time to epoch in awk

2013-02-19 Thread Karl Vogel
log file http://serverfault.com/questions/44/ What tool do you use to monitor your servers? -- Karl Vogel I don't speak for the USAF or my company John, this smells worse than your uncle's codpiece (which I wish you would stop wearing t

Re: mutt and http//url???

2013-03-22 Thread Karl Vogel
een-oriented program for extracting URLs from text files, putting them in a menu, and letting you run a command to view a specific item. If you're on a FreeBSD system, it's in /usr/ports/textproc/urlview. -- Karl Vogel I don't speak for the USAF or my compa

Re: using pax command for archive & restore

2013-04-07 Thread Karl Vogel
gz > scp /tmp/copy/$b.pax.gz wherever # and remove it > rm $file > done -- Karl Vogel I don't speak for the USAF or my company Why no one ever uses the Restroom on "Star Trek" #7: Special effects dept. draws a blank on Hi-tec

Re: minor vi/vim qstn

2013-09-26 Thread Karl Vogel
setopt notify # tell me when a job finishes setopt rcquotes # '' = single quote in single-quoted strings unsetopt bgnice # don't run background jobs at lower priority -- Karl Vogel I don't speak f

Re: any backup utilities for ACLs?

2005-08-06 Thread Karl Vogel
Apart from that, all I can think of is to save the ACLs using getfacl and then restore them later using something like the script below. -- Karl Vogel I don't speak for the USAF or my company The ultimate result of shielding men from th

Re: creating user dirs

2004-09-24 Thread Karl Vogel
ome directory and files owned by the user and the default user's group: # awk '{print "chown -R", $1"."$2, $3}' /tmp/pw | sh # rm /tmp/pw -- Karl Vogel I don't speak f

Re: filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread Karl Vogel
. \n 017 The "-0" says read null-terminated lines, so if your binary file is big enough and has few enough nulls, you could chew up a diaper-load of memory. -- Karl Vogel I don't speak for the USAF or my company A raccoon tangled with a 23,000 vol

Re: [OT] writing filters in sh

2010-10-27 Thread Karl Vogel
*) exec <"$1"; shift ;; esac case "$1" in "") ;; *) exec >"$1" ;; esac wc # or whatever exit 0 -- Karl Vogel I don't speak for the USAF or my company We seem not to have learned a basic

Re: [OT] writing filters in sh

2010-10-28 Thread Karl Vogel
amp;& cat $@ | exec $0 && exit 0 IFS=$'\n' while read data; do echo "$data" done exit 0 Resetting IFS is only necessary if you want to preserve whitespace in each line. Putting $data in quotes prevents any shell metacharacters from be

Re: procmail config help

2010-11-17 Thread Karl Vogel
t. Try the .procmailrc skeleton below. The .whitelist and .blacklist files hold email addresses (one per line) that you want to pass or block, respectively. Logfiles are stored in the user's ~/mail directory. -- Karl Vogel I don't speak for the USAF o

Re: a question regarding proper printf(3) formating and alignment

2010-11-17 Thread Karl Vogel
abbled in reply: D> I seem to remember /usr/bin/find doing this dynamically by expanding D> columns as it saw values that were larger than the previous max, but D> apparently not (I just tested it). I believe you're thinking of "file". -- Karl Vogel

Re: Shopping cart other than OSCommerce? [LONG]

2010-12-08 Thread Karl Vogel
Developers for Selling User IDs Mon, 1 Nov 2010 Facebook has banned a number of developers from connecting to the social network for six months after it learned that they had been selling user information to data brokers. -- Karl Vogel I don't speak for

Re: cksum entire dir??

2012-09-12 Thread Karl Vogel
fdc34a5a5df7807d4fc45739d2d3039f /tmp/dir.md5 If I copy these files elsewhere, I can repeat the steps and just compare the final hash; if it's anything other than 'fdc34...3039f', something's wrong. -- Karl Vogel I don't speak f

Re: cksum entire dir??

2012-09-13 Thread Karl Vogel
7; > /tmp/sig2 Associate the duplicates with files: me% join /tmp/sig[12] ddbed53e795724e4a6683e7b0987284c ./authlog ddbed53e795724e4a6683e7b0987284c ./cmdlog If your filenames contain whitespace, you can URL-encode them, play some games with awk, or use perl. -- Karl Vogel

Re: cksum entire dir??

2012-09-14 Thread Karl Vogel
>> /tmp/sig1 ^^^^ -- Karl Vogel I don't speak for the USAF or my company When I'm feeling down, I like to whistle. It makes the neighbor's dog run to the end of his chain and gag himself.

Re: which C function is best to check for directory EXISTANCE?

2012-12-18 Thread Karl Vogel
"tmp/foo/filename12345" exists and that I have read access to it? I'd just call open() with O_RDONLY and if it fails, check errno for EACCESS (you don't have permission) or ENOENT (doesn't exist). -- Karl Vogel I don't speak for the USAF or my

Re: sendmail not working

2013-01-10 Thread Karl Vogel
/truss -f -o /tmp/local$$ /where/ever/localmailer.bin ${1+"$@"} exit 0 -- Karl Vogel I don't speak for the USAF or my company He fell for her like his heart was a mob informant, and she was the East River.

Re: securing apache2 on freebsd

2003-01-02 Thread Karl Vogel
be orthogonal to security restrictions on it and this is the case with the WN server. ... -- Karl Vogel, ASC/YCOAI don't speak for the USAF or my company [EMAIL PROTECTED] http://www.dnaco.net/~voge

Re: creating user dirs

2003-01-08 Thread Karl Vogel
ome directory and files owned by the user and the default user's group: # awk '{print "chown -R", $1"."$2, $3}' /tmp/pw | sh # rm /tmp/pw -- Karl Vogel I don't speak f

Re: Directory hashing question

2003-01-17 Thread Karl Vogel
d pretty well for me in the past. It's simple and quick. I'd create 256 directories (0x00 - 0xff), and use the last byte from the hash value of each domain name to determine the directory. Examples below. -- Karl Vogel I don't speak for the USAF or my c

Re: SpamAssassin

2003-02-04 Thread Karl Vogel
as only brought me documents which further confuse me. http://www.dnaco.net/~vogelke/Software/Internet/Servers/Mail/Spam/ has my installation and setup notes for both SpamAssassin and ifile. I like ifile much better; it's a Bayesian filter which has dropped my spam down to just about

Re: Manage, centralize and backup configuration files

2002-11-22 Thread Karl Vogel
nvenient J> way of administering your system. http://www.dnaco.net/~vogelke/Software/Configuration_Management/System_Files describes my setup. All it does is keep a chosen set of files under RCS control. -- Karl Vogel ASC/YCOA, Wright-Patterson AFB, OH 45433 [EMAIL PROT

Re: setting default directory ACLs using xargs

2010-02-13 Thread Karl Vogel
mes, you'll either have to use perl or do something dopey like this: #!/bin/sh cd /data find . -type d -print | nawk -v sq=\' '{ printf "getfacl %s%s%s | setfacl -d -b -n -M - %s%s%s\n", sq, $0, sq, sq, $0, sq}' | sh -x exit 0 -- Karl

Re: are the are C [or C++] src sites ....

2010-04-14 Thread Karl Vogel
sockets and protocols * Thread, process and mutex functionality * Shared memory functionality * Time routines * User and group ID services -- Karl Vogel I don't speak for the USAF or my company Difference between airplanes and women #4: Airplanes don't o

Re: Kill via Cron...

2010-04-20 Thread Karl Vogel
, I could send HUP to PGID 198 instead of using four kill commands. There's a perl version of "kill" included in Perl power tools. I made some minor changes to use process groups instead: http://www.pobox.com/~vogelke/src/toolbox/perl/killpg.txt -- Karl Vogel

Re: multishell user profile

2010-04-21 Thread Karl Vogel
>> On Wed, 21 Apr 2010 09:53:00 +0200, >> Erik Norgaard said: E> I need to create a user profile that works in different shells, E> particularly bash, csh and ksh. It seems that these does not read the E> same files and/or in the same order. So, how do I configure the shell E> profiles without

Re: Kill via Cron...

2010-04-21 Thread Karl Vogel
utput block) in dump used to be 10, but you could go as high as 64. Check the -b option. * Use "gzip -1q" for speed at the cost of slightly less compression. "compress -c" also works very well on dump images, and it's fast. -- Karl Vogel

Re: Cannot connect to Samba share

2010-04-26 Thread Karl Vogel
gning = auto client use spnego = Yes client schannel = Auto server schannel = Auto -- Karl Vogel I don't speak for the USAF or my company Suggested names for Walmart Wine #13: White Trashfindel ___

Re: md5(1) and cal(1)

2010-05-11 Thread Karl Vogel
inspection is error-prone at best, and makes scripting D> unecessarily complicated. Agreed. That's why I always install the GNU coreutils package, which includes the "md5sum" program. -- Karl Vogel I don't speak for the USAF or my company If men ruled th

Re: ISP questions

2009-06-05 Thread Karl Vogel
My favorite article comment: "If I'm still doing this in 21 years, someone please write a program to kill me." -- Karl Vogel I don't speak for the USAF or my company Oh anchor bimbo, The gleam from your whitened teeth Gi

Re: Can a Bourn Shell Script put itself in the background?

2009-06-05 Thread Karl Vogel
logger -t test "$$ is a daemon, args $@" ;; 1) echo "$$ not a daemon, args $@" DAEMON=yes daemon $0 ${1+"$@"} ;; esac exit 0 me% ./doit a b c 18131 not a daemon, args a b c me% tail -1 /var/log/syslog Jun 5

Re: Can a Bourn Shell Script put itself in the background?

2009-06-06 Thread Karl Vogel
ot;stop" && echo stopped at user request && exit 1 This way, you can just "touch stop" if something goes to hell instead of having to grub around in the process table. -- Karl Vogel I don't speak for the USAF or my compa

Re: enclose code and testfile.

2009-06-07 Thread Karl Vogel
ss multiple lines { $prev = $1; # text before print "$prev"; } print "$_\n"; # whatever's left over. exit(0); -- Karl Vogel I don't speak for the USAF or my company Progra

Re: Cronjob

2009-06-08 Thread Karl Vogel
g this in the script J> to be executed is no option. I have two scripts for this; one handles the last day of the month, and the other handles the last work/business day of the month. http://www.hcst.net/~vogelke/src/lastday/ -- Karl Vogel I don't speak for th

Re: PDF inventory software

2009-06-08 Thread Karl Vogel
ing journal pages, or do they contain text? If the latter, you could use something like xapian or hyperestraier to make a full-text index of your files. -- Karl Vogel I don't speak for the USAF or my company Top oxymorons #22: Childproof __

Re: What server hardware are you buying from the big companies these days?

2009-06-08 Thread Karl Vogel
stuffed the drives in, and installed FreeBSD-7.1. My only problem so far has been a BIOS issue, but IBM site-support has been great. -- Karl Vogel I don't speak for the USAF or my company Golfer: "Do you think I can get there with a 5-iron? Caddy: "E

Re: OT - help w configure, make, etc.

2009-06-10 Thread Karl Vogel
again. At this point, I was in dependency hell. I tried messing with the load and include compiler flags to get to the versions under /opt/sfw, but I had no luck. There's probably some really easy way to build this, or I could just build the required libraries, but I didn

Re: Need a filesystem with "unlimited" inodes

2009-06-10 Thread Karl Vogel
$sum = $byte + 65587 * $sum; } $sum &= 0x;# keep lowest 16 bits no integer; return sprintf("%4.4x", $sum); } me% ./mkchunks freebsd solaris 16/f7.zip freebsd ca/1f.zip solaris

Scripts to monitor host availability

2009-06-12 Thread Karl Vogel
If you want to keep an eye on some hosts without doing a full Nagios install: http://www.hcst.net/~vogelke/src/ishostup/ -- Karl Vogel I don't speak for the USAF or my company If you can't be kind, at least have the decency to be vague.

Re: Terminal / vim / shortcuts

2009-06-14 Thread Karl Vogel
: map E oi+1+2+3+4+5+6+7+ I like my paragraphs ragged-right, around 75 columns long. This lets me reformat whatever paragraph I'm in by pressing 'v': map v }jmbk{ma}:'a,.!fmt -1^V|fmt -75'b

Re: Problem with bash script

2009-06-16 Thread Karl Vogel
safe, check the argument count when you run something: #!/bin/bash set X `date` # should give 6 tokens plus X. case "$#" in 1) echo "command didn't print anything" ;; 7) echo "success: $*"; echo "year should be 7th arg: $7&

Re: Problem with bash script

2009-06-16 Thread Karl Vogel
I botched the filter example in my previous blathering. This will ignore output from find containing patterns: root# find . -depth -print | fgrep -v -f /some/patterns Leaving off the -v will keep output containing those patterns. -- Karl Vogel I don't speak for the

Re: Changing my login directory

2009-06-19 Thread Karl Vogel
u change directories. chpwd () { /bin/pwd >> ~/.cdlist.new } To find the most often-used directories, the "chdir" and "chpwd" functions above will store the name of every directory you cd to in "$HOME/.cdlist.new". To find your

Re: Changing my login directory

2009-06-22 Thread Karl Vogel
ercase, timeouts, default answers if return is hit, and limiting answers to given character sets. For example, "grabchars -c 0123456789 -n2 -t10" get two numbers with a 10-second timeout. -- Karl Vogel I don't speak

Re: good morning to all

2009-07-06 Thread Karl Vogel
ource. I tried a bootonly CD image, but it came back with "Missing operating system". Fortunately I was able to boot from a backup root partition, copy loader.old to loader, and reboot normally. -- Karl Vogel I don't speak for the USAF or my co

Re: Should DNS be on same server as webserver?

2009-07-13 Thread Karl Vogel
d the ease of J> spreading an attack. (Yes, I'm assuming what you're actually J> running) You can fix the security problems by dumping Bind and using djbdns. It's very easy to set up a caching nameserver without using all the memory on your system. See

Re: Should DNS be on same server as webserver?

2009-07-14 Thread Karl Vogel
>> On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: K> You can fix the security problems by dumping Bind and using djbdns. >> On Tue, 14 Jul 2009 10:16:24 +0200, Ruben de Groot replied: R> What security problems? This one ? :) R> http://blogs.zdnet.com/security/?p=2812

Re: OFFTOPIC: HP DL1xx vs IBM x3250 vs DELL R200

2009-07-15 Thread Karl Vogel
boot. The hardware's been checked, and the firmware's all up to date. I don't know if an x3250 and an x3400 are close enough hardware-wise for this to matter. -- Karl Vogel I don't speak for the USAF or my company

Re: OT: wget bug

2009-07-18 Thread Karl Vogel
on the same line as you can if you're looking to mirror a site. I don't know how to make curl do something like walking a directory for a recursive download. You can get the source at http://curl.haxx.se/download.html -- Karl Vogel I don't spea

Re: Interesting tool

2009-07-18 Thread Karl Vogel
I use to handle quoted-printable stuff: #!/usr/bin/perl #decode(\*STDIN, \*STDOUT); exit(0); -- Karl Vogel I don't speak for the USAF or my company My name is not "Dr. Death". --written on blackboard by Bart Simpson ___

Re: limit to number of files seen by ls?

2009-07-23 Thread Karl Vogel
be "ls" that's affected here. That's why I use 1,000 as a rule of thumb for the maximum number of files I put in a directory. A longer-term fix for your client would be to break up that JPEG file list into smaller sets based on (say) date or image topic or whatever

Re: limit to number of files seen by ls?

2009-07-25 Thread Karl Vogel
>> On Thursday 23 July 2009 09:41:26 Karl Vogel wrote: K> Every version of Unix I've ever used had an upper limit on the size of K> the argument list you could pass to a program, so it won't just be "ls" K> that's affected here. That's why I use 1,000

Re: limit to number of files seen by ls?

2009-07-30 Thread Karl Vogel
>> Karl Vogel wrote: K> The main reason I stick with 1000 is because directories are read K> linearly unless you're using something like ReiserFS... >> On Sun, 26 Jul 2009 08:34:50 +0100, >> Matthew Seaman said: M> You mean filesystems like FreeBSD UFS2 w

Re: A question for developers

2009-08-03 Thread Karl Vogel
ere are a few examples of what you can do with it: http://www.hcst.net/~vogelke/src/editors/vim/vimrc/ -- Karl Vogel I don't speak for the USAF or my company Chemists wash their hands BEFORE they go to the bathroom.

Re: GNU Tar and -T option

2009-08-08 Thread Karl Vogel
hat command line with GNU tar versions 1.14 and 1.22. I'd grab the source and upgrade if I were you: http://ftp.gnu.org/gnu/tar/tar-1.22.tar.gz -- Karl Vogel I don't speak for the USAF or my company The glue on Israeli postage is certified ko

Re: Fwd: Boot failure

2009-08-08 Thread Karl Vogel
a Dell GX260 for my workstation since 2003, and I've had no hardware problems running two versions of FreeBSD, one version of OpenBSD and one version of Solaris-10. Two other 260s have been file-servers since 2004. -- Karl Vogel I don't speak for the USAF or my com

Re: FreeBSD for the common man(or woman) (was: > upgrade 7.2

2009-08-11 Thread Karl Vogel
distclean If you have GNU tar installed: root# help2man /usr/local/bin/gtar > /usr/local/man/man1/gtar.1 -- Karl Vogel I don't speak for the USAF or my company Things that never happen in "Star Trek" #16: Counsellor Troi states somet

Re: location of user crontab files?

2009-08-11 Thread Karl Vogel
tc/crontab or you might have duplicated cronjobs running simultaneously. I use the file header beneath my signature for crontab files, so I don't forget what field goes where. It's also handy to define an environment variable in case a program should behave differently w

Re: location of user crontab files?

2009-08-12 Thread Karl Vogel
>> On Tue, Aug 11, 2009 at 07:21:08PM -0400, Karl Vogel typed: K> If you're using individual crontab files, be sure to rename /etc/crontab K> or you might have duplicated cronjobs running simultaneously. >> On Wed, 12 Aug 2009 11:31:14 +0200, Ruben de Groot >> sa

Re: please help to uninstall FreeBSD!!!

2009-08-18 Thread Karl Vogel
e a fact of life. There were lots of programs around for conversion to/from 32-bit words, just so we could talk to everybody else on Earth. -- Karl Vogel I don't speak for the USAF or my company Men are liars. We'll lie about lying if we have to. I'm a

Re: What should be backed up?

2009-08-23 Thread Karl Vogel
gle something: root# mkdir /etc.orig root# cd /etc root# find . -print | pax -rwd -pe /etc.orig After all my tweaks are in place, user accounts installed, etc., I run the script below to get a new table-of-contents. Then I can compare the two MD5 files to see exactly what I'

Re: Can anyone reproduce this Samba problem?

2009-09-05 Thread Karl Vogel
D-specific bad J> behavior. http://www.theopensourcerer.com/2008/04/17/a-shared-drop-box-using-samba/ has some suggestions that might help. -- Karl Vogel I don't speak for the USAF or my company :-{8Person who is unhappy with the results of her breast-

Re: Is there such thing as a 'soft checksum' tool?

2009-09-05 Thread Karl Vogel
code? A nilsimsa code is something like a hash, but unlike hashes, a small change in the message results in a small change in the nilsimsa code. Such a function is called a locality-sensitive hash. -- Karl Vogel I don't speak for the USAF or my comp

Re: getting alerts about system upgrades

2006-06-01 Thread Karl Vogel
; holds patterns (one per line) for messages that should get immediate attention. The patterns are mostly email addresses or words consistently found in subject lines. The "xnote" program is simply a driver for "xalarm", which displays an X-windows popup message. --

Re: Help: Novice - Hardware Advice!

2006-06-04 Thread Karl Vogel
, or whose company is funding the purchase (same thing). -- Karl Vogel I don't speak for the USAF or my company vogelke at pobox dot com http://www.pobox.com/~vogelke I forgot and left the lighthouse on all night. Next day the

Re: How to find files that are eating up disk space

2008-12-17 Thread Karl Vogel
ader ... tr -d '%' | # ... kill the percent sign ... awk '$4 < 10 && \ $5 >= 99 {print $6}'`# ... and print the filesystem. case "X$str" in X) ;; *) $DF $str | mailx -s &#

Re: well, blew it... sed or perl q again.

2008-12-31 Thread Karl Vogel
tp://junkfoo.com/"; > Site this And finally http://junkfoo.com/";>Site this -- Karl Vogel I don't speak for the USAF or my company The average person falls asleep in seven minutes. --item for a lull in

Re: bash versus sh test builtin

2009-01-12 Thread Karl Vogel
"$@" >& 2 exit 1 } test -f /etc/passwd || die "Your system is seriously hosed" -- Karl Vogel I don't speak for the USAF or my company If men ruled the world #12: Instead of wasting money on an expens

Re: Problem with BASH and [ ! -t 0 ] test.

2009-02-22 Thread Karl Vogel
in "") interactive code here ;; yes) ;; esac ...or get rid of it. -- Karl Vogel I don't speak for the USAF or my company Man who live in glass house, dress in basement. --Bryan Albright --

Re: SpamAssassin/Perl eating enormous amounts of memory?

2009-03-05 Thread Karl Vogel
oc.a: malloc.o rm -f libmalloc.a ar q libmalloc.a malloc.o malloc.o: malloc.c $(CC) -O -c -I. malloc.c To build something using configure and this library, change the configure commands to include these environment variables: LDFLAGS="-L/usr

Re: web based file sharing

2009-03-28 Thread Karl Vogel
rks like a charm. http://home.gna.org/drall/ was the original link, but it doesn't seem to be working today, so you might want to Google "drall 1.17" and grab it from a mirror. -- Karl Vogel I don't speak for the USAF or my company He can compress th

  1   2   >