2002-03-25 12:21:26

by Danny Tholen

[permalink] [raw]
Subject: Re: [Cooker] (RFC) Supermount 2


On Mon, 25 Mar 2002, Matthew D. Pitts wrote:
>
> I am starting to plan a new version of Supermount. I have some things I want to try out in it, and I will list them in this message. I am willing to accept any and all input on what I am wanting to call Supermount 2.
> Planned features of Supermount 2:
>
> 1) Auto-detection of filesystem type.
Meaning we will finally have CD-tracks visualized as WAV files? like CD-fs
does? Same goes for multisession disks.
>
> 2) Supermount modules for each filesystem type.
How is this on performance (first check for fs type than loading module?
than disk is removed, unloading module and loading another one?)

>
> 3) Built-in support for packet-writing. ( i.e. insert packet-writing formatted disk and it loads appropriate kernel modules. )
>
> There may be other features added if there is an interest in them. I will need assistance with the packet-writing support. I am only planning to do this for the 2.5.x and later kernels, so if anyone else wishes to back-port it to an older kerenl series, by all means do so. I have wanted to make some kind of contribution to this project for some time and I feel that this is something that will be useful.
>
What about doing it in userspace? I remember seeing Alan Cox writing he
had a proof of concept of something like this on some ftp server (sorry,
cannot remember where).


> I am going to be making my prelminary code available to whomever wishes to see it once I get my Linux box back up.
sure



Danny

>
> Matthew D. Pitts
>


2002-03-25 12:50:12

by Alan

[permalink] [raw]
Subject: Re: [Cooker] (RFC) Supermount 2

> > 3) Built-in support for packet-writing. ( i.e. insert packet-writing formatted disk and it loads appropriate kernel modules. )
> >
> > There may be other features added if there is an interest in them. I will need assistance with the packet-writing support. I am only planning to do this for the 2.5.x and later kernels, so if anyone else wishes to back-port it to an older kerenl series, by all means do so. I have wanted to make some kind of contribution to this project for some time and I feel that this is something that will be useful.
> >
> What about doing it in userspace? I remember seeing Alan Cox writing he
> had a proof of concept of something like this on some ftp server (sorry,
> cannot remember where).

http://ftp.linux.org.uk/pub/linux/alan - you want volumagic. Its a demo of
the theory (but quite usable).

Doing supermount in kernel is suprisingly hard, the locking and races you get
into are not nice at all - ask Juan about that

2002-03-25 13:01:22

by Matthew D. Pitts

[permalink] [raw]
Subject: Re: [Cooker] (RFC) Supermount 2

Alan,

I suspect I'll hear from Juan on this. And I am going to look at your
code...

I realize it will be hard if I start from scratch. Since I was planning to
do it in 2.5.x it will be easier for me to learn how to avoid the problems
that plague the older versions.

Matthew
----- Original Message -----
From: Alan Cox <[email protected]>
To: <[email protected]>
Cc: <[email protected]>; <[email protected]>
Sent: Monday, March 25, 2002 8:05 AM
Subject: Re: [Cooker] (RFC) Supermount 2


> > > 3) Built-in support for packet-writing. ( i.e. insert packet-writing
formatted disk and it loads appropriate kernel modules. )
> > >
> > > There may be other features added if there is an interest in them. I
will need assistance with the packet-writing support. I am only planning to
do this for the 2.5.x and later kernels, so if anyone else wishes to
back-port it to an older kerenl series, by all means do so. I have wanted to
make some kind of contribution to this project for some time and I feel that
this is something that will be useful.
> > >
> > What about doing it in userspace? I remember seeing Alan Cox writing he
> > had a proof of concept of something like this on some ftp server (sorry,
> > cannot remember where).
>
> http://ftp.linux.org.uk/pub/linux/alan - you want volumagic. Its a demo of
> the theory (but quite usable).
>
> Doing supermount in kernel is suprisingly hard, the locking and races you
get
> into are not nice at all - ask Juan about that
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

2002-03-25 14:50:04

by Matthew D. Pitts

[permalink] [raw]
Subject: Re: [Cooker] (RFC) Supermount 2


----- Original Message -----
From: <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Monday, March 25, 2002 7:21 AM
Subject: Re: [Cooker] (RFC) Supermount 2


>
> On Mon, 25 Mar 2002, Matthew D. Pitts wrote:
> >
> > I am starting to plan a new version of Supermount. I have some things I
want to try out in it, and I will list them in this message. I am willing to
accept any and all input on what I am wanting to call Supermount 2.
> > Planned features of Supermount 2:
> >
> > 1) Auto-detection of filesystem type.
> Meaning we will finally have CD-tracks visualized as WAV files? like CD-fs
> does? Same goes for multisession disks.

I will try to do that, though it may mean hacking into the isofs driver.

> > 2) Supermount modules for each filesystem type.
> How is this on performance (first check for fs type than loading module?
> than disk is removed, unloading module and loading another one?)

I haven't gotten that far, yet. How well it works depends a lot on how much
of the information about the disk can be read by Supermount 2 when the disk
is inserted.

> > 3) Built-in support for packet-writing. ( i.e. insert packet-writing
formatted disk and it loads appropriate kernel modules. )
> >
> > There may be other features added if there is an interest in them. I
will need assistance with the packet-writing support. I am only planning to
do this for the 2.5.x and later kernels, so if anyone else wishes to
back-port it to an older kerenl series, by all means do so. I have wanted to
make some kind of contribution to this project for some time and I feel that
this is something that will be useful.
> >
> What about doing it in userspace? I remember seeing Alan Cox writing he
> had a proof of concept of something like this on some ftp server (sorry,
> cannot remember where).

I am going to go over Alan's code when I have a decent machine to work
with...

>
> > I am going to be making my prelminary code available to whomever wishes
to see it once I get my Linux box back up.
> sure
>
>
>
> Danny
>
> >
> > Matthew D. Pitts
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/