Received: from ncopa-desktop.lan (ti0056a400-2261.bb.online.no [85.167.111.220]) (Authenticated sender: ncopa@alpinelinux.org) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPSA id 8F460781038; Mon, 22 Aug 2022 05:48:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1661147284; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HjKtczwyR4xFEDxrnkAlpRhEMFmsGx2f0DQB7NJG/ns=; b=jELa+rNKpcZWpQ672j9cD1RLfm45EmnFWIB4aLpQwb3EAdqDIz+ZMUsj9lyvtxoSh/ooDj ggBzR+RDVodrc6/fc4beueCuMiEINLR6/rX0BM/8qlLI6Pv1gv4ZR62guezNnT3X1ho2xF YGW9sjsdeNyBxJTZJsGso+UrVQJMq4o= Date: Mon, 22 Aug 2022 07:48:02 +0200 From: Natanael Copa To: Jordan Christiansen Cc: ~alpine/users@lists.alpinelinux.org Subject: Re: Origin of /etc/periodic in Alpine Message-ID: <20220822074802.06c30827@ncopa-desktop.lan> In-Reply-To: References: X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi, On Sat, 20 Aug 2022 12:45:24 -0500 Jordan Christiansen wrote: > Does anyone know the history of /etc/periodic in Alpine? As far as I > know, periodic was invented by FreeBSD[1], and I haven't found any > other systems that support it, not even other BSDs. I think the > implementation of periodic in Alpine[2] is very simple and elegant. > FreeBSD's implementation may have a couple extra features, but it's > also a standalone program with an associated config file. In Alpine, 5 > lines in the default crontab are enough to give us 95% of the features. > > Whose idea was this? Does any other Linux distro support periodic? > > [1]: > https://www.freebsd.org/cgi/man.cgi?query=periodic&manpath=FreeBSD+13.1-RELEASE+and+Ports > [2]: > https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/alpine-baselayout/crontab Many ideas from early days of Alpine comes from FreeBSD. /etc/periodic is one of them. I wanted something that felt like *BSD, but had linux kernel with the better hardware support. Also first iteration of apk-tools was based on FreeBSD's pkg_add. http://apk-tools.sourceforge.net -nc