Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
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 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…

707 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

18 Experts available now in Live!

Get 1:1 Help Now