createBookmarks

Undocumented in source. Be warned that the author may not have intended to support it.
@SILdoc(`Creates bookmarks. The bookmarks nvlist maps from name of the bookmark (e.g. "pool/fs#bmark") to the name of the snapshot (e.g. "pool/fs@snap"). All the bookmarks and snapshots must be in the same pool. The returned results nvlist will have an entry for each bookmark that failed. The value will be the (int32) error code. The return value will be 0 if all bookmarks were created, otherwise it will be the (*__errno_location ()) of a (undetermined) bookmarks that failed. `)
createBookmarks
(
string[string] bookmarks
)

Meta