Re: Udf not getting loaded

"Salvatore Benedetto" <[email protected]> Mon, 18 Aug 2008 16:07:41 +0000
Newsgroups gmane.os.openbeos.kernel.devel
Message-ID <[email protected]>
On 18/08/2008, Ingo Weinhold <[email protected]> wrote:
>
>  On 2008-08-18 at 12:27:30 [+0200], Salvatore Benedetto <[email protected]>
>  wrote:
>
> >
>  > as of revision 27028, Udf "should" :-) be considered ported to the new FS
>  > API.
>  > I can confirm it compiles, but I'm having trouble to get the disk device
>  > manager
>  > loading the module. If I insert a DVD, iso9660 gets over it, but
>  > even if I remove iso9660 from the image, udf just does not get loaded.
>  >
>  > As far as I understood, the only function needed to get a FS module loaded
>  > is
>  > the identify_partition function, but probably I'm missing something as
>  > usual.
>  > If so, what else does it need to get loaded?
>
>
> For it to merely get loaded you only need to implement the module interface
>  and put it in the right place. For something reasonable to happen the basic
>  FS interface API needs to be implemented.
>
>  Auto-detection of partitions requires the identify_partition() and
>  scan_partition() hooks (plus free_identify_partition_cookie(), if you use
>  identify cookies that needs freeing). You haven't implemented the latter, so
>  it cannot work (cf. the ReiserFS implementation for how this needs to be
>  done).

Ok thanks.

>
>  Even when not implementing the *_partition() hooks, you can mount the FS
>  manually using the "mount" command.

I tried with mount but it fails to find the module
module: Search for file_systems/udf/v1 failed.

So I guess I'm missing something else, because I looked for udf and it is placed
in the file_systems directory with all the other modules.

Regards,
-- 
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer Engineer
University of Pisa
www.haiku-os.it

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/