Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nocache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Danil Mikhailov
nocache
Commits
19dacfa6
Commit
19dacfa6
authored
Jul 08, 2013
by
Danil Mikhailov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Nocache initial commit with spec
parent
359fad8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
nocache.spec
.gear/nocache.spec
+55
-0
rules
.gear/rules
+3
-0
No files found.
.gear/nocache.spec
0 → 100644
View file @
19dacfa6
Name: nocache
Version: 0.9
Release: alt1
Summary: nocache - minimize filesystem caching effects
License: GPL
Group: <группа>
Url: https://github.com/Feh/nocache
Source: %name-%version.tar
Patch:
Packager: <ваше имя> <$login@altlinux.org>
PreReq:
Requires:
Provides:
Conflicts:
BuildPreReq:
BuildRequires:
BuildArch:
%description
The nocache tool tries to minimize the effect an application has on the Linux
file system cache. This is done by intercepting the open and close system calls
and calling posix_fadvise with the POSIX_FADV_DONTNEED parameter. Because the
library remembers which pages (ie., 4K-blocks of the file) were already in file
system cache when the file was opened, these will not be marked as "don't need",
because other applications might need that, although they are not actively used
(think: hot standby).
Use case: backup processes that should not interfere with the present state of the cache.
%prep
%setup
%patch1 -p1
%build
%configure
%make_build
%install
%makeinstall_std
%check
%make_build check
%files
%_bindir/*
%_man1dir/*
%doc AUTHORS NEWS README
%changelog
* <дата> <ваше имя> <$login@altlinux.org> <версия-пакета>-<релиз пакета>
- initial build for ALT Linux Sisyphus
\ No newline at end of file
.gear/rules
0 → 100644
View file @
19dacfa6
tar: .
spec: .gear/nocache.spec
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment