To be usable by Oracle Secure Backup, each device must have at least one attachment, which describes a data path between a host and the device itself. If you are only loading and unloading a single driver, you can just use rmmod and insmod after the first time you create the special files with your script: The major number is a small integer that serves as the index into a static array of char drivers; Section 3. You must have the modify administrative domain’s configuration right to use the mkdev command. Configures any parents of the device that are not already configured. Multiple attribute-value pairs must be enclosed in quotation marks with a blank space between the pairs. Specifies the world-wide name of the device.
|Date Added:||28 June 2014|
|File Size:||41.9 Mb|
|Operating Systems:||Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X|
|Price:||Free* [*Free Regsitration Required]|
Stay ahead with the world’s most comprehensive technology and business learning platform.
The mount mode indicates the way in which Oracle Secure Backup can use a volume physically loaded into mdkev tape drive see the description of “mountdev”. For more information about authorizations and privileges, see Privileged Command Database in Security. This flag cannot be used with the -d flag. If you specify the -d flag, the mkdev command does not make the device available.
These numbers are the major device number and minor device number for the particular device. For example, the command. Specifies a blocking factor.
The major number is a small integer that serves as the index into a static array of char drivers; Section 3. The default is no. The return value indicates success or failure of the operation. If an attachment is specified, only one devicename is allowed.
Specifies the number of deviec storage element.
Linux Device Drivers, Second Edition by Alessandro Rubini, Jonathan Corbet
For libraries containing multiple drives in which more than one drive performs backups concurrently, you may want to partition the use of the tapes. A blocking factor determines how many byte records to include in each block of data written to tape. Specifies a range of storage elements that can be used by the device. Specifies the device name, indicated by the ParentName variable, that you want assigned to the device when it is used with the -c-sand -t flags.
Item Description 0 Successful completion. Specifies whether Oracle Secure Backup requires tapes in the library to have readable barcodes. Refer to “se-range” for a description of the se-range placeholder. The major and minor numbers are paired in a single data type that the driver uses to identify a particular device. The kernel uses the major number at open time to dispatch execution to the appropriate driver. Not all devices support user-supplied names. The duration is the interval of time a drive is used before a cleaning cycle begins.
Major and Minor Numbers – Linux Device Drivers, Second Edition [Book]
Not all devices support this feature. Specifies a maximum blocking factor. You can use any combination of the -c-sand -t flags you need to uniquely identify the predefined device. The no value specifies that obtool should use the least used cleaning tape, devuce uses each cleaning tape until it is exhausted, then uses the next cleaning tape until it is exhausted, and so forth.
Note that you can execute the clean command to clean a drive manually. It is common for a driver to control several devices as shown in the listing ; the minor number provides a way for the driver to differentiate among them. Removing a Driver from the System. For some devices, however, this sampling can degrade backup performance. Specifies whether automatic tape cleaning should be enabled.
If this file system is used, management of device files is simplified and quite different; on the other hand, the new filesystem brings several user-visible incompatibilities, and as we are writing it has not yet been chosen as a default feature by system distributors. The reason is that the script must be run by the superuser, so newly created special files are owned by root. Contains the mkdev modev.