how to write volume label / ID into CD


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users how to write volume label / ID into CD
# 1  
Old 08-19-2009
how to write volume label / ID into CD

I've a peculiar requirement that, i want to write the md5sum of the ISO image in to CD or DVD where i write that ISO.


If you want to write some other information as volume label/ID, we can use the mkisofs command's -V option. But i cannot use this because before the creation of the iso file, we cannot find the md5sum of it.

So coming to the question that, for DVD writing i use growisofs which allows me to use the mkisofs options as...

Code:
growisofs [-dry-run] [-dvd-compat] [-overburn] [-speed=1] -[Z|M] /dev/dvd <mkisofs-options>

So i found the iso's md5sum and wrote in the volume id into DVD.

But if i want to write an image into CD, how can i achieve this ?
-- cdrecord is not allowing us to use the mkisofs options, and it dont have option for writing the volume ID into the media ?

So is there any command which can allow me to write the volume label into the media ?!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

2. AIX

Need help manually assigning a disk volume label

I've managed to bork a volume label on a disk that's shared out via GPFS. There has to be a fairly simple dd command to rewrite the blocks in question, but I can't seem to dig up the information necessary anywhere I look. Any help would be greatly appreciated! Fri Feb 28 15:20:26 EST 2014:... (1 Reply)
Discussion started by: kneemoe
1 Replies

3. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

Hi, I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies 1)Physical Volume 2)Volume Group 3)Logical Volume 4)Physical Partition Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies

4. UNIX for Dummies Questions & Answers

VERITAS Volume Manager - mirror a disk/volume

I have a machine (5.10 Generic_142900-03 sun4u sparc SUNW,Sun-Fire-V210) that we are upgrading the storage and my task is to mirror what is already on the machine to the new disk. I have the disk, it is labeled and ready but I am not sure of the next steps to mirror the existing diskgroup and... (1 Reply)
Discussion started by: rookieuxixsa
1 Replies

5. 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

6. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

7. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

8. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

9. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

10. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies
Login or Register to Ask a Question
getvol(1M)						  System Administration Commands						getvol(1M)

NAME
getvol - verifies device accessibility SYNOPSIS
/usr/bin/getvol -n [-l label] device /usr/bin/getvol [-f | -F] [-ow] [-l label | -x label] device DESCRIPTION
getvol verifies that the specified device is accessible and that a volume of the appropriate medium has been inserted. The command is interactive and displays instructional prompts, describes errors, and shows required label information. OPTIONS
The following options are supported: -n Runs the command in non-interactive mode. The volume is assumed to be inserted upon command invocation. -l label Specifies that the label label must exist on the inserted volume (can be overridden by the -o option). -f Formats the volume after insertion, using the format command defined for this device in the device table. -F Formats the volume after insertion and places a file system on the device. Also uses the format command defined for this device in the device table. -o Allows the administrator to override a label check. -w Allows administrator to write a new label on the device. User is prompted to supply the label text. This option is ineffective if the -n option is enabled. -x label Specifies that the label label must exist on the device. This option should be used in place of the -l option when the label can only be verified by visual means. Use of the option causes a message to be displayed asking the administrator to visually verify that the label is indeed label. OPERANDS
The following operands are supported: device Specifies the device to be verified for accessibility. EXIT STATUS
The following exit values are returned: 0 Successful completion. 1 Command syntax was incorrect, invalid option was used, or an internal error occurred. 3 Device table could not be opened for reading. FILES
/etc/device.tab ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) NOTES
This command uses the device table to determine the characteristics of the device when performing the volume label checking. SunOS 5.11 5 Jul 1990 getvol(1M)