Solved

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

Posted on 2003-11-07
3
350 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 500 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

828 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