DOSpackets and VectorPorts...

This forum is for general developer support questions.

DOSpackets and VectorPorts...

Postby Belxjander » Mon Aug 14, 2017 5:45 pm

I've been looking through writing a DOSdriver as part of polymorph and actually have a possibly serious consideration...


When creating and registering a Volume Node for dos.library...

Does there need to be a 1:1 relationship between partition device and volume nodes?

Would access restricting device nodes to dospackets and setting up a single volume node for sharing a pool of device nodes actually be practical ( volume is vectorport based and hosted from the root device instance...)

I'm trying to consider how to merge the volume presence of multiple partitions as a single volume.

NTFS "mountpoint" and Linux "mountpoint" behaviours to redirect from mount locations in a single volume hierarchy as two primary examples...

Would that kind of behaviour be acceptable/workable on AOS4FE+U1 and newer builds?
Belxjander
 
Posts: 257
Joined: Mon May 14, 2012 11:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan

Re: DOSpackets and VectorPorts...

Postby thomasrapp » Mon Aug 14, 2017 8:08 pm

There is no relation between devices and volumes. The only difference is that the device node is added by the Mount command and can start the handler process while the device node(s) is (are) added by the handler.

If your handler is running, you can add as many volume nodes as you like. If your handler can be run by another means (for example as a shell program) you don't even need a device node.

You can also make a device without a volume. Just keep in mind that only volumes are shown by Workbench. Devices aren't.

SMBFS is an example which runs from CLI and lets you choose to add only a device or only a volume or both.
User avatar
thomasrapp
 
Posts: 239
Joined: Sun Jun 19, 2011 12:22 am

Re: DOSpackets and VectorPorts...

Postby Belxjander » Mon Aug 14, 2017 10:08 pm

so I could in theory add a whole group of device nodes into a pool and have a single Volume use the entire expanded pool,
even with RDSK hardblock descibed partitions,

or a Virtual Volume with added non-device slave processes for whatever essential tasks are required to handle bookkeeping and storage for the volume concerned.

good to know there isn't any real relation there.
Belxjander
 
Posts: 257
Joined: Mon May 14, 2012 11:26 pm
Location: 日本千葉県松戸市 / Matsudo City, Chiba, Japan


Return to General Developer Support

Who is online

Users browsing this forum: No registered users and 2 guests