ajd
Active Newcomer
I've been trying to understand devclass.
Why does it exist if it just points to a predefined devtype?
Why not just eliminate it and point to the devtype directly?
Here's my theory.
We define a library.
Then we define a devclass in the library that points to a
recognized devtype (LTO, 8mm, etc.)
Then we define storage pools with a device class.
So apparently devclass
1) associates storage pool and library and
2) prevents the library being one devtype and its storage class being
another. That is, without devclass we'd have to specify the devtype
of library and the devtype of the storage pool,
and the two devtypes might not agree.
Comments? Corrections? Additions?
Why does it exist if it just points to a predefined devtype?
Why not just eliminate it and point to the devtype directly?
Here's my theory.
We define a library.
Then we define a devclass in the library that points to a
recognized devtype (LTO, 8mm, etc.)
Then we define storage pools with a device class.
So apparently devclass
1) associates storage pool and library and
2) prevents the library being one devtype and its storage class being
another. That is, without devclass we'd have to specify the devtype
of library and the devtype of the storage pool,
and the two devtypes might not agree.
Comments? Corrections? Additions?