Search:

Type: Posts; User: jcas1411

Search: Search took 0.00 seconds.

  1. Replies
    20
    Views
    4,416

    found my own answer.. maybe Windows uses...

    found my own answer.. maybe

    Windows uses unbuffered disk IO whereas Linux uses unbuffered file IO

    http://www.developer.com/net/cplus/article.php/10919_2119781_5

    nice help how to do on either...
  2. Replies
    20
    Views
    4,416

    my bad.. ntfs in linux isnt broken.. had a fat32...

    my bad.. ntfs in linux isnt broken.. had a fat32 drive in.. sparse files fool fat32 but not ntfs..

    in Windows the CreateFile method is actually creating a handler for direct disk IO.. that is what...
  3. Replies
    20
    Views
    4,416

    my bad.. was formated fat32.. df reports ntfs...

    my bad.. was formated fat32.. df reports ntfs correctly

    got excited there for a moment...
  4. Replies
    20
    Views
    4,416

    sweet.. df does report that 0 mb is available...

    sweet.. df does report that 0 mb is available (even though it lets me write to it).. now to find what df is using!
  5. Replies
    20
    Views
    4,416

    Thanks for the suggestion but NTFS is not a block...

    Thanks for the suggestion but NTFS is not a block based file system
  6. Replies
    20
    Views
    4,416

    completely understand.. does the Linux kernel...

    completely understand.. does the Linux kernel prevent you from talking to an NTFS driver directly to check drivespace? or is there a better way in C to find out the available disk space, what/how...
  7. Replies
    20
    Views
    4,416

    yep..

    yep..
  8. Replies
    20
    Views
    4,416

    The only problem I see with this is that it...

    The only problem I see with this is that it doesn't reserve space on the disk, using the code below I was able to write 10 files of 640MB each to a 1GB pen drive. This method creates sparse files...
  9. Replies
    20
    Views
    4,416

    Thanks but I stated that above.

    Thanks but I stated that above.
  10. Replies
    20
    Views
    4,416

    Create File of X size

    I know how in Windows to create a file with an exact size x

    Using the Win32 API, CreateFile, SetFilePointerEx, SetEndOfFile, and CloseHandle in that same order but how could I do something similar...
Results 1 to 10 of 10