10-10-2017
awesome ! thanks for the help!
bill
7 More Discussions You Might Find Interesting
1. Solaris
When I installed the SOLARIS 10 OS first time, the desktop would not start up, this was because of network setup. Reinstalled worked. After a week due to some problem I had to reinstall OS, installation went fine and but when i reboot I get this error.
cannot find mis/krtld
boot error loading... (0 Replies)
Discussion started by: johncy_j
0 Replies
2. Solaris
Hi,
My Solaris 5.8 system keeps getting this error at boot -
"Can't set vol root to /vol"
then
/usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable
Any idea what is wrong, and how do I fix it? (0 Replies)
Discussion started by: ghuber
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
My Solaris 5.8 system keeps getting this error at boot -
"Can't set vol root to /vol"
then
/usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable
Any idea what is wrong, and how do I fix it? (1 Reply)
Discussion started by: ghuber
1 Replies
4. Shell Programming and Scripting
I am new to scripting.
I am using the following script . BART.dat contains the string 'Y' .
#!/bin/ksh
cd /work/TCI/data_out
file=`cat BART.dat`
echo "$file"
if ; then
echo "true"
fi
When i am executing the above script i am getting the following error
./s.ksh: : not found
... (2 Replies)
Discussion started by: ammu
2 Replies
5. UNIX for Dummies Questions & Answers
I keep getting an error message in a script im writing, this line is allways pointed out.
if
and this is the message i keep getting.
line 32: [: 8: unary operator expected
Whats wrong with it?
Please Help. (5 Replies)
Discussion started by: chapmana
5 Replies
6. SCO
hi
SCO Unix 5.0.6 doesn't boot due to this problem:
not a directory
boot not found
cannot open
stage 1 boot failure: error loading hd (40)/boot
Knows someone howto solve it? (16 Replies)
Discussion started by: ccc
16 Replies
7. Linux
Hi,
I am doing PXE boot for RHEL6.4 on EFI and want to display custom messsage before loading vmlinuz and initrd.img, which is not working.
boot server side (In case of BIOS client):
In /var/lib/tftpboot/default file I am putting the message in below format:
SAY hello world
boot... (0 Replies)
Discussion started by: indus123
0 Replies
LEARN ABOUT PHP
pharfileinfo.getmetadata
PHARFILEINFO.GETMETADATA(3) 1 PHARFILEINFO.GETMETADATA(3)
PharFileInfo::getMetadata - Returns file-specific meta-data saved with a file
SYNOPSIS
public mixed PharFileInfo::getMetadata (void )
DESCRIPTION
Return meta-data that was saved in the Phar archive's manifest for this file.
PARAMETERS
RETURN VALUES
any PHP variable that can be serialized and is stored as meta-data for the file, or NULL if no meta-data is stored.
EXAMPLES
Example #1
A PharFileInfo.getMetadata(3) example
<?php
// make sure it doesn't exist
@unlink('brandnewphar.phar');
try {
$p = new Phar(dirname(__FILE__) . '/brandnewphar.phar', 0, 'brandnewphar.phar');
$p['file.txt'] = 'hello';
$p['file.txt']->setMetadata(array('user' => 'bill', 'mime-type' => 'text/plain'));
var_dump($p['file.txt']->getMetadata());
} catch (Exception $e) {
echo 'Could not create/modify brandnewphar.phar: ', $e;
}
?>
The above example will output:
array(2) {
["user"]=>
string(4) "bill"
["mime-type"]=>
string(10) "text/plain"
}
SEE ALSO
PharFileInfo.setMetadata(3), PharFileInfo.hasMetadata(3), PharFileInfo.delMetadata(3), Phar.setMetadata(3), Phar.hasMetadata(3), Phar.get-
Metadata(3).
PHP Documentation Group PHARFILEINFO.GETMETADATA(3)