Solved

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

Posted on 2003-11-07
3
351 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
what is a good general partitioning scheme for RHEL? 23 151
text in table need to be center of the box 4 87
NTP Server in VMware 5 466
Access_log 17 183
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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.
Suggested Courses

739 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