Up |
_addPartition Scol 6.x or above required
Replace a partition. The cache must not be activated.
Prototype :
fun [S I] I
- S : a path name
- I : the type (1 for user partition, 2 for admin partition)
Return : I 0 or nil if bad arguments
Error :
- EOK if success.
- ECACHE if the Cache is activated.
- EARGNIL if the subdirectory is nil.
- EDOM if the number of partition is too large.
- EINVAL if the given index is bad.
See also :
Example :