Changing Label with Lonetar


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Changing Label with Lonetar
# 1  
Old 12-06-2006
Changing Label with Lonetar

Hello,

Does anyone know how to change the labeling of media tapes with Lonetar?

For ex. M_01, M_02, M_03 etc...

Any ideas would be greatly appreciated.

Thank you
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Which IP label is used for HeartBeating?

Hi, In HACMP, which IP label ( Service/ Boot/ Persisten) is used for send/receive Heartbeat packets in IP based Heartbeating? (1 Reply)
Discussion started by: ksgnathan
1 Replies

2. Shell Programming and Scripting

For loop using LABEL

Hi, i have below code so i want to run only one for loop instead of two. if ; then FILE_NAME_SLS=`cat $FILE_PATH|grep 'GTDA_Dly_Sls_'` DELMT="|" for i in $FILE_NAME_SLS do ABaC_COL_SL=`cut -d "$DELMT"... (6 Replies)
Discussion started by: renuk
6 Replies

3. UNIX for Dummies Questions & Answers

How to read a disk label?

Hi there, I'm wondering how to display a disk label (why not edit it but I don't need that yet). I found several commands on forums like disklabel and diskinfo but I can't find them on my system and don't know the package they belong to. Can you help me? Cheers Santiago (2 Replies)
Discussion started by: chebarbudo
2 Replies

4. Solaris

Help:"Bad checksum in disk label" and "Can't open disk label package"?

Hello, I'm brand new to Sun/Solaris. I have a Sun Blade 150, with SunOS 5.8. I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies

5. Shell Programming and Scripting

Using A Goto Label?

Im trying to do something like this but I cant find any documentation. read X if then goto ThisLine fi OTHER CODE OTHER CODE Label: ThisLine echo "You entered 1" (5 Replies)
Discussion started by: Grizzly
5 Replies

6. UNIX for Dummies Questions & Answers

Reading label from tape

Hi, I have a HP SURESTORE 40 tape drive. Several archives are stored on it using DUMP. I have several volumes stored on the tape... If I issue restore -rf /dev/st0 will it restore just the arhcive that the tape reader is currently on or will it restore all of them? Thanks, (3 Replies)
Discussion started by: mojoman
3 Replies

7. AIX

Label: Fcp_array_err4

In errpt i have got the following error and my database performs slow. --------------------------------------------------------------------------- LABEL: FCP_ARRAY_ERR4 IDENTIFIER: D5385D18 Date/Time: Tue Jul 22 10:50:10 CUT Sequence Number: 193913 Machine Id: ... (1 Reply)
Discussion started by: vjm
1 Replies

8. HP-UX

Label printing help

Hi I need some help in label printing with Zebra printers. (Model 220xiII) Here is a small test label file which prints fine in portrait format. Can anyone tell me how to change the label printing mode to landscape format? HEADER;TESTLBL;1;1;5;4... (0 Replies)
Discussion started by: rpalghat
0 Replies

9. AIX

Label: Disk_err4

I was trying to access my filesystem "tools" but couldn't, so I run fsck, but says Unable to read superblock (TERMINATED) when try mounting says mount: /dev/lv01 on /tools: I/O error the state of logical volumes of rootvg are "open/stale", what does it means? LV NAME TYPE ... (4 Replies)
Discussion started by: andwhat
4 Replies

10. AIX

Label:scan_error_chrp

Am getting an error in error log LABEL: SCAN_ERROR_CHRP IDENTIFIER: BFE4C025 Date/Time: Wed May 17 10:49:32 CUT Sequence Number: 6738 Machine Id: 00CD552E4C00 Node Id: dbs104 Class: H Type: PERM Resource Name: sysplanar0 Resource Class:... (0 Replies)
Discussion started by: vjm
0 Replies
Login or Register to Ask a Question
selabel_media(5)					     SELinux API documentation						  selabel_media(5)

NAME
selabel_media - userspace SELinux labeling interface and configuration file format for the media contexts backend SYNOPSIS
#include <selinux/label.h> int selabel_lookup(struct selabel_handle *hnd, security_context_t *context, const char *device_name, int unused); int selabel_lookup_raw(struct selabel_handle *hnd, security_context_t *context, const char *device_name, int unused); DESCRIPTION
The media contexts backend maps from media device names such as "cdrom" or "floppy" into security contexts. It is used to find the appro- priate context for establishing context mounts on these devices. The returned context must be freed using freecon(3). selabel_lookup(3) describes the function with its return and error codes. The integer lookup argument is currently unused and should be set to zero. Any messages generated by selabel_lookup(3) are sent to stderr by default, although this can be changed by selinux_set_callback(3). selabel_lookup_raw(3) behaves identically to selabel_lookup(3) but does not perform context translation. The FILES section details the configuration files used to determine the media context. OPTIONS
In addition to the global options described in selabel_open(3), this backend recognizes the following options: SELABEL_OPT_PATH A non-null value for this option specifies a path to a file that will be opened in lieu of the standard media contexts file. FILES
The media context file used to retrieve a default context depends on the SELABEL_OPT_PATH parameter passed to selabel_open(3). If NULL, then the SELABEL_OPT_PATH value will default to the active policy media contexts location (as returned by selinux_media_context_path(3)), otherwise the actual SELABEL_OPT_PATH value specified is used. The default media contexts file is: /etc/selinux/{SELINUXTYPE}/contexts/files/media Where {SELINUXTYPE} is the entry from the selinux configuration file config (see selinux_config(5)). Should there not be a valid entry in the media file, then the default removable_context file will be read (see removable_context(5)). FILE FORMAT
Each line within the media file is as follows: device_name context Where: device_name The media identifier (e.g. cdrom, floppy, disk and usb). context The context to be used for labeling the device. Example: # contexts/files/media cdrom system_u:object_r:removable_device_t floppy system_u:object_r:removable_device_t disk system_u:object_r:fixed_disk_device_t NOTES
If contexts are to be validated, then the global option SELABEL_OPT_VALIDATE must be set before calling selabel_open(3). If this is not set, then it is possible for an invalid context to be returned. SEE ALSO
selinux(8), selabel_open(3), selabel_lookup(3), selabel_stats(3), selabel_close(3), selinux_set_callback(3), selinux_media_context_path(3), freecon(3), selinux_config(5), removable_context(5) Security Enhanced Linux 29 Nov 2011 selabel_media(5)