10 More Discussions You Might Find Interesting
1. Red Hat
Can you please modify my script. This script is not working
for i in /dev/sdf
do
/bin/raw /dev/raw/`/bin/basename ${i}` ${i}
/bin/sleep 2
/bin/chown orasm:ordba /dev/raw/`/bin/basename ${i}`
/bin/chmod 660... (9 Replies)
Discussion started by: karthik9358
9 Replies
2. Programming
Hi guys.
what is the benefits of using raw devices in programming?
which applications mostly use raw devices?
how can i use raw devices in C programs? is there any system calls or library functions? (1 Reply)
Discussion started by: majid.merkava
1 Replies
3. HP-UX
Hi,
I need to rediracte all the names of the devices (only disks) to a file.
Thanks:confused: (3 Replies)
Discussion started by: yoavbe
3 Replies
4. UNIX for Dummies Questions & Answers
Hi folks,
I am trying to learn Unix based in Linux...
In Linux, in /Dev are files related to cards, mouse, etc..
how about Unix?
What is the difference between /Dev and /Devices?
Thanks,
Fernanda (0 Replies)
Discussion started by: ffpradella
0 Replies
5. Solaris
Hi all,
what does this mean?
if
then
<something>
fi
here is what i know..
it checks if the specified argument no($devid) in some function call is made into a block device and then proceeds with the execution of the loop.
However am not understand what lofi@0:means?
also is there... (3 Replies)
Discussion started by: wrapster
3 Replies
6. Solaris
I have added a sun storage array from a faiulty server onto a new server and copied the md.conf files etc. I can now access the /dev/md/dsk file systems, but I want to delete some metadevices that do not exist (it still thinks the 0 and 1 (root /var /export) disk are mirrored. How do I do this? (8 Replies)
Discussion started by: ozzmosiz
8 Replies
7. Red Hat
I am trying to get a flash card reader to work with my machine. My question is, are all of my USB ports screwed up? Do I need to buy a seperate USB controller? I does not appear that the onboard USB ports work.
In trying to get it to work, I typed cat /proc/scsi/scsi and got this:
# cat... (2 Replies)
Discussion started by: davidkretsch
2 Replies
8. UNIX for Dummies Questions & Answers
I am new in unix, and I need to fix a printer, but I don't even know the difference between /dev/ttys printers and lp printers. Can someone explain this to me and tell me how I cancel jobs in both of them?
I will appreciate it, thank you. (15 Replies)
Discussion started by: HN19
15 Replies
9. UNIX for Dummies Questions & Answers
Hi
I am trying to determine the access to unix devices. I found the follow access description which I have been told is a symbolic link and is not the actual file. I was also told that all symbolic links will have rwxrwxrwx access.
kmem: lrwxrwxrwx 1 root 27 May 28 16:06 /dev/kmem ->... (2 Replies)
Discussion started by: GW01
2 Replies
10. HP-UX
Is it possible to create the CDROM device file for a drive attached to the parallel port? I have a removable CDROM drive (gift - I'm trying not to return it, but may have to anyways) that attaches via parallel port. The only device that I can attach to that hardware address is /dev/c1t0d0_lp, a... (9 Replies)
Discussion started by: LivinFree
9 Replies
st(1M) st(1M)
NAME
st - shared tape administration
SYNOPSIS
device_file
DESCRIPTION
The command provides users with a command-line interface to check the status of a shared tape device or to reclaim a shared tape device
from a host system that has failed while holding a reservation on the shared tape device. The command can also be used for the same pur-
pose on shared library robotic devices. To use the command you must have root user id.
Please see examples below for usage.
Options
recognizes the following options and arguments:
Specifies the tape device file or sctl/esctl pass-through device
file for the shared tape/library device. This parameter is mandatory and will report an error if device_file is omitted.
Allows the user to reclaim a shared tape device or shared
library robotic device in the case where a host failed while holding a reservation on the shared device. This option causes
a bus device reset to be issued to the device specified by the option.
Prints out the current status of the shared tape/library
device specified by the option.
RETURN VALUE
returns 0 upon successful completion and 1 otherwise.
EXAMPLES
The following shows three examples of output from the above command.
The above output indicates that the shared device is reserved by another host and is therefore unavailable at this time.
The above output indicates that the shared device is not ready for use at this time.
The above output indicates that the shared device is ready for use at this time.
To reclaim a shared tape/library device from a failed host, the following command can be used:
WARNINGS
The option must be used with care. When reclaiming devices, it must be ensured that the host from which the device is being reclaimed has
in fact failed, as data may be lost as the result of reclaiming a device that is currently in use by another host.
AUTHOR
was developed by Hewlett-Packard.
SEE ALSO
mt(1), scsi(7), scsi_ctl(7).
st(1M)