Sponsored Content
Full Discussion: dvd in drive how to check
Top Forums UNIX for Dummies Questions & Answers dvd in drive how to check Post 302327818 by vikus on Monday 22nd of June 2009 04:07:28 PM
Old 06-22-2009
dvd in drive how to check

is there some tools(not graphical) command to reconnoiter what kind of cd/dvd is on drive (dvd+rw/dvd-rw/etc)?
 

10 More Discussions You Might Find Interesting

1. Solaris

DVD drive problem after upgrade to Solaris 10

After upgrading to solaris 10 (from sol 8) on a SUN Blade 1500, it seems that the dvd/cd-rom does not accept dvds nor cds in the dvd drive. After I insert a dvd/cd in the drive, the disk is simply ejected (!) Is it possible that the upgrade made the system not being able to recognize these... (2 Replies)
Discussion started by: miket
2 Replies

2. AIX

Check for media in DVD drive

I would like to check for the existance of media in a DVD drive prior to running a mkcd. Is this possible? I have accomplished this in the past with tctl, but that was with a tape drive. Any help is appreciated. Thanks (0 Replies)
Discussion started by: dmjoen
0 Replies

3. Solaris

external DVD-ROM drive for our datacentre

Hi there In our Data centre we have a mixture of SPARCS running from v100 and ultra10's to v800 and v1250 boxes we also have a large amount of x86 X2100 and X4100 boxes I am looking to purchase an external DVD-ROM drive that we can plug into the back of any of the boxes if we need to (I... (2 Replies)
Discussion started by: hcclnoodles
2 Replies

4. Solaris

Sharing DVD Drive in LDoms Environment

I have T5220 server with DVD drive. I have installed few logical domains in the server and wonder how they can share the DVD drive. I have not seen any mention of that in Sun documentation. (7 Replies)
Discussion started by: StarSol
7 Replies

5. Solaris

move DVD drive between domains in M5000

Hi, I 've a M5000 system with 2 domains configured on it. How can i move the DVD from one domain to the other ? so that i can access the drive in the second domain. cfgdevice -l does not work on M5000 (6 Replies)
Discussion started by: fugitive
6 Replies

6. AIX

dvd media in drive

Hello, It's some tool in AIX to check what kind of media (DVD+RW DVD-RW DVD-RAM) is inserted in drive? In linux there is very nice tool called dvd+rw-mediainfo. (0 Replies)
Discussion started by: vikus
0 Replies

7. Solaris

#1 added to directory on rmount DVD drive

Currently have an issue were we use a script to load a security .dat key. The script was failing to load stating "Unable to open directory". I ssh'd into the server and performed an ls -la on the /cdrom directory. I show the usual cdrom0 but the directory on the cd should be key but is showing... (0 Replies)
Discussion started by: hypp1e
0 Replies

8. Solaris

Solaris 10 install with no DVD drive

Hi Guys, I think i probably know the answer to this question, but ill put it out there. I have access to one, and only one SunFire v240 with no DVD drive. I have been tasked with installing Solaris 10 on there (Solaris 8 is on at the moment). The obvious thing was to try a USB DVD... (4 Replies)
Discussion started by: Sol-nova
4 Replies

9. UNIX for Dummies Questions & Answers

Mount the cd/dvd drive

· Next, you will need to install the software package that provides DHCP services (a.k.a. the DHCP daemon software). It is located on the installation DVD ISO image for the CentOS Linux Distribution. Associate the (Disc 1 of 2) DVD ISO with the virtual machine's CD/DVD optical drive, create a... (1 Reply)
Discussion started by: beerpong1
1 Replies

10. AIX

AIX physical DVD/CD drive

Hello, I have some doubts about the dvd/cd physical on power machine and AIX. I see on my AIX lpar and see there is 1 DVD drive and its physical location bash-4.4# lsdev | grep cd0 cd0 Available 03-00-00 SATA DVD-RAM Drive bash-4.4# lscfg -vpl cd0 cd0 ... (12 Replies)
Discussion started by: Phat
12 Replies
GROWISOFS(1m)															     GROWISOFS(1m)

NAME
growisofs - combined mkisofs frontend/DVD recording program. SYNOPSIS
growisofs [-dry-run] [-dvd-compat] [-overburn] [-speed=1] -[Z|M] /dev/dvd <mkisofs-options> DESCRIPTION
growisofs was originally designed as a frontend to mkisofs to facilitate appending of data to ISO9660 volumes residing on random-access media such as DVD+RW, DVD-RAM, plain files, hard disk partitions. In the course of development general purpose DVD recording support was implemented, and as of now growisofs supports not only random-access media, but even mastering of multi-session DVD media such as DVD+R and DVD-R/-RW. In addition growisofs supports first-/single-session recording of arbitrary pre-mastered image (formatted as UDF, ISO9660 or any other file system, if formatted at all) to all supported DVD media types. OPTIONS
-Z /dev/dvd Burn an initial session to the selected device. A special form of this option is recognized to support burning of pre-mastered images. See EXAMPLES section for further details. -M /dev/dvd Merge a new session to an existing one. -version Print version information and invoke mkisofs, also with -version option. -dvd-compat Provide maximum media compatibility with DVD-ROM/-Video. In write-once context (DVD+R and DVD-R) this results in unappendable recording (closed disk). In DVD+RW context it instructs the logical unit to explicitly burn [otherwise optional] lead-out. -dry-run At dry-run growisofs performs all the steps till, but not including the first write operation. Most notably check for "overburn" condition is performed, which implies that mkisofs is invoked and terminated prematurely. -overburn Normally DVD media can accommodate up to approximately 4.700.000.000 bytes (in marketing speech 4.7GB). In other words a DVD can contain about 4.377 GiB or 4482 MiB. Growisofs won't start without this option, if "overburn" condition appears to be unavoidable. -speed=N An option to control recording velocity. Most commonly you'll use -speed=1 with "no-name" DVD-R[W] media, if default speed settings messes up the media. Keep in mind that N essentially denotes speed closest to N*1385KBps among those offered by unit for currently mounted media. The list can be found in dvd+rw-mediainfo output. <mkisofs-options> More options can be found in the manpage for mkisofs. There're several undocumented options commonly denoted with -use-the-force-luke prefix. Some of them serve debugging purposes. Some require certain knowledge about recording process or even OS kernel internals and as being such can induce confusing behaviour. Some are to be used in very specific situations better recognized by front-ends or automated scripts. Rationale behind leaving these options undocumented is that those few users who would actually need to use them directly can as well consult the source code or obtain specific instructions else- where. DIFFERENCES WITH RUNNING MKISOFS DIRECTLY
When using growisofs you may not use the -o option for an output file. growisofs dumps the image directly to the media; You don't have to specify the -C option to create a higher level session on a multi session disk, growisofs will construct one for you; Otherwise everything that applies to [multi-session] mastering with mkisofs applies to growisofs as well. growisofs needs at least mkisofs version 1.14, version 2.0 is required for multi-session write-once recordings. EXAMPLES
Actual device names vary from one operating system to another. We use /dev/dvd as a collective name or as symbolic link to the actual device if you wish. Under Linux it will most likely be an ide-scsi device such as "/dev/scd0." Under NetBSD/OpenBSD it has to be a charac- ter SCSI CD-ROM device such as "/dev/rcd0c." Under Solaris it also has to be a character SCSI/ATAPI CD-ROM device, e.g. "/dev/rdsk/c0t1d0s2" or "/vol/dev/aliases/cdrom0." And likewise in HP-UX and IRIX... To master and burn an ISO9660 volume with Joliet and Rock-Ridge extensions on a DVD: growisofs -Z /dev/dvd -R -J /some/files To append more data to same DVD: growisofs -M /dev/dvd -R -J /more/files Make sure to use the same options for both inital burning and following sessions. To use growisofs to write a pre-mastered ISO-image to a DVD: growisofs -dvd-compat -Z /dev/dvd=image.iso where image.iso represents an arbitrary object in the filesystem, such as file, named pipe or device entry. Nothing is growing here and command name is not intuitive in this context. NOTES
If executed under sudo(8) growisofs refuses to start. This is done for the following reason. Naturally growisofs has to access the data set to be recorded to DVD media, either indirectly by letting mkisofs generate ISO9660 layout on-the-fly or directly if a pre-mastered image is to be recorded. Being executed under sudo(8), growisofs effectively grants sudoers read access to any file in the file system. The situa- tion is intensified by the fact that growisofs parses MKISOFS environment variable in order to determine alternative path to mkisofs exe- cutable image. This means that being executed under sudo(8), growisofs effectively grants sudoers right to execute program of their choice with elevated privileges. If you for any reason still find the above acceptable and are willing to take the consequences, then consider running following wrapper script under sudo(8) in place for real growisofs binary. #!/bin/ksh unset SUDO_COMMAND export MKISOFS=/path/to/trusted/mkisofs exec growisofs "$@" But note that the recommended alternative to the above "workaround" is actually to install growisofs set-root-uid, in which case it will drop privileges prior accessing data or executing mkisofs in order to preclude unauthorized access to the data. If the media already carries isofs and growisofs is invoked with -Z option non-interactively, e.g. through cron, it shall fail with "FATAL: /dev/dvd already carries isofs!" Note that only ISO9660 is recognized, you can perfectly zap e.g. an UDF filesystem non-interactively. "Overburn" protection in pre-mastered image context works only with plain files and ISO9660 formatted volumes. E.g. [given that /dev/root is an ext2 formatted file system larger than 4.7GB] /dev/dvd=/dev/root is bound to produce corrupted recording. Note that DVD+RW re-formatting procedure does not substitute for blanking. If you want to nullify the media, e.g. for privacy reasons, do it explicitly with 'growisofs -Z /dev/dvd=/dev/zero'. Playback of re-writable DVD media, both DVD+RW and DVD-RW, might be limited in legacy DVD-ROM/-Video units. In most cases this is due to lower reflectivity of such media. Even though growisofs supports it, playback of multi-session write-once DVD might be limited to the first session for two reasons: o not all DVD-ROM players are capable of multi-border DVD-R playback, even less are aware of DVD+R multi-sessioning, burner unit therefore might be the only one in your vicinity capable of accessing files written at different occasions; o OS might fail to mount multi-session DVD for various reasons; The above is not applicable to DVD+RW, DVD-RW Restricted Overwrite or DVD-RAM, as volumes are grown within a single session. SEE ALSO
Most up-to-date information on dvd+rw-tools is available at http://fy.chalmers.se/~appro/linux/DVD+RW/. The manpage for mkisofs. AUTHORS
Andy Polyakov <appro@fy.chalmers.se> stands for programming and on-line information. This manpage is currently maintained by Huub Reuver <h_reuver@mantell.xs4all.nl>. LICENSE
growisofs is distributed under GNU GPL. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +---------------------------------+---+ |ATTRIBUTE TYPE ATTRIBUTE VALUE | | +---------------------------------+---+ |Availability SUNWdvdrw | | +---------------------------------+---+ |Interface Stability Unstable | | +---------------------------------+---+ NOTES
This utility is part of dvd+rw-tools. The source for dvd+rw-tools is available on http://opensolaris.org. http://fy.chalmers.se/~appro/linux/DVD+RW growisofs 5.20 15 July 2004 GROWISOFS(1m)
All times are GMT -4. The time now is 12:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy