01-28-2011
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 form of FAT introduced to the world & I guess therefore it would be much simpler & easier to implement. I read that in FAT-12 the Floppy Disk Drive's blocks are stored in a linked list style data structure & that there will be a root block containing the logical address of the next contiguous block of a file & that contiguous block containing the logical address of the next block on the floppy disk drive & so on. I guess I could try to implement this using a simple linked list data structure using c together with the FAT
.
I'll be going through the pointers you've given me so far & getting started on this. Thank you so much for helping me get this far
.
---------- Post updated 01-28-11 at 05:49 AM ---------- Previous update was 01-27-11 at 11:20 PM ----------
Hi All,
I found
this explaining how to write a file to a FAT-12 file system. But I'm still finding trouble finding a basic code to get me started on this. Can anyone of you help me out here please ?.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi all
I am facing a strange problem.
I am using a sun ultra10 spark machine.
first i took a 20gb IDE hard disk and installed solaris 5.8.
But due to some requirement i have to reinstall the OS but this time solaris 2.6.
and now the hard disk capacity is only showing 8gb.
Where the 12gb... (3 Replies)
Discussion started by: Prafulla
3 Replies
2. Filesystems, Disks and Memory
I had an issue with a second hard disk in my machine. I have a sparc station running solaris 7. It was working fine but now it wont mount on boot up and when you try to mount it manually it gives an I/O error. I tried a different disk as a control which was fine. What I want to know is if my... (3 Replies)
Discussion started by: Henrik
3 Replies
3. Filesystems, Disks and Memory
Hi all,
I am using SCO Openserver V and I want to add one more harddisk (/dev/hd1) Hw can I do it? (1 Reply)
Discussion started by: skant
1 Replies
4. UNIX Desktop Questions & Answers
I have a cuestion. How Can I to add other hard disk to my computer? I need to configurate anyone? (4 Replies)
Discussion started by: hmaraver
4 Replies
5. UNIX for Dummies Questions & Answers
How can we check the number of hard disks (both internal & external) in a server, their capacity and serial number (5 Replies)
Discussion started by: muneebr
5 Replies
6. UNIX for Dummies Questions & Answers
:eek: I use this Solaris to run CMS a call acounting software package for my job. No one could run reports today because it said the this when you logged on
"The following file systems are low, and could adversely affect server performance:
File system /: 99%full"
Can some one please explain... (9 Replies)
Discussion started by: mannyisme
9 Replies
7. UNIX for Dummies Questions & Answers
Hi guys i have created a linux machine in virtual box now i want to add some hard disk space into it.
How would i do this.
Please help.
Machine details are as below
# lsb_release -a
LSB Version: :core-3.1-ia32:core-3.1-noarch:graphics-3.1-ia32:graphics-3.1-noarch
Distributor ID:... (7 Replies)
Discussion started by: pinga123
7 Replies
8. SCO
hi
I've a fresh installation of SCO 5.0.7 on the IDE hard disk.
For SCSI hard disk I can declare, for example blc disk driver using:
# mkdev hd 0 SCSI-0 0 blc 0but it works for IDE hard disk? (3 Replies)
Discussion started by: ccc
3 Replies
9. Red Hat
When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme "
Some one help me out... (1 Reply)
Discussion started by: nagraz007
1 Replies
10. UNIX for Advanced & Expert Users
When we write a programme,we declare variables and compiler allocates memory to them.I want to get access to the physical block number of hard-disk where actually the data is stored by the programme "
Some one help me out... (3 Replies)
Discussion started by: nagraz007
3 Replies
LEARN ABOUT SUSE
mbadblocks
mbadblocks(1) General Commands Manual mbadblocks(1)
Name
mbadblocks - tests a floppy disk, and marks the bad blocks in the FAT
Note of warning
This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the
end of this man page for details.
Description
The mbadblocks command is used to scan an MS-DOS floppy and mark its unused bad blocks as bad. It uses the following syntax:
mbadblocks drive:
Mbadblocks scans an MS-DOS floppy for bad blocks. All unused bad blocks are marked as such in the FAT. This is intended to be used right
after mformat. It is not intended to salvage bad disks.
Bugs
Mbadblocks should (but doesn't yet :-( ) also try to salvage bad blocks which are in use by reading them repeatedly, and then mark them
bad.
See Also
Mtools' texinfo doc
Viewing the texi doc
This manpage has been automatically generated from mtools's texinfo documentation. However, this process is only approximative, and some
items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate repre-
sentation in the manpage format. Moreover, not all information has been translated into the manpage version. Thus I strongly advise you
to use the original texinfo doc. See the end of this manpage for instructions how to view the texinfo doc.
* To generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips mtools.dvi
* To generate a html copy, run:
./configure; make html
A premade html can be found at `http://www.gnu.org/software/mtools/manual/mtools.html'
* To generate an info copy (browsable using emacs' info mode), run:
./configure; make info
The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the
quoting conventions used in info.
mtools-4.0.13 28Feb10 mbadblocks(1)