[openbeos] Re: Newsletter -- device filesystem article.

Eike Dehling <e.e.dehling@xxxxxxxxxxxxxxxxxx> wrote:
> I do like the idea of devices being in /dev! but in a different way 
> than is 
> common now. The / filesystem should completely be a virtual 
> filesystem, 
> only meant to mount other (virtual) filesystems in. so one could 
> mount a 
> harddisk, a virtual device driver filesystem, a device, or the famous 
> /proc. So the / would only be the root directory, in which hardware 
> or 
> ...

That's *exactly* how it is done today.

> some 5 hard disks:
> /dev/mass_storage/harddisk/0
> /dev/mass_storage/harddisk/...
> /dev/mass_storage/harddisk/4
> 
> the mouse, drawing-tablet, scanner and digital camera:
> /dev/graphics_input/scanner/0
> /dev/graphics_input/camera/0
> /dev/graphics_input/pointers/0
> /dev/graphics_input/pointers/1

And that's again almost exactly how it is done in BeOS.

> Now with this layout you don't have to ask anyone which devices give 
> you 
> what output; you can have a device in any catgory you need it. so you 
> could 
> put the camera in /dev/output_format/jpeg/0 and your (open)BFS 
> filesystem 
> is in /dev/output_format/bfs/0 :)

That won't work, and would only be usable by shell users anyway; which 
harddrive is that BFS thing referring to? Where would it safe its data, 
etc. It just doesn't make any sense to me.

Adios...
   Axel.



Other related posts: