Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

What various types of caching are possible in the ext3 file system and how can their values be changed using system calls or other methods? I don't want to use commands or tools.

share|improve this question
4  
In the unix world, commands and tools ARE the world. If you want to know how to do something with system calls the best thing to do is look through the source code for the tools. However, rather than re-implementing those things it is highly recommended that you use the tools so that you don't have to keep up with file system development progress! –  Caleb Apr 27 '11 at 8:28
1  
You'll find most of what you want with the sysctl command and similar tools, mostly under the fs tree. Try running the command sysctl fs. Documentation can be found kernel.org/doc/Documentation/sysctl –  penguin359 Apr 28 '11 at 0:59

1 Answer 1

The answer, above - provides a documentation link.

Documentation can be found kernel.org/doc/Documentation/sysctl – penguin359 Apr 28 at 0:59

However the documentation link only provides; (raw html from the link)

<html>
<title>Documentation/sysctl</title>
<body>
<ul>
<li><a href="00-INDEX">00-INDEX</a> - this file.</li>
<li><a href="README">README</a> - general information about /proc/sys/ sysctl files.</li>
<li><a href="abi.txt">abi.txt</a> - documentation for /proc/sys/abi/*.</li>

<li><a href="fs.txt">fs.txt</a> - documentation for /proc/sys/fs/*.</li>
<li><a href="kernel.txt">kernel.txt</a> - documentation for /proc/sys/kernel/*.</li>
<li><a href="net.txt">net.txt</a> - documentation for /proc/sys/net/*.</li>
<li><a href="sunrpc.txt">sunrpc.txt</a> - documentation for /proc/sys/sunrpc/*.</li>
<li><a href="vm.txt">vm.txt</a> - documentation for /proc/sys/vm/*.</li>

</ul>
</body>
</html>

The following links will provide significantly more information, far too much to post here;

  1. Wikipedia - provides a good overview and introduction
  2. FreeBSD Man Pages - information for the more adventurous
share|improve this answer
    
It's helpful if you post some sort of explanation here as well, in addition to links that provide more information –  Michael Mrozek Jun 8 '11 at 18:46
1  
Dumping the HTML source of a web page that doesn't even contain any relevant content is absolutely not helpful. –  Gilles Jun 8 '11 at 19:59
    
The code is from, "Documentation can be found kernel.org/doc/Documentation/sysctl". I wanted/want to show what was actually on the page (unedited). The above comment wanted more information on the links and why I posted it. –  Syborgia Alphas Jun 8 '11 at 20:05
    
Michael Mrozek, will you edit my answer to meet your request and remedy (unix.stackexchange.com/users/885/gilles) objection. The code in my answer is where (unix.stackexchange.com/users/6167/penguin359) link takes you. –  Syborgia Alphas Jun 8 '11 at 20:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.