[Info-vax] SYS$SET_DEVICE
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Thu Feb 21 15:38:40 EST 2013
On 2013-02-21 19:55:19 +0000, Steven Schweda said:
> ...I had some dim hope of setting a volume label from a C program...
sys$set_device doesn't have the ability to volume labels. It's
definitely not equivalent to a hypothetical "$setdvi" call, if that's
what you're looking for here.
AFAIK, the only (official) choice for changing a volume label is to
spawn and invoke the SET VOLUME /LABEL command, or — for a more
destructive approach — spawn the INITIALIZE command or call the
$init_vol system service. If a supported API isn't an issue, then
zapping the ODS data structures directly is entirely possible, if
you're inclined to rummage around.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list