9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] feature request: log rotation
@ 2021-02-09 15:36 Stanley Lieber
  2021-02-16  4:53 ` [9front] " magma698hfsp273p9f
  0 siblings, 1 reply; 5+ messages in thread
From: Stanley Lieber @ 2021-02-09 15:36 UTC (permalink / raw)
  To: 9front

a machine sitting still should not fill up its own disk. let's design a sane default.

sl

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

* [9front] Re: feature request: log rotation
  2021-02-09 15:36 [9front] feature request: log rotation Stanley Lieber
@ 2021-02-16  4:53 ` magma698hfsp273p9f
  2021-02-16 23:34   ` Stanley Lieber
  0 siblings, 1 reply; 5+ messages in thread
From: magma698hfsp273p9f @ 2021-02-16  4:53 UTC (permalink / raw)
  To: 9front

Stanley Lieber <sl@stanleylieber.com> writes:

> a machine sitting still should not fill up its own disk. let's design
> a sane default.

Isn't that the whole idea behind the WORM filesystem paradigm?  Never
delete anything, just add more storage.  Right?

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

* Re: [9front] Re: feature request: log rotation
  2021-02-16  4:53 ` [9front] " magma698hfsp273p9f
@ 2021-02-16 23:34   ` Stanley Lieber
  2021-02-17  7:45     ` sirjofri
  0 siblings, 1 reply; 5+ messages in thread
From: Stanley Lieber @ 2021-02-16 23:34 UTC (permalink / raw)
  To: 9front

On February 15, 2021 11:53:42 PM EST, magma698hfsp273p9f@icebubble.org wrote:
>Stanley Lieber <sl@stanleylieber.com> writes:
>
>> a machine sitting still should not fill up its own disk. let's design
>> a sane default.
>
>Isn't that the whole idea behind the WORM filesystem paradigm?  Never
>delete anything, just add more storage.  Right?
>

i have seen many worms filled without human intervention. that's what i'd like to prevent.

i can roll my own log rotation, but why not provide a sensible default?

note: not all systems have a worm partition or are running dumps. the worm actually makes the problem worse.

sl

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

* Re: [9front] Re: feature request: log rotation
  2021-02-16 23:34   ` Stanley Lieber
@ 2021-02-17  7:45     ` sirjofri
  2021-02-17 14:59       ` Stanley Lieber
  0 siblings, 1 reply; 5+ messages in thread
From: sirjofri @ 2021-02-17  7:45 UTC (permalink / raw)
  To: Stanley Lieber


17.02.2021 00:34:17 Stanley Lieber <sl@stanleylieber.com>:
> On February 15, 2021 11:53:42 PM EST, magma698hfsp273p9f@icebubble.org 
> wrote:
>> Stanley Lieber <sl@stanleylieber.com> writes:
>>
>>> a machine sitting still should not fill up its own disk. let's design
>>> a sane default.
>>
>> Isn't that the whole idea behind the WORM filesystem paradigm?  Never
>> delete anything, just add more storage.  Right?
>>
>
> i have seen many worms filled without human intervention. that's what 
> i'd like to prevent.
>
> i can roll my own log rotation, but why not provide a sensible default?
>
> note: not all systems have a worm partition or are running dumps. the 
> worm actually makes the problem worse.

I thought dump only writes changed blocks, so if I don't write anything 
it doesn't fill the disk?

(Log files set to temporary)

sirjofri

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

* Re: [9front] Re: feature request: log rotation
  2021-02-17  7:45     ` sirjofri
@ 2021-02-17 14:59       ` Stanley Lieber
  0 siblings, 0 replies; 5+ messages in thread
From: Stanley Lieber @ 2021-02-17 14:59 UTC (permalink / raw)
  To: 9front

On February 17, 2021 2:45:55 AM EST, sirjofri <sirjofri+ml-9front@sirjofri.de> wrote:
>
>17.02.2021 00:34:17 Stanley Lieber <sl@stanleylieber.com>:
>> On February 15, 2021 11:53:42 PM EST, magma698hfsp273p9f@icebubble.org 
>> wrote:
>>> Stanley Lieber <sl@stanleylieber.com> writes:
>>>
>>>> a machine sitting still should not fill up its own disk. let's design
>>>> a sane default.
>>>
>>> Isn't that the whole idea behind the WORM filesystem paradigm?  Never
>>> delete anything, just add more storage.  Right?
>>>
>>
>> i have seen many worms filled without human intervention. that's what 
>> i'd like to prevent.
>>
>> i can roll my own log rotation, but why not provide a sensible default?
>>
>> note: not all systems have a worm partition or are running dumps. the 
>> worm actually makes the problem worse.
>
>I thought dump only writes changed blocks, so if I don't write anything 
>it doesn't fill the disk?
>
>(Log files set to temporary)
>
>sirjofri
>

a lot of programs write to files under /sys/log/.

files under /sys/log/ are not chmod +t by default.

sl

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

end of thread, other threads:[~2021-02-17 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 15:36 [9front] feature request: log rotation Stanley Lieber
2021-02-16  4:53 ` [9front] " magma698hfsp273p9f
2021-02-16 23:34   ` Stanley Lieber
2021-02-17  7:45     ` sirjofri
2021-02-17 14:59       ` Stanley Lieber

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
		9front@9front.org
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.9front


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