Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Minix Operating system-C Language; need to view disk blocks

Posted on 2003-11-07
3
Medium Priority
?
359 Views
Last Modified: 2010-04-21
i need to view the files blocks along with the name last access time and inode number, i have managed to do the last three but not the block number
im using the following header
include<stat.h>
include<dirent>
inlcude<stdio.h> etc

all i need to know is how i can view the files blocks address, i know inode.h holds an array of blocks
0
Comment
Question by:thegameskeeper
3 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9703405
check the files under src/fs/*.h.
u might all the definition for data structures and there u can move on.
0
 

Author Comment

by:thegameskeeper
ID: 9710607
t
0
 
LVL 45

Accepted Solution

by:
sunnycoder earned 1500 total points
ID: 9720395
if you are still interested, look under extra help and extra help #2 sections at this link
http://cs.dixie.edu/f03/cs3400/Programs/p6.htm
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question