Sponsored Content
Operating Systems HP-UX Error upon completion of ddcommand Post 302137601 by sunsear24 on Tuesday 25th of September 2007 11:15:52 PM
Old 09-26-2007
It's a quite old version. So, it seems I cannot integrate my drive with such an old version. Anyway, thank you very much for your insights.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tar error after backup completion

After perfomring a remote backup from HP-UX to a SUN, it prompt the following error. Can you please advise what does this error means? How to retify this error? "dd: unexpected short write, wrote 0 bytes, expected 10240 205802517+126 records in 10290129+0 records out" The command used is ... (1 Reply)
Discussion started by: gelbvonn
1 Replies

2. Shell Programming and Scripting

file name completion

I'ld like to enable file name completion in ksh88 on AIX 5.2. My terminal is set to xterm. I've set the shell editor to emacs and ampped the arrow keys. Is there a way to map the tab key to a command like ESC= or any other file name completion command in emacvs that I may be not aware of since I'm... (1 Reply)
Discussion started by: rein
1 Replies

3. UNIX for Advanced & Expert Users

line completion in vim

how we achive line completion and word completion in vim editor? (2 Replies)
Discussion started by: lakshmananindia
2 Replies

4. UNIX for Dummies Questions & Answers

Monitoring SCP for completion

I have several servers, A, B, & C that run various routines then scp the results to server X. On X I then have to do some data manipulation with the received files before sending the files on to another location. Because of policy here I cannot pull the files from servers A, B & C, but have to... (2 Replies)
Discussion started by: thumper
2 Replies

5. Shell Programming and Scripting

bash completion

hello, I have been trying for a couple days to figure this out to no avail. I am converting some csh code to bash. I have converted everything except the completion code. #bashrc (I set this alias in my bashrc) alias test='source ${PATH}/test.sh' #${PATH}/test.sh (returns some aliases and... (0 Replies)
Discussion started by: platypuus
0 Replies

6. UNIX Desktop Questions & Answers

TAB completion in cygwin

Hi there, I ve been using cygwin for some time now without any problems. However, recently I ve mapped a new drive on Windows and are now having problems with TAB completion for awk scripts in cygwin on this newly mapped drive (cygdrive t). I can access and run all files but cygwin doesn't do... (5 Replies)
Discussion started by: Tommes
5 Replies

7. UNIX for Dummies Questions & Answers

Background Process Completion

I have my unix machine configured to run locate.updatedb on login in the background and after it completes, when I run a command such as ls-- the console returns the results of ls and + Done sudo /usr/libexec/locate.updatedbIs there... (3 Replies)
Discussion started by: Prodiga1
3 Replies

8. Shell Programming and Scripting

inotifywait to wait until completion

Hi, I am using inotifywait to monitor a directory where files are being transferred into. I want inotifywait to tell me when a file has been completely transferred not just part of it. I tried "create", "close" and "close_write" but it seems that inotifywait always gets triggered even if the... (4 Replies)
Discussion started by: jejeking
4 Replies

9. Shell Programming and Scripting

Identifying the file completion

Hi, A script is running for multiple databases so data is also being populated for multiple DBs in a.txt file. I need to rename this file once all the data is populated. Kindly suggest me How can I check once file is populated completely before renaming? Thanks in advance. (3 Replies)
Discussion started by: ravigupta2u
3 Replies

10. Shell Programming and Scripting

Bash-Completion, an example

Hello I've followed several bash-completion threads, usualy none were answered, because of obvious reasons. (of which i'm just aware since a day or a few) Non-the-less, because i was writing scripts, i never considered it to be possible to add this functionality. Also, because i though that... (0 Replies)
Discussion started by: sea
0 Replies
getdiskbyname(3)					     Library Functions Manual						  getdiskbyname(3)

NAME
getdiskbyname, getdiskbyname_r - Get the disk description using a disk name LIBRARY
Standard C Library (libc) SYNOPSIS
#include <sys/disklabel.h> #include <sys/types.h> struct disklabel *getdiskbyname( char *name); int getdiskbyname_r( char *name, struct disklabel *disk, char *boot, int boot_len); PARAMETERS
Specifies a common name for the disk drive whose geometry and partition characteristics are sought. Points to the structure that will con- tain the returned disk description. Points to the buffer that will contain the optional names of the primary and secondary bootstraps. Specifies the length of boot. This should be BUFSIZ. DESCRIPTION
Operations supported by the getdiskbyname function are also supported by the createlabel function. See The getdiskbyname and getdiskby- name_r functions are supported only for backward compatibility with DIGITAL UNIX Version 4.0 and earlier versions. These functions will be retired in a future release of Tru64 UNIX. The getdiskbyname() function uses a disk (disk drive) name to return a pointer to a structure that describes the geometry and standard par- tition characteristics of the named disk drive. Information obtained from the /etc/disktab database file is written to the type disklabel structure space referenced by the returned pointer. The getdiskbyname_r() function is the reentrant version of getdiskbyname(). Upon successful completion, getdiskbyname_r() returns a value of 0 (zero); the returned structure is pointed at by disk. Upon error, it returns a value of -1, and may set errno to [EINVAL]. RETURN VALUES
Upon successful completion, the getdiskbyname() function, returns a pointer to a type disklabel structure. ERRORS
Either disk or boot is NULL, or boot_len is not equal to BUFSIZ. RELATED INFORMATION
Functions: createlabel(3) Files: disklabel(4), disktab(4) Commands: disklabel(8) delim off getdiskbyname(3)
All times are GMT -4. The time now is 07:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy