Find the answer to your Linux question:
Results 1 to 7 of 7
Hi I would like to use the ext2 source in my own embedded application. Idealy I would like to have a set of functions like open, close ,write, read etc ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2012
    Posts
    8

    Using ext2 without Linux


    Hi

    I would like to use the ext2 source in my own embedded application. Idealy I would like to have a set of functions like open, close ,write, read etc so that I can write data to a hard drive. Is it possible to get the source from Linux and do this, or has someone else already done it?

    Thanks

    Jon

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    1,167
    You can get source code from the Ext2fs homepage
    "I'm just a little old lady; don't try to dazzle me with jargon!"

  3. #3
    Just Joined!
    Join Date
    Jul 2012
    Posts
    8
    Thanks for the reply. I have had a look but I can't see the source.

  4. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,221
    There is a link to the git repository of the userland tools around ext2/3/4
    E2fsprogs: Ext2 Filesystem Utilities

    If you are interested in how the kernel modules for these filesystems are implemented, then get the kernel source here The Linux Kernel Archives
    You must always face the curtain with a bow.

  5. #5
    Just Joined!
    Join Date
    Jul 2012
    Posts
    8
    What I am ideally looking for with ext2/ext3 is something similar to what I could go out and buy for FAT32. So the source code with a nice set of functions that I can call to do the various file options. I want to use it with FreeRTOS rather than Linux.

  6. #6
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    778
    From my brief reading of their project's home page, it doesn't appear there are even device drivers distributed with that 'OS.' I think there are a lot of steps between using a base FreeRTOS and implementing ext2/3.

  7. #7
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,307
    Quote Originally Posted by beandigital View Post
    What I am ideally looking for with ext2/ext3 is something similar to what I could go out and buy for FAT32. So the source code with a nice set of functions that I can call to do the various file options. I want to use it with FreeRTOS rather than Linux.
    What about Ext2Fsd or ext2 IFS? They are both windows drivers for accessing ext2/3 filesystems.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •