Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Format a container.

Also set a password for encrypted container.
Available since: 0.3.0

src/c/r/cryptobox-server-0.3.0/plugins/partition/partition.py   cryptobox-server(Download)
		try:
			cont = cryptobox.core.container.CryptoBoxContainer(dev_name, self.cbox)
			cont.create(cryptobox.core.container.CONTAINERTYPES["plain"], fs_type=fs_type)
		except (CBInvalidType, CBCreateError, CBVolumeIsActive), err_msg:
			self.cbox.log.warn(err_msg)