Search Results

Search: Posts Made By: shen747
Forum: Linux 01-28-2011
26,182
Posted By shen747
Hi Corona688, Thanks for pointing the FAT-12...
Hi Corona688,

Thanks for pointing the FAT-12 issue out. I changed my disk format to FAT-16. Following is my new HEXDUMP:


$ sudo hexdump -C /dev/loop0 | head

00000000 eb 3c 90 6d 6b 64 6f...
Forum: Linux 01-28-2011
26,182
Posted By shen747
Hi Corona688, Thanks a lot for pointing that...
Hi Corona688,

Thanks a lot for pointing that out. I've been doing some reading & now I feel going for the FAT-12(classical floppy disk) format file system would be the best idea as it was the 1st...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, Thank you very very much for...
Hi Corona688,

Thank you very very much for the immense support you've given me throughout this thread. I've learned a lot from you since I started this thread :). I understand what I should do and...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, I found the following article...
Hi Corona688,

I found the following article through a Google search(while awaiting your reply) on creating a floppy drive with the loop back device and got it mounted.


CREATING A Virtual...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, I think going with the MS-DOS...
Hi Corona688,

I think going with the MS-DOS filesystem (FAT-16) is a much better Idea. I formatted my current loop back device using the command you gave as follows :


$ sudo fsck.msdos -F 16...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, So you mean I should find how...
Hi Corona688,

So you mean I should find how the ext3 (as I've formatted my loop back disk with ext3 with mkfs tool) creates files & directories on the hard disk drive ?. Is that approach correct...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, I just reorganized my code &...
Hi Corona688,

I just reorganized my code & came up with the following structure & it works like a charm. But I'm still having trouble creating a file inside the block device using the

int...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, I used your code & it works...
Hi Corona688,

I used your code & it works like a charm. I organized the code into simple separate functions as shown below.



#include <sys/types.h>
#include <unistd.h>
#include...
Forum: Linux 01-27-2011
26,182
Posted By shen747
Hi Corona688, Could you please give me an...
Hi Corona688,

Could you please give me an example code sample using the above 03 methods. A pointer to get me started on them ?. Because I feel I'll have to deal with the file descriptor at some...
Forum: Linux 01-26-2011
26,182
Posted By shen747
Hi dsw, Thanks for the reply. I will check...
Hi dsw,

Thanks for the reply. I will check that.
Forum: Linux 01-26-2011
26,182
Posted By shen747
HI dsw, I changed the permissions of the...
HI dsw,

I changed the permissions of the /dev/loop0 to chmod 777 & then ran the command you gave and got the following results :


brw-rw---- 1 root disk 7, 0 2011-01-26 16:39 /dev/loop0

...
Forum: Linux 01-26-2011
26,182
Posted By shen747
C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)
Hi all,

I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a...
Showing results 1 to 12 of 12

 
All times are GMT -4. The time now is 07:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy