Modify Mouse Speed in Xfree86..
xset m 6| Modify Mouse Speed in Xfree86.. | | 2004.03.29-15:48.00
BSD - Bastard patcheset for Linux kernel
Stable release (18a) http://eyck.forumakad.pl/Projects/bsd/18a/, is just 17j renamed, there were no issues found with 17j.| BSD - Bastard patcheset for Linux kernel | | 2004.03.19-13:50.00
Subversion upgrade 0.33 -> 1.0.1
( error message : "(20014)Error string not specified yet: Expected version '3' of repository; found version '2' Could not fetch resource information. [500, #0] Could not open the requested SVN filesystem [500, #165005] (84)Invalid or incomplete multibyte or wide character: Could not open the requested SVN filesystem [500, #165005]" )
svnadmin-0.33.0-0.backports.org.1 dump /var/lib/svn/ > svn.0.33.dumpNow it's ideal time for:
cat svn.0.33.dump | svndumpfilter exclude diskspace.hogging.test.repository |gzip -1 > svn.0.33.dump.without.sht.gzAnd now, for the grand finale:
svnadmin create /var/lib/svn cat svn.0.33.dump | svnadmin load /var/lib/svn/
| Subversion upgrade 0.33 -> 1.0.1 | | 2004.03.17-12:17.00
S/MIME in mutt,
smime_keys -init
| S/MIME in mutt, | | 2004.03.15-10:00.00
Vserver related resources
http://anduin.net/jailctl/| Vserver related resources | | 2004.03.14-22:22.00
Filesystem for squid.
For xfs, try this:/dev/hde3 on /var/spool type xfs (rw,noexec,nosuid,noatime,osyncisdsync)But supposedly the best fs for squid is reiserfs, and you may like those options:
reiserfs (rw,noexec,nosuid,nodev,noatime,nodiratime,notail,block-allocator=noborder)Nice thing to remember is that squid is very HDD intensive application, so it's rather unwise to run in on anything slower then SCSI (like you can see above I'm running it ;) is asking for trouble... and dumb.
You should also consider oops instead of squid for following reasons:
- oops is more lightweight then squid
- it's way easier to set up and configure.
oopsctl statprovides hot stats in nice format- oops can use raw partitions as it's cache.
- oops very quick to stop and start. ( try /etc/init.d/oops restart -> few seconds, try /etc/init.d/squid restart -> few minutes ). And you don't wan't your users waiting for few minutes when you change something simple but requiring restart.
- oops provides special for for transparent proxy ( with squid you can use either transproxy programm, or configure your squid as transproxy, but if you do, prepare for troubles when you use it also as normal proxy)
- squid is rather old code, oops is young and developing vigorously. It's code is cleaner and smaller ( squid is well tested, but contains lots and lots of cruft accumulated for years).
- oops uses single file as it's spool, not some clunky array of arrays of directories. Way easier to manage.
Update:
Based on: http://conferences.oreillynet.com/presentations/os2002/wessels_duane.ppt best filesystem for squid cache is ext2fs, and worst is xfs ( no wonder... ). second best filesystem for squid seems to be reiserfs (notail,noatime), but ext2 is twice as fast as reiserfs in this scenario.| Filesystem for squid. | | 2004.03.13-19:20.00
BSD - Bastard patcheset for Linux kernel
Todays release (17i), http://eyck.forumakad.pl/Projects/bsd/17i/ contains- lufs 0.9.7
| BSD - Bastard patcheset for Linux kernel | | 2004.03.10-16:12.00
BSD - Bastard patcheset for Linux kernel
Todays release (17h), http://eyck.forumakad.pl/Projects/bsd/17h/ contains- updated mount -o ro,bind patch from Herbert of Vserver fame (0.4 pre-release)
- reemoved old framebuffer logos
- mppe/mppc module downgraded to avoid 'PFC bug'
Warnings:
- netconsole is not yet final, don't use it on production machines
- Same goes for mount -o ro,noatime,bind option
| BSD - Bastard patcheset for Linux kernel | | 2004.03.10-14:15.00
BSD - Bastard patcheset for Linux kernel
Todays release (17f), https://ghost.anime.pl/~eyck/Projects/bsd/17f/ contains- updated mount -o ro,bind patch from Herbert of Vserver fame
- updated netconsole patch
- re-added mga_vid driver for matrox and radeon cards
- re-added old OCFS (Oracle Cluster Filesystem)
- re-added old framebuffer logos
Warnings:
- 17f includes Jan Dubiec's newest mppe/mppc module. Unfortunatelly it contains fix for 'PFC bug', which, unless you're affected by 'PFC bug', triggers 'PFC bug'. 17g will be available with older (0.98) version of this module
- netconsole patch should not be trusted. As Herbert Poezl says:
11:51 < Bertl> eyck: it seems that some parts of the netpoll api ahve sneaked in for the following cards: 11:52 < Bertl> net/8139cp.c, net/b44.c, e1000/e1000, net/gt64240eth.c, net/mv64340, net/tg3.c
thus, you should be cautious with using this feature on those cards.
| BSD - Bastard patcheset for Linux kernel | | 2004.03.10-12:11.00
Timeout....
val {
local $SIG{ALRM} = sub { die "alarm timeout" };
local $SIG{__DIE__} = sub { alarm 0; die @_ };
alarm $timeout;
# operation you're waiting on which might die()
# in the grandparent post, this was
# $line=<$child>
alarm 0; # cancel the alarm
};
die $@ if $@ && $@ !~ /alarm timeout/;
if ($@) {
# Whatever you want on an alarm timeout
}
( from perlmonks post by fizbin ):w
| Timeout.... | | 2004.03.09-13:32.00
BSD - Bastard patchset for Linux,
Release (17e), https://ghost.anime.pl/~eyck/Projects/bsd/17e/ contains- XFS ACL - xfs enter mainline kernel, but unfortunatelly stripped-down :(, this brings back some of expected functionality
- XFS DMAPI
- epoll - /dev/epoll
- squashfs - add this line deb http://eyck.forumakad.pl/woody/squashfs/ ./ to your /etc/apt/sources.list to get some userspace squashfs-tools
- mount -o ro,bind patch( from vserver's Herbert )
- netconsole logging patch ( from vserver's Herbert )[BROKEN!]
| BSD - Bastard patchset for Linux, | | 2004.03.08-10:15.00
Running Amavis on woody with exim3 and clamav/clamscan
deb http://www.backports.org/debian woody amavis-ng deb http://www.backports.org/debian woody clamav #clamav: deb http://people.debian.org/~aurel32/BACKPORTS stable mainapt-get install amavisd-new clamavis-daemonFor exim.conf: trusted_users = mail:amavis . . . . amavis_smtp: driver = smtp hosts = localhost port = 10024 allow_localhost hosts_override end ###################################################################### # DIRECTORS CONFIGURATION # # Specifies how local addresses are handled # ###################################################################### # ORDER DOES MATTER # # A local address is passed to each in turn until it is accepted. # ###################################################################### amavis_director: condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}" driver = smartuser transport = amavis_smtp verify = false . . . . ###################################################################### # ROUTERS CONFIGURATION # # Specifies how remote addresses are handled # ###################################################################### # ORDER DOES MATTER # # A remote address is passed to each in turn until it is accepted. # ###################################################################### amavis_router: condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}" driver = domainlist transport = amavis_smtp verify = false route_list = * localhost byname self = send uncomment exim3 settings from amavisd-new, restart it.. optionally comment out spamassassin-disabling line..
| Running Amavis on woody with exim3 and clamav/clamscan | | 2004.03.04-13:33.00
Things missing from vserver... or sth like that
- mount -o bind,ro http://vserver.13thfloor.at/Experimental/patch-2.4.25-rc3-vs1.26-bme0.04.diff
- near-instantenious creation of vservers
- single configuration for zone - what devices it needs, what directories to import, comment ..
- IPv6 support
- Some types of filesystems should be mountable inside vservers... some shouldn't. There's someone doing work on something similiar in 2.6.x tree ( user-mountable filesystems )
- Extended auditing inside zones
- 'privilege' set
- well-thought ability to use raw devices inside vserver (?)
| Things missing from vserver... or sth like that | | 2004.03.02-16:02.00
Zones in Solaris10
TODO: prepare similiar tools for vserver, From: John Beck| Zones in Solaris10 | | 2004.03.02-15:17.00
Remote Filesysemts, Network filesystems
those include: nfs, webdav, sshfs, openafs, coda, etc etc... Usefull stuff for nfs: mount options: rsize=8192,wsize=8192 ( default is 1024 and makes nfs slow, but is required for old nfsv2 servers ) soft (soft If an NFS file operation has a major timeout then report an I/O error to the calling program. The default is to continue retrying NFS file operations indefinitely.), hard is very very very bad when your nfs server dies ( or if network dies )
intr If an NFS file operation has a major timeout and it is hard mounted, then allow signals to interupt the file operation and cause it to return EINTR to the calling program. The default is to not allow file operations to be interrupted.
retry=n The number of minutes to retry an NFS mount operation in the foreground or background before giving up. The default value is 10000 minutes, which is roughly one week.http://www.fs.net/
| Remote Filesysemts, Network filesystems | | 2004.03.01-12:34.00
Filesystem Translucency
aka Stackable Filesystems.. aka ... exists in stable *BSDs for years as mount option.. http://www.almesberger.net/epfl/ifs.html| Filesystem Translucency | | 2004.03.01-12:26.00
