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
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
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
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
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
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
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
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
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
· 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
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
LEARN ABOUT DEBIAN
sg_prevent
SG_PREVENT(8) SG3_UTILS SG_PREVENT(8)
NAME
sg_prevent - sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command
SYNOPSIS
sg_prevent [--allow] [--help] [--prevent=PC] [--verbose] [--version] DEVICE
DESCRIPTION
Sends a SCSI PREVENT ALLOW MEDIUM REMOVAL command to DEVICE. The default action of this utility is to prevent the removing or ejecting of
the medium from a drive. This is done by ignoring the SCSI START STOP UNIT command (see sg_start) and ignoring the eject button on the
drive when the user presses it. Drives that hold removable disks, tape cartridges or cd/dvd media typically implement this command. The
definition of the "prevent" codes for this command differ between disks and tapes (covered by SBC-3 and SSC-3) and cd/dvd drives (covered
by MMC-5). The "prevent codes" described here are from MMC-5.
OPTIONS
Arguments to long options are mandatory for short options as well.
-a, --allow
allow medium removal. This is equivalent to setting to '--prevent=2'. Cannot be used with --prevent=PC option (i.e. either use no
options (hence prevent removal), this option or --prevent=PC).
-h, --help
output the usage message then exit.
-p, --prevent=PC
where PC is a prevent code value. Defined values are: 0 allows removal, 1 prevents removal (default), 2 allows persistent removal
while 3 prevents persistent removal. "Persistent" in this context means that the initiator (port) that successfully uses code 3
blocks other initiators (ports) from allowing removal. A "persistent prevent" state can be cleared by the owner allowing persistent
removal (code 2) or a power cycle (or anything that resets the device (lun)) or some special commands (e.g. various service actions
of Persistent Reserve Out, see SPC-3).
-v, --verbose
increase the level of verbosity, (i.e. debug output).
-V, --version
print the version string and then exit.
EXIT STATUS
The exit status of sg_prevent is 0 when it is successful. Otherwise see the sg3_utils(8) man page.
AUTHORS
Written by Douglas Gilbert.
REPORTING BUGS
Report bugs to <dgilbert at interlog dot com>.
COPYRIGHT
Copyright (C) 2004-2007 Douglas Gilbert
This software is distributed under a FreeBSD license. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
SEE ALSO
sg_start(sg3_utils), sg_persist(sg3_utils)
sg3_utils-1.23 January 2007 SG_PREVENT(8)