ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: eee-ee@mail.ru
To: community@altlinux.ru
Subject: Re: [Comm] /tmp
Date: Sun, 26 Oct 2003 21:34:07 +0500
Message-ID: <20031026163407.GB6482@joy.localdomain> (raw)
In-Reply-To: <200310261854.44003.LAV@VL3143.spb.edu>

On Sun, Oct 26, 2003 at 06:54:44PM +0300, Vitaly Lipatov wrote:
> On 25 Октябрь 2003 13:38, Sergey B. wrote:
> > Как сделать так, чтобы при каждой загрузке компа чистился /tmp
> Поместить команду очистки (rm -f /tmp/*) в файл 
> /etc/rc.d/rc.local
Лучше в rc.sysinit
И луше так:

# Delete X locks
rm -f /tmp/.X*-lock

# Delete VNC & X locks
rm -rf /tmp/.X*-unix 

# Clean ICE locks
mkdir -p /tmp/.ICE-unix
chown root:root /tmp/.ICE-unix
rm -rf /tmp/.ICE-unix/*
chmod a+rwx,+t /tmp/.ICE-unix

# Delete Postgres sockets
rm -f /tmp/.s.PGSQL.*

# GNOME and KDE related cleanup
rm -rf /tmp/.fam_socket /tmp/kde-* /tmp/ksocket-* /tmp/mcop-*
/tmp/orbit-* /tmp/.esd /tmp/.sawfish-*



> -- 
> Lav
> Виталий Липатов
> Санкт-Петербург
> GNU! ALT Linux Team! LaTeX! LyX!
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community

-- 
Best regards, 
Eugene Valeev		mailto:eee-ee@mail.ru


 


  reply	other threads:[~2003-10-26 16:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-25  9:38 Sergey B.
2003-10-26 15:54 ` Vitaly Lipatov
2003-10-26 16:34   ` eee-ee [this message]
2003-10-26 16:57     ` Shrek
2003-10-26 21:02       ` eee-ee
2003-10-27  6:23         ` Igor Homyakov
2003-10-27  6:39           ` [Comm] /tmp Денис Смирнов
2003-10-26 17:23   ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031026163407.GB6482@joy.localdomain \
    --to=eee-ee@mail.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git