Sponsored Content
Full Discussion: detecting drives
Top Forums UNIX for Dummies Questions & Answers detecting drives Post 33803 by minazk on Monday 20th of January 2003 11:03:20 AM
Old 01-20-2003
CD-ROM's are automatically mounted via vold when Volume Management is used and manually mounted using mount .Use eject cdrom to unmount.

Diskettes are mounted via vold using volcheck and unmounted using eject (no command line arguments or floppy0 , etc.)

See the man page for vold
minazk
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Detecting NIC in Solaris10

I have an E420 server that has a TPE Slot / NIC installed. However there is no interface file installed eg /etc/hostname.hme0 or equivalent. I have placed a private ip entry int the hosts file to accompany the loop back entry i.e. 127.0.0.1 localhost 172.16.0.10 loghost se420 ... (1 Reply)
Discussion started by: jimthompson
1 Replies

2. IP Networking

Detecting NIC in Solaris10

I have an E420 server that has a TPE Slot / NIC installed. However there is no interface file installed eg /etc/hostname.hme0 or equivalent. I have placed a private ip entry int the hosts file to accompany the loop back entry i.e. 127.0.0.1 localhost 172.16.0.10 loghost se420 ... (1 Reply)
Discussion started by: jimthompson
1 Replies

3. Shell Programming and Scripting

How Detecting DeadLocked Processes?

Hi, First let me inform you about the environment: We have four servers (sun machines), connected via WAN to centralized Oracle Database Server. Each sun server has a lot of users, The Problem is I don't a Unix Monitor tool to tell me which Process is deadlocked to kill. all we can do... (1 Reply)
Discussion started by: so_friendly
1 Replies

4. UNIX for Dummies Questions & Answers

Detecting Second disk

Hello all, first of all, I apologise if I may ask stupid or obvious questions, but I'm new to UNIX and I think I need a little bit of help before I start gearing up :) Anyway, I have installed a Solaris 8 on a Sun machine, and it has 2 physical disks in it. However, it seems that it is only... (7 Replies)
Discussion started by: dragunu
7 Replies

5. Shell Programming and Scripting

how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX

hi how floppy disks, CDs and flash drives (pen drives) are accessed in UNIX? thanks (0 Replies)
Discussion started by: nokia1100
0 Replies

6. Programming

Detecting interruptions in C

Hi. You may know how to detect when a interruption succeeded programming in C. Just like receiving a signal without blocking. Knowing when it was a keystroke (IRQ 2), or a mouse movement (12), or a disk access, etc. and getting actually for example the letter typed. Thanks a lot. (7 Replies)
Discussion started by: Ashrentum
7 Replies

7. Solaris

Detecting Harddrive Errors

I am looking for some tips or suggestions in how to do the following. 1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom: c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies

8. UNIX for Dummies Questions & Answers

detecting consecutive filenames

I have a series of filenames of the format junk_x_###.txt where x and ### are numbers. I need to detect when at least 30 consecutive files (e.g. junk_1_001.txt, junk_1_002.txt.....) are in the directory. There are sets of files with similar names that need to be grouped together and counted... (0 Replies)
Discussion started by: stanleymacc
0 Replies

9. Shell Programming and Scripting

need help in detecting errors

Hi All , I need a script to find errors in a particular and in a particular path Actually in my logs i`ve so many kinds of errors(i can even say as 100 types also).if i run the script i need to know the error (some errors can aviod ) so finally the script o/p should be a numeric... (3 Replies)
Discussion started by: radha254
3 Replies
volcheck(1)							   User Commands						       volcheck(1)

NAME
volcheck - checks for media in a drive and by default checks all floppy media SYNOPSIS
volcheck [-v] [-i secs] [-t secs] pathname DESCRIPTION
The volcheck utility tells Volume Management to look at each dev/pathname in sequence and determine if new media has been inserted in the drive. The default action is to volcheck all checkable media managed by volume management. OPTIONS
The following options are supported: -i secs Set the frequency of device checking to secs seconds. The default is 2 seconds. The minimum frequency is 1 second. -t secs Check the named device(s) for the next secs seconds. The maximum number of seconds allowed is 28800, which is 8 hours. The fre- quency of checking is specified by -i. There is no default total time. -v Verbose. OPERANDS
The following operands are supported: pathname The path name of a media device. EXAMPLES
Example 1: A sample of the volcheck command. The following example example% volcheck -v /dev/diskette /dev/diskette has media asks Volume Management to examine the floppy drive for new media. The following example example% volcheck -i 2 -t 600 /dev/diskette1 & asks Volume Management if there is a floppy in the floppy drive every 2 seconds for 600 seconds (10 minutes). FILES
/dev/volctl Volume Management control port ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWvolu | +-----------------------------+-----------------------------+ SEE ALSO
eject(1), volcancel(1), volmissing(1) rmmount(1M), vold(1M), rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS) WARNINGS
Due to a hardware limitation in many floppy drives, the act of checking for media causes mechanical action in the floppy drive. Continu- ous polling of the floppy drive will cause the drive to wear out. It is recommended that polling the drive only be performed during periods of high use. SunOS 5.10 21 Feb 1997 volcheck(1)
All times are GMT -4. The time now is 09:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy