Searched refs:create (Results 1 - 11 of 11) sorted by relevance

/pkg/src/svc/
H A Dsvc-pkg-repositories-setup76 # Otherwise, we need to create the dataset, taking care to set
79 $ZFS create -p $DS
80 check_failure $? "Unable to create $DS" $SMF_FMRI exit
87 $ZFS allow pkg5srv create,mount,canmount,snapshot "$DS"
H A Dsvc-pkg-mirror163 # we create it. We also attempt to create a zfs dataset if the parent
194 $ZFS create -o canmount=noauto "$DS"
196 "unable to create zfs dataset $DS" \
203 $PKGREPO create "$repo"
204 check_failure $? "unable to create repository" \
264 check_failure $? "unable to create lockfile" $SMF_FMRI degrade
/pkg/src/modules/file_layout/
H A Dfile_manager.py54 def __init__(self, thing_to_change, create="create"):
60 The "create" parameter describes what kind of modification
65 self.create = create
70 cre=self.create, ent=self.ent)
94 return _("FileManager was unable to create {0} or the "
/pkg/src/modules/
H A Daltroot.py74 mode=None, create=False, truncate=False):
85 'mode' optional permissions mask used if we create 'path'
87 'create' optional flag indicating if we should create 'path'
101 # if create is true the user must supply a mode mask
102 assert not create or mode != None
131 if e.errno != errno.ENOENT or not create:
134 assert path_fd or create
136 # the file doesn't exist so we should try to create it.
150 # we opened the directory, now create th
[all...]
H A Dconfig.py365 def create(self, name): member in class:PropertyTemplate
1005 def create(self, name): member in class:PropertySectionTemplate
1086 property to create if a class definition does not exist for the
1152 return p.create(name)
1154 # Not a known property; create a new one using
1181 return s.create(name)
1260 value needs to be modified, consumers are advised to create a
/pkg/src/pkg/
H A DMakefile139 $(PKGREPO) create $@
/pkg/src/modules/server/
H A Drepository.py2565 def __init__(self, allow_invalid=False, cfgpathname=None, create=False,
2608 create=create, properties=properties)
2612 def __init_format(self, allow_invalid=False, create=False,
2619 if not create and self.root and \
2700 # Don't create the default file root at this point, but
2711 # Don't create the publisher root at this point,
2716 if not create and cfgpathname and \
2800 def __init_state(self, allow_invalid=False, create=False,
2808 self.__init_format(allow_invalid=allow_invalid, create
[all...]
/pkg/src/tests/api/
H A Dt_config.py819 """Verify that create and match operations work as expected."""
827 # Verify create raises an assert if name doesn't match
829 self.assertRaises(AssertionError, proptemp.create, "notallowed")
831 # Verify create returns expected property.
846 prop = proptemp.create("name")
980 """Verify that create and match operations work as expected."""
988 # Verify create raises an assert if name doesn't match
990 self.assertRaises(AssertionError, sectemp.create, "notallowed")
992 # Verify create returns expected section.
1001 sec = sectemp.create("nam
[all...]
/pkg/src/modules/client/
H A Dimage.py686 # First, create the image directories if they haven't been, so
717 'root' is an optional path to a directory to create the new
722 of the structure to create. If not provided, the current image
913 # Test if we have the permissions to create the cache
1024 def create(self, pubs, facets=EmptyDict, is_zone=False, progtrack=None, member in class:Image
1057 self.history.log_operation_start("image-create")
1964 """Find on-disk manifest and create in-memory Manifest
2467 # create the flag file and return 0
3281 # Make sure the files are paired, and try to create them if not.
3568 purposes. If the process is unable to create
[all...]
H A Dapi.py410 self.__backup_be = None # create if needed
411 self.__new_be = None # create if needed
695 """Figure out whether or not we'd create a new or backup boot
706 # it, then create a new BE.
717 # 'create-backup') ...
720 "create-backup")
1595 # create a history entry
2806 # Before proceeding, create a backup boot environment if
3426 # Now create composite known and installed catalogs.
5680 to create
[all...]
/pkg/src/modules/client/linkedimage/
H A Dcommon.py665 To deal with this situation we create temporal in-memory
1119 # create a list of metadata file paths
1526 # create a dictionary of packages installed in the parent
2449 # create new lic_op_vectors to pass to __children_op_vec().
3386 we've just cloned that parent to create a new BE that we're
3463 # create a packages dictionary indexed by package stem.
3603 mode=0o644, create=True, truncate=True)
3609 # atomically create the desired file
3860 """Given an two paths create a transform that can be used to translate

Completed in 73 milliseconds