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
0ec725e4
Commit
0ec725e4
authored
Jul 08, 2013
by
Danil Mikhailov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Alpha. Package builded.
parent
19dacfa6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
24 deletions
+25
-24
nocache.spec
.gear/nocache.spec
+25
-24
No files found.
.gear/nocache.spec
View file @
0ec725e4
...
...
@@ -3,52 +3,54 @@ Version: 0.9
Release: alt1
Summary: nocache - minimize filesystem caching effects
License: GPL
Group: <группа>
License: GPL
Group: File tools
Url: https://github.com/Feh/nocache
Source: %name-%version.tar
Patch:
Packager: <ваше имя> <$login@altlinux.org>
Packager: Daniil Mikhailov <danil@etersoft.ru>
PreReq:
Requires:
Provides:
Conflicts:
#
PreReq:
#
Requires:
#
Provides:
#
Conflicts:
BuildPreReq:
BuildRequires:
BuildArch:
#
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
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
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
##
%patch1 -p1
%build
%configure
#configure
# CFLAGS=-D_FILE_OFFSET_BITS=64
%make_build
%install
%makeinstall_std
%makeinstall_std
PREFIX=%prefix LIBDIR=/%_lib
%check
%
make_build check
#
make_build check
%files
%_bindir/*
%_libdir/nocache.so
%_man1dir/*
%doc
AUTHORS NEWS README
%doc
README COPYING
%changelog
* <дата> <ваше имя> <$login@altlinux.org> <версия-пакета>-<релиз пакета>
- initial build for ALT Linux Sisyphus
\ No newline at end of file
* Mon Jul 08 2013 Daniil Mikhailov <danil@etersoft.ru> 0.9-alt1
- initial build for ALT Linux Sisyphus
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