HELP: Initializing Partition Table (?)
joe_os2001 at yahoo.com
Mon Jul 26 10:09:39 UTC 2004
I am trying to access my hard disk and floppy using
rtems. I am using the fsmount source code of
Thomas.Doerfler at imd-systems.de.
First thing I am trying is to initialize partition
(should be partition table initialization executed
after mount operation??? I am trying it before!)
I am using rtems 4.6 in a linux mandrake box in a i386
The source code I have is the following:
rc = rtems_ide_part_table_initialize("/dev/hda");
I can see it failling in the for cicle of the
rtems_ide_part_table_initialize() function in the
ide_part_table.c file. It fails when it try to get the
partition table! The source of the failure is in the
stat() function which doesnt find the hda!
If I list all existing directories in the /dev I see
Where is the hda???
Should I try to initialize partition table for
/dev/hda or should I initialize partition table for
Why hda doesnt exists?
If I try to initialize partition table for /dev/ide it
works well but it raises an exception 13 at the end
What I am doing wrong?
Is there any readme or tutorial or how-to explaining
How to mount msdos file system in RTEMS?
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
More information about the users