7 More Discussions You Might Find Interesting
1. AIX
Hello,
Running AIX 7.1 7100-00-03-1115, trying to make a mksysb image to a dvd drive using mkdvd. My final command looks like this..
mkdvd -e -V rootvg -R -C /usr1/AIXADMIN/mkcd/cd_fs -I /usr1/AIXADMIN/mkcd/cd_images -M /usr1/AIXADMIN/mkcd/mksysbimage -d /dev/cd0 -Y
When i run this... (3 Replies)
Discussion started by: c3rb3rus
3 Replies
2. Linux
I want to be able to copy DVD disks directly to an ISO file from the command line (via bash script).
I have such a script that I have refined over time that works quite well about 80% of the time.
About two DVD's out of ten will not burn to an iso file, and the script hangs on one of the... (4 Replies)
Discussion started by: jvsrvcs
4 Replies
3. Solaris
hi all
when i trying to give auto-boot value as false as following
#eeprom auto-boot?=false
it is showing as
zsh: no matches found: auto-boot?=false
so felt this is because of error in hard ware so i tried this
#iostat -en
it is showing like
iostat -en
---- errors ---
s/w h/w trn... (4 Replies)
Discussion started by: wkbn86
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a problem controlling devices on my iMac.
The internal DVD is no longer working. Therefore I have bought a new external DVD, but some programs use the internal by default.
Since iMac, runs UNIX beneath the Mac OS X, I hope to do some magic, by unmounting the internal DVD and put... (0 Replies)
Discussion started by: ASL123
0 Replies
5. Red Hat
Friends ,
I want to install package using yum from DVD in RHEL 5 . Hence I just follow the below rules :
1)
# mount /dev/hdc /cdrom/
mount: block device /dev/hdc is write-protected, mounting read-only
2)
Edit the yum rhel-debuginfo.repo file like following way :
# pwd... (3 Replies)
Discussion started by: shipon_97
3 Replies
6. 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
7. Solaris
I have just installed Solaris 10. I have read various threads on how to mount CDs put can't get mine going. My Sony DVD RW-U14A is attached to IDE2 as the master.
If I type
iostat -En
I get
c1t0d0 soft errors 0 hard errors 0 transport errors 0
Vendor Sony Product DVD RW-U14A
Size 0Gb etc.... (3 Replies)
Discussion started by: christian_hicks
3 Replies
LEARN ABOUT CENTOS
sg_prevent
SG_PREVENT(8) SG3_UTILS SG_PREVENT(8)
NAME
sg_prevent - send 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 (LU)) 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-2012 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.35 November 2012 SG_PREVENT(8)