// Mount is an alias to discover.Mount that allows for addition of a Modify method
typeMountstruct{
logger*log.Logger
discover.Mount
rootstring
}
var_Modifier=(*Mount)(nil)
// Modify applies the modifications required for a Mount to the specified OCI specification
func(dMount)Modify(specoci.Spec)error{
returnspec.Modify(d.specModifier)
}
// TODO: We need to ensure that we are correctly mounting the proc paths
// Also — I’m not sure how this is done, but we will need a new tempfs mounted at /proc/driver/nvidia/ underneath which all of these other mounted directories get put