[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: Add cachefilesd-inotify.
From: |
guix-commits |
Subject: |
08/09: gnu: Add cachefilesd-inotify. |
Date: |
Wed, 23 Jun 2021 18:42:41 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 26a04f70fa7a3f3f661ba185d9266218eddab9b1
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Thu Jun 24 00:20:53 2021 +0200
gnu: Add cachefilesd-inotify.
* gnu/packages/file-systems.scm (cachefilesd-inotify): New public
variable.
---
gnu/packages/file-systems.scm | 47 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm
index e2335b8..fabcc10 100644
--- a/gnu/packages/file-systems.scm
+++ b/gnu/packages/file-systems.scm
@@ -200,6 +200,53 @@ another location, similar to @command{mount --bind}. It
can be used for:
@end itemize ")
(license license:gpl2+)))
+(define-public cachefilesd-inotify
+ (package
+ (name "cachefilesd-inotify")
+ (version "0.11.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/tomalok/cachefilesd-inotify")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0qkrpz69ql6fb3fwh0l35hhf9znnqyxhgv5fzd1gl2a2kz13rq5a"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:make-flags
+ (list (string-append "CC=" ,(cc-for-target))
+ ;; The Makefile doesn't support prefix= or similar.
+ (string-append "DESTDIR=" (assoc-ref %outputs "out"))
+ "MANDIR=/share/man")
+ #:tests? #f ; no test suite
+ #:phases
+ (modify-phases %standard-phases
+ (delete 'configure)))) ; no configure script
+ (home-page "https://gitlab.com/tomalok/cachefilesd-inotify")
+ (synopsis
+ "CacheFiles file system cache management daemon (using @code{inotify})")
+ (description
+ "This package provides the user space component of CacheFiles, a caching
+back end that uses a directory on a locally mounted file system (such as ext4)
+as a cache to speed up (by reducing) access to a slower file system and make it
+appear more reliable.
+
+The cached file system is often a network file system such as NFS or CIFS, but
+can also be a local file system like ISO 9660 on a slow optical drive.
+
+CacheFiles itself is part of the kernel but relies on this user space
+@command{cachefilesd} daemon to perform maintenance tasks like culling and
+reaping stale nodes. Only one such daemon can be running at a time, and
+communicates with the kernel through the @file{/dev/cachefiles} character
+device.
+
+This version modifies David Howells original cachefilesd---which appears
+unmaintained---to use the @code{inotify} API instead of the deprecated
+@code{dnotify} to monitor file changes.")
+ (license license:gpl2+)))
+
(define-public davfs2
(package
(name "davfs2")
- branch master updated (1f3d7b4 -> 834f78f), guix-commits, 2021/06/23
- 03/09: gnu: s2n: Expand description., guix-commits, 2021/06/23
- 01/09: gnu: clamav: Update to 0.103.3., guix-commits, 2021/06/23
- 06/09: gnu: ell: Update to 0.41., guix-commits, 2021/06/23
- 07/09: gnu: iwd: Update to 1.15., guix-commits, 2021/06/23
- 09/09: gnu: rng-tools: Update to 6.13., guix-commits, 2021/06/23
- 02/09: gnu: s2n: Update to 1.0.10., guix-commits, 2021/06/23
- 04/09: gnu: nix: Update to 2.3.12., guix-commits, 2021/06/23
- 05/09: gnu: vmpk: Update to 0.8.3., guix-commits, 2021/06/23
- 08/09: gnu: Add cachefilesd-inotify.,
guix-commits <=