10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i have a script which needs to be run every 10 minutes.This is achieved using crontab utility,
it is checking Number of calls on a service... if number of calls are not increasing then it will stop the service else do nothing.
Now in the script, i fetch the current value in variable... (2 Replies)
Discussion started by: gauravah
2 Replies
2. SCO
Hi all
Just connected a SCSI tape drive to our ScoUnix server running Unixware 7.0.1. The ID assigned to it is 3.
When I open ArcServe it is saying that tape drive is not found and I cannot configure it.
How can I make the tape drive accessible to the system?
Thanks! (4 Replies)
Discussion started by: ramon82
4 Replies
3. Shell Programming and Scripting
Hi All,
Please can you advise on how can I initialize a variable with a line.
Suppose i want to initialize x with line redirects.www.virginatlantic.com.conf
Best Regards,
Shazin (1 Reply)
Discussion started by: Shazin
1 Replies
4. Shell Programming and Scripting
hi
can anyone tell how to initialize a file to zero (3 Replies)
Discussion started by: Satyak
3 Replies
5. HP-UX
Hello Everyone,
Has anyboby ever come across the problem when fd refuses to get initialised. I try to use mediainit command, the fd is being accessed (the fd's LIT is green for some secs) but then I get the message - "Initialize media command failed - permission denied" I checked the diskette,... (1 Reply)
Discussion started by: Andrey Malishev
1 Replies
6. Filesystems, Disks and Memory
In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible:
1) Make the non-bootable scsi drive bootable? How?
2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive?
I seek... (1 Reply)
Discussion started by: bfisk
1 Replies
7. SCO
I use SCO UNIX from 2 years I need a command or procedure to make all log files empty and restart all counters like lp job number
:( :confused: :( (1 Reply)
Discussion started by: sharina
1 Replies
8. UNIX for Dummies Questions & Answers
Has anyone seen this message before?
I have a DNS problem. Recently DNS has been moved to two new servers, which I can ping. I changed the /etc/resolv.conf to point to these boxes but now I get the *** Can't initialize resolver message. Any ideas? (2 Replies)
Discussion started by: korfnz
2 Replies
9. Shell Programming and Scripting
Hi, i m trying to loop a variable value, Basically i m reading variable value from an input file and using in rest of the program. Bu my problem is when i first time read value and assign to variable it works fine, but in second read it concatinate second value to first value with a LF. I want to... (2 Replies)
Discussion started by: coolbudy
2 Replies
10. Programming
I have a question about C program for Unix:
Do we have to intialize every variable before we use them in C?
I thought we have to untill I found some programs are not intialize the variable before they were used. (2 Replies)
Discussion started by: whatisthis
2 Replies
fddisk(8) System Manager's Manual fddisk(8)
NAME
fddisk - FDI disk maintenance utility
SYNOPSIS
/sbin/fddisk options special
OPTIONS
Unless this option is specified, an attempt to format or to install a file system fails in two cases. The first failure occurs when the
device has been opened since the media was inserted. The second failure occurs if the device is currently opened by another process. For-
mats the media to the density appropriate for that media. Copies a hex dump of sector number PSN to stdout. Uses the interleave factor
nnn for formatting. If specified, ccc indicates an additional intercylinder interleave. Copies a packed-C hex dump of the entire disk to
stdout. Specifies silent mode. This option blocks informational messages from appearing on stderr. Reads the entire media. The command
fails if the utility finds a bad sector. Waits for media to be inserted into the drive if none is present. Waits for new media to be
inserted into the drive if none is present or if the current media has been opened since it was last inserted. Reads the disk and reports
on the format of the disk.
OPERANDS
Specifies an unmounted, raw device pathname. This device must be an FDI interface (fd).
DESCRIPTION
The fddisk utility, an FDI (integrated Floppy Disk Interface) disk maintenance program, can format a floppy disk, scan a floppy disk for
bad blocks, and read and write selected blocks. It can be used in shell scripts for checking the status of floppy disks. Such status
checks include checking for or waiting for the presence of media, and checking for or waiting for the user to change the media.
RESTRICTIONS
The fddisk utility has the following restrictions: You must have read/write access to the device. The device must not be mounted. The
program can only be used with a 3.5-inch floppy disk in the RX26 drive. In some cases, it might not be possible to format a floppy disk at
a higher density than it is already formatted. If this situation occurs, the floppy disk must be bulk erased before it can be reformatted
at a higher density.
EXAMPLES
This example formats a floppy disk in drive zero: # /sbin/fddisk -fmt /dev/rdisk/floppy0a This example formats a floppy disk in drive zero
when the disk has been read or written since it was inserted into the drive: # /sbin/fddisk -fmt -f /dev/rdisk/floppy0a
SEE ALSO
Commands: mount(8), restore(8), uerf(8)
Files: fd(7)
fddisk(8)