Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IBM AIX Cannot Install AIX ToolKit Applications for Linux 11 142
AIX print queues constantly going down 11 492
Move nodes from one TSM to another. 3 61
Image not there 4 46
In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

863 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now