PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

ext2 vs ext3 405


Your Ad Here

Your Ad Here

A point. However, decent nightly maintenance (tmpreaper) keepstmp's contents small:

More memory = slower system WTF
On Friday 27 January 2006 02:31, Captain Dondo stood up and spoke the following words to the mbuttes incomp.os.linux.misc...: That largely depends on the hardware and...
connect PPPoE Broadband using USB Modem
On Tue, 14 Feb 2006 11:24:40 -0500, John-Paul Stewart I would guess that manhandling your eth0-setup is NOT the right path to go. What makes you think that the PC should...

ext2 vs ext3 406
This doesn't seem logical. During what write operations would otherwise-absent steps required to (first) write to a journal not impose overhead? Of course, in pointing out the fallacy posted (a blanket claim...

# Time files intmp are kept in days. TMPTIME=7

# tmpreaper.conf # - local configuration for tmpreaper's daily run # # This is only used ifetc-cron.daily-tmpreaper was also updated, # i.e. there's a line ".etc-tmpreaper.conf" in that file.

# Remove the next line if you understand the possible security implications of # having tmpreaper run automatically; # seeusr-share-doc-tmpreaper-README.security.gz

SHOWWARNING=false

if "$SHOWWARNING" = true ; then echo "Please readusr-share-doc-tmpreaper-README.security.gz first;" echo "editetc-tmpreaper.conf to remove this message." exit 0 fi

ext2 vs ext3 408
On Thu, 19 Jan 2006 18:59:35 -0500, Rick Moen staggered into the Black Sun and said: I'm sorry, but kindly stop acting...

# TMPREAPERTIME # is the max. age of files before they're removed. # default: # the TMPTIME value inetc-default-rcS if it's there, else # TMPREAPERTIME=7d (for 7 days) # I recommend setting the value inetc-default-rcS, as # that is used to clean outtmp whenever the system is booted. # # TMPREAPERPROTECTEXTRA # are extra patterns that you may want to protect. # Example: # TMPREAPERPROTECTEXTRA='-tmp-isdnctrl*tmp-important*' # # TMPREAPERDIRS # are the directories to clean up. # *never* supply here! That will wipe most of your system! # Example: # TMPREAPERDIRS='-tmp-.var-tmp-.' # # TMPREAPERADDITIONALOPTIONS # extra options that are pbutted to tmpreaper, e.g. --all

# magic to get the TMPREAPERTIME value frometc-default-rcS

eval $(grep '^TMPTIME='etc-default-rcS) fi if -n "$TMPTIME" -a "$TMPTIME" -gt 0 ; then TMPREAPERTIME=${TMPTIME}d else TMPREAPERTIME=7d fi # uncomment and change the next line to overrule theetc-default-rcS value # TMPREAPERTIME=7d

TMPREAPERPROTECTEXTRA='' TMPREAPERDIRS='-tmp-.' TMPREAPERADDITIONALOPTIONS=''

#!-bin-sh PATH=-usr-sbin:-usr-bin:-sbin:-bin

# in case of `dpkg -r' leaving conffile. if ! -xusr-sbin-tmpreaper ; then exit 0 fi

# Remove `-tmp-...' files not accessed in X time (configured in #etc-tmpreaper.conf, default 7 days), protecting the .X, .ICE, .iroha and # .ki2 files; but removing symlinks. For directories not the access time, but # the modification time is used (--mtime-dir), as reading a directory to check # the contents will update the access time! # # In the default,tmp-. is used, not the plaintmp you might expect, as this # accomodates the situation wheretmp is a symlink to some other place. # # Note that the sockets are safe even without the `--protect', unless `--all' # is given, and the `.X*-lock' files would be safe also, as long as they have # no write permissions, so this particular protect is mainly illustrative, and # redundant. For best results, don't try to get fancy with the moustache # expansions. KISS. Always --test your protect patterns. # # Immutable files (such as ext3fs' .journal) are not (cannot be) removed; # when such a file is encountered when trying to remove it, no error is given # unless you use the --verbose option in which case a message is given. # # In case you're wondering: .iroha is for cannaserver and .ki2 is for kinput2 # (japanese software, lock files). # journal.dat is for (older) ext3 filesystems # quota.user, quota.group is for (duh) quotas.

# ! Important ! The "set -f" below prevents the shell from expanding # file paths, which is vital for the configuration below to work.

set -f

if -setc-tmpreaper.conf ; then .etc-tmpreaper.conf fi

# Verify that these variables are set, and if not, set them to default values # This will work even if the required lines are not specified in the included # file above, but the file itself does exist. TMPREAPERTIME=${TMPREAPERTIME:-7d} TMPREAPERPROTECTEXTRA=${TMPREAPERPROTECTEXTRA:-''} TMPREAPERDIRS=${TMPREAPERDIRS:-'-tmp-.'}

nice -n10 tmpreaper --delay=256 --mtime-dir --symlinks $TMPREAPERTIME $TMPREAPERADDITIONALOPTIONS --ctime --protect '-tmp-.X*-{lock,unix,unix-*}' --protect '-tmp-.ICE-{unix,unix-*}' --protect '-tmp-.iroha{unix,unix-*}' --protect '-tmp-.ki2-{unix,unix-*}' --protect '-tmp-lost+found' --protect '-tmp-journal.dat' --protect '-tmp-quota.{user,group}' `for i in $TMPREAPERPROTECTEXTRA; do echo --protect "$i"; done` $TMPREAPERDIRS



Your Ad Here

List | Previous | Next

ext2 vs ext3 406

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

ext2 vs ext3 404