G
Greg
I am trying to write a simple file system using c. It will consist of
frames of 512 bytes, and will have a superblock etc.
From the outside it will appear as a single file in UNIX. I want to
create the file and fill it with garbage at first before I write the
superblock.
My first question is: what is the best way to create a file and fill
it with garbage?
Thanks
Greg
frames of 512 bytes, and will have a superblock etc.
From the outside it will appear as a single file in UNIX. I want to
create the file and fill it with garbage at first before I write the
superblock.
My first question is: what is the best way to create a file and fill
it with garbage?
Thanks
Greg