Advanced file system manipulation


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 1 of 1

Thread: Advanced file system manipulation

Threaded View

  1. #1
    Join Date
    Oct 2005
    Posts
    1

    Question Advanced file system manipulation

    Hello,

    I would like to build a program to pack/unpack files without compression in a fast way using advanced file system manipulations. Here's how i want to do it:

    Imagine we have some large files A, B, C (1GB each, for example). I want to pack them in a file called ABC.pack doing the following:

    1- I will create a header file (ABC.header) for the packed file, containing information about packed files (A, B, C): size, name, etc.
    2- Manipulating the file system, I will "merge" header and files (ABC.header, A, B, C) into one file (ABC.pack), but WITHOUT MOVING DATA, just modifying the file system "pointers" or wharever they are called.

    So, from this situation (header is already generated):

    Code:
       ABC.header     A           B            C
       |                   |           |            |
       v                   v           v            v
       [ header data ][ A data ][ B data ][ C data ]
    After the process of packing/merging we will have this situation:

    Code:
       ABC.pack
       |
       v
       [ header data    A data    B data    C data ]
    We can go back to the initial situation because the ABC.pack file has information (in the header) about the files that were merged.

    Of course, data can be fragmented, initially or after merging. At least, after merging, data will be surely fragmented in the limits of each file data (header, A, B, C).

    Do you know how can I program this merging?
    Or there is already a program that can do this?

    If I haven't explain it well please just ask me. I know it's somewhat confusing.

    Thank you,
    Ranma
    Last edited by ranma172; 10-18-2005 at 04:18 AM.

Similar Threads

  1. Platform Independent File System
    By java_van_dyk in forum Java
    Replies: 0
    Last Post: 07-25-2005, 03:34 PM
  2. File System API's
    By Brad Siemens in forum VB Classic
    Replies: 84
    Last Post: 09-10-2001, 08:19 AM
  3. Create Procedure
    By YC Choo in forum Database
    Replies: 5
    Last Post: 09-03-2001, 01:42 PM
  4. Replies: 0
    Last Post: 08-22-2000, 10:54 PM
  5. Storing a file on the client's system
    By Anitha in forum authorevents.kurata
    Replies: 1
    Last Post: 04-18-2000, 12:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center