9 More Discussions You Might Find Interesting
1. Solaris
Hi friends,
We have a Solaris machine running 10 update 3
-bash-3.2# cat /etc/release
Solaris 10 11/06 s10s_u3wos_10 SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
... (6 Replies)
Discussion started by: prvnrk
6 Replies
2. Red Hat
Hi
i want to update the BASH because of the "shell shock" vulnerability.
my RedHat 5 is clean install with the default mirror site.
when im running the command: yum update bash
im getting a message saying there is no update. you can see in the attach picture...
what am i doing wrong? is... (4 Replies)
Discussion started by: guy3145
4 Replies
3. Programming
Right I have a MYSQL database with table1 with 3 columns, colA, colB and colC. I want to combine the data in the 3 columns into a 4th column names col_comb. Here's the SQL command that works:
UPDATE table1 SET `col_comb` = CONCAT( `colA` , ' - ', `colB` , ', ', `colC` );
So now I want this... (5 Replies)
Discussion started by: barrydocks
5 Replies
4. Solaris
I want to update my solaris 10 server which is currently on update 3 stage.
A new application require it to be on update 6.
What is the best way to make it update 6.
should i just install the patch or should i go for the liveupgrade??
thanks for you help in advance (3 Replies)
Discussion started by: uxravi
3 Replies
5. Solaris
I just took delivery of an Ultra Sparc 60 box. I tried to install Solaris 10 from the cdrom by issuing the following command at ok prompt: ok boot cdrom, and I am getting an error message that says: "Boot device: /pci@1f,4000/scsi@3/disk@6,0:f File and args: can't open boot device. What am I... (2 Replies)
Discussion started by: ijeoma
2 Replies
6. Shell Programming and Scripting
Hi,
I need to sftp from one Unix Server (source) to another (destination) (both SunOS) non-interactively.
I did the following :
1) Generated public key in source server in $HOME/.ssh dir without giving any passphrase
2) Added the contents of the public key generated to authorized_keys2... (7 Replies)
Discussion started by: Sabari Nath S
7 Replies
7. UNIX for Dummies Questions & Answers
I have found a question from the exercises of my study mat. The question is
"Why are there a in-core copy and a disk-copy of i-node block and super block?"
If any one know the proper answer then please send me..... (1 Reply)
Discussion started by: dearanik
1 Replies
8. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (8 Replies)
Discussion started by: rits
8 Replies
9. Homework & Coursework Questions
Q. Write a script that behaves both in interactive and non interactive mode. When no arguments are supplied it picks up each C program from the directory and prints first 10 lines.
It then prompts for deletion of the file.
If user supplies arguments with the script , then it works on those files... (1 Reply)
Discussion started by: rits
1 Replies
gd_encoding(3) GETDATA gd_encoding(3)
NAME
gd_encoding -- report the binary encoding of data in a dirfile
SYNOPSIS
#include <getdata.h>
unsigned long gd_encoding(DIRFILE *dirfile, int fragment_index);
DESCRIPTION
The gd_encoding() function queries a dirfile(5) database specified by dirfile and returns the binary encoding for the fragment indexed by
fragment_index. The binary encoding of a fragment indicate the encoding of data stored in binary files associated with RAW fields defined
in the specified fragment. The encoding of a fragment containing no RAW fields is ignored.
RETURN VALUE
Upon successful completion, gd_encoding() returns the binary encoding of the specified fragment, which will one of the following symbols:
GD_UNENCODED, GD_TEXT_ENCODED, GD_SLIM_ENCODED, GD_GZIP_ENCODED, GD_BZIP2_ENCODED, GD_LZMA_ENCODED, GD_ENC_UNSUPPORTED.
See gd_cbopen(3) and dirfile-encoding(5) for the meanings of these symbols and details on the supported encoding schemes. If the encoding
scheme specified in the dirfile metadata is unknown to GetData, GD_ENC_UNSUPPORTED will be returned.
On error, it returns zero and sets the dirfile error to a non-zero error value. Possible error values are:
GD_E_BAD_DIRFILE
The supplied dirfile was invalid.
GD_E_BAD_INDEX
The supplied index was out of range.
The dirfile error may be retrieved by calling gd_error(3). A descriptive error string for the last error encountered can be obtained from
a call to gd_error_string(3).
SEE ALSO
gd_alter_encoding(3), gd_cbopen(3), gd_error(3), gd_error_string(3), gd_getdata(3), dirfile(5), dirfile-format(5)
Version 0.7.0 15 July 2010 gd_encoding(3)