ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] /tmp
@ 2003-10-25  9:38 Sergey B.
  2003-10-26 15:54 ` Vitaly Lipatov
  0 siblings, 1 reply; 8+ messages in thread
From: Sergey B. @ 2003-10-25  9:38 UTC (permalink / raw)
  To: Alt Linux Community

Как сделать так, чтобы при каждой загрузке компа чистился /tmp ???


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] /tmp
  2003-10-25  9:38 [Comm] /tmp Sergey B.
@ 2003-10-26 15:54 ` Vitaly Lipatov
  2003-10-26 16:34   ` eee-ee
  2003-10-26 17:23   ` Michael Shigorin
  0 siblings, 2 replies; 8+ messages in thread
From: Vitaly Lipatov @ 2003-10-26 15:54 UTC (permalink / raw)
  To: community

On 25 Октябрь 2003 13:38, Sergey B. wrote:
> Как сделать так, чтобы при каждой загрузке компа чистился /tmp
Поместить команду очистки (rm -f /tmp/*) в файл 
/etc/rc.d/rc.local
-- 
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! LaTeX! LyX!


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] /tmp
  2003-10-26 15:54 ` Vitaly Lipatov
@ 2003-10-26 16:34   ` eee-ee
  2003-10-26 16:57     ` Shrek
  2003-10-26 17:23   ` Michael Shigorin
  1 sibling, 1 reply; 8+ messages in thread
From: eee-ee @ 2003-10-26 16:34 UTC (permalink / raw)
  To: community

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


 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] /tmp
  2003-10-26 16:34   ` eee-ee
@ 2003-10-26 16:57     ` Shrek
  2003-10-26 21:02       ` eee-ee
  0 siblings, 1 reply; 8+ messages in thread
From: Shrek @ 2003-10-26 16:57 UTC (permalink / raw)
  To: community


>>>Как сделать так, чтобы при каждой загрузке компа чистился /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-*
>  
>
для этого есть /etc/rc.d/scripts/cleanup



^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Comm] Re: /tmp
  2003-10-26 15:54 ` Vitaly Lipatov
  2003-10-26 16:34   ` eee-ee
@ 2003-10-26 17:23   ` Michael Shigorin
  1 sibling, 0 replies; 8+ messages in thread
From: Michael Shigorin @ 2003-10-26 17:23 UTC (permalink / raw)
  To: community

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/*) в файл 

злой ты. (см stmpclean)

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] /tmp
  2003-10-26 16:57     ` Shrek
@ 2003-10-26 21:02       ` eee-ee
  2003-10-27  6:23         ` Igor Homyakov
  0 siblings, 1 reply; 8+ messages in thread
From: eee-ee @ 2003-10-26 21:02 UTC (permalink / raw)
  To: community

On Sun, Oct 26, 2003 at 07:57:03PM +0300, Shrek 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-*
> > 
> >
> для этого есть /etc/rc.d/scripts/cleanup
Тогда в чем проблема?
> 
> _______________________________________________
> Community mailing list
> Community@altlinux.ru
> http://www.altlinux.ru/mailman/listinfo/community

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


 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Comm] /tmp
  2003-10-26 21:02       ` eee-ee
@ 2003-10-27  6:23         ` Igor Homyakov
  2003-10-27  6:39           ` [Comm] /tmp Денис Смирнов
  0 siblings, 1 reply; 8+ messages in thread
From: Igor Homyakov @ 2003-10-27  6:23 UTC (permalink / raw)
  To: community



* eee-ee%mail!ru <eee-ee%mail!ru> [031027 00:50]:
> On Sun, Oct 26, 2003 at 07:57:03PM +0300, Shrek wrote:
> > 
> > >>>Как сделать так, чтобы при каждой загрузке компа чистился /tmp
> > >>>     
> > >>>
> > >>Поместить команду очистки (rm -f /tmp/*) в файл 
> > >>/etc/rc.d/rc.local
> > >>   
[ skip ]

Самый простой способ -- разместить /tmp на tmpfs, при размонитровании 
все очищается.

-- 
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Comm] Re: /tmp
  2003-10-27  6:23         ` Igor Homyakov
@ 2003-10-27  6:39           ` Денис Смирнов
  0 siblings, 0 replies; 8+ messages in thread
From: Денис Смирнов @ 2003-10-27  6:39 UTC (permalink / raw)
  To: community

On Mon, Oct 27, 2003 at 09:23:46AM +0300, Igor Homyakov wrote:

 > Самый простой способ -- разместить /tmp на tmpfs, при размонитровании 
 > все очищается.

AFAIK tmpfs не поддерживает квот.
 
-- 
С уважением, Денис

http://freesource.info



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-10-27  6:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-25  9:38 [Comm] /tmp Sergey B.
2003-10-26 15:54 ` Vitaly Lipatov
2003-10-26 16:34   ` eee-ee
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

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