Glenn Faden writes:
> The policy for how to handle such media is specified in the device_clean 
> script. Customers are free to write their own customized scripts since 
> the interface is stable. In particular, the SRSS 4.0 release includes 
> Sun Ray-specific device_clean scripts. In the case of hot-plugged USB 
> devices they never create a device node in any labeled zone. If the 
> device isn't recognized as mountable, the allocation is denied.

I see.

In that case, it makes a lot more sense to me that we'd simply have a
way of saying that the policy is "no device nodes in the zone,"
regardless of the outcome of the mount attempt.  Having a fallback
position of mount-point-only first and then raw-device if that fails
seems like a mistake.  It doesn't seem to represent any useful policy.

Yes, I understand that this is ancient policy and not really part of
this case.  The part that's in this case, though, is the strange use
of an "alternate success" exit value.

-- 
James Carlson, Solaris Networking              <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to