RSS Forums RSS
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 1660 | Replies: 1 | Thread Tools  Display Modes
Join Date: Apr 2006
Posts: 9
Reputation: sidereal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sidereal sidereal is offline Offline
Newbie Poster

Help File System simulation

  #1  
Apr 30th, 2006
Hey guys!!!
I know these simulations are too much but....
still another one and I am havin some problems with that///
I have to create a file system simulation that has to understand these commands:
cr a - create a new file named a, size ==0;
rm a - remove file a
op a - open file a
cl a - close file a
rd a - read file a
wr a - write file a
cp a b - copy file a to file b

I have to use:
DIRECTORY IMPLEMENTATITON
LINEAR LIST
ALLOCATION METHODS
CONTIGUOUS ALLOCATION
LINKED ALLOCATION(FAT)
FREE - SPACE MANAGEMENT
FREE-SPACE LIST
PROTECTION AND SECURITY

I HAVE TO USE AN ARRAY OF BYTES

P.S PLEASE GIVE ME SOME IDEA... I KNOW HOW TO DO SOME OF THE STAFF BUT I AM NOT SURE IF THIS IS THE RIGHT WAY TO APPROACH IT
LIKE INSTEAD OF ARRAY OF BYTES I WILL CREATE A BYTE BUFFER TO ALLOCATE THE SPACE...
BUT I HAVE NO IDEA HOW TO ALLOCATE THE SPACE ONCE THE FILE IS CREATED!!!!
AddThis Social Bookmark Button
Reply With Quote  

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the Java Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:32 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC