Platforms to show: All Mac Windows Linux Cross-Platform

Back to ArchiveWriteDiskMBS class.

ArchiveWriteDiskMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The constructor.

Connects GroupLookup and UserLookup events if set.

ArchiveWriteDiskMBS.Destructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The destructor.

ArchiveWriteDiskMBS.GID(GroupName as string, DefaultGID as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Query ID of group.

Returns default ID if name not found.
This may invoke GroupLookup event.
Lasterror property is set.

ArchiveWriteDiskMBS.SetSkipFile(DeviceID as Int64, FileNo as Int64)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Record the dev/ino of a file that will not be written.

This is generally set to the dev/ino of the archive being written.
Lasterror property is set.

ArchiveWriteDiskMBS.SetStandardLookup

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Sets standard lookup for mapping user and group names to IDs.

Lasterror property is set.

The lookup functions are given uname/uid (or gname/gid) pairs and return a uid (gid) suitable for this system. These are used for restoring ownership and for setting ACLs. The default functions are naive, they just return the uid/gid. These are small, so reasonable for applications that don't need to preserve ownership; they are probably also appropriate for applications that are doing same-system backup and restore.

The "standard" lookup functions use common system calls to lookup the uname/gname, falling back to the uid/gid if the names can't be found. They cache lookups and are reasonably fast, but can be very large, so they are not used unless you ask for them. In particular, these match the specifications of POSIX "pax" and old POSIX "tar".

ArchiveWriteDiskMBS.UID(UserName as string, DefaultUID as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Query ID of user.

Returns default ID if name not found.
This may invoke UserLookup event.
Lasterror property is set.

ArchiveWriteDiskMBS.WriteDataBlock(data as MemoryBlock, offset as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data block to file.

Returns number of bytes written.
Lasterror property is set.

See also:

ArchiveWriteDiskMBS.WriteDataBlock(data as Ptr, Size as Int64, offset as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data block to file.

Returns number of bytes written.
Lasterror property is set.

See also:

ArchiveWriteDiskMBS.WriteDataBlock(data as string, offset as Int64) as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Archive MBS Compression Plugin 19.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Writes data block to file.

Returns number of bytes written.
Lasterror property is set.

See also:

The items on this page are in the following plugins: MBS Compression Plugin.


The biggest plugin in space...