06-08-2012
yes a struct of int,
To be more precise:
I want at run time, redirect the socket and attach on it a couple(struct (1,2) for example) and at the reception I will save this information
According to my research, I have to use the library interposition mechanism, LD-preload
Have you an idea about this mechanism if it really allows me to attach the couple at runtime?
Thank you so much for help
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I want to know how to send a mail in unix using mailx or mail or sendmail to send a mail with a file attached. I have read the answers from the other threads but I still don't understand. I want to do it in the command line as well as in script.
Can anyone help? DO I need to use... (1 Reply)
Discussion started by: firebirdonfire
1 Replies
2. AIX
Can someone email me a copy of this file? Our AIX 5 cds are at our hotsite and I need a copy to try a fix on a printer.
flyingdutchman1978@gmail.com
Thanks! (0 Replies)
Discussion started by: schism25
0 Replies
3. Shell Programming and Scripting
if test.dat is the file
cat test.dat|uuencode test.dat|mailx -s "subject" mailid
can be used for attaching test.dat
how can i attach more than one file to a mail using mailx (2 Replies)
Discussion started by: anumkoshy
2 Replies
4. Programming
Hii can anyone pls tell how to limit the max no of message in a posix message queue. I have made changes in proc/sys/fs/mqueue/msg_max
But still whenever i try to read the value of max. message in the queue using attr.mq_curmsgs (where struct mq_attr attr) its giving the default value as 10.... (0 Replies)
Discussion started by: mohit3884
0 Replies
5. Shell Programming and Scripting
hi
I know this topic has been discussed a lot in the forum but still couldnt get a exact solution to problem i am facing
I have a CSV file genertaed on Unix box and want to be sent to my email .
mailx -s "TEST" "xyz@hotmail.com" < 1.csv
cat 1.csv | mailx -s "TEST" "xyz@hotmail.com"
... (10 Replies)
Discussion started by: ultimatix
10 Replies
6. Solaris
Hi All,
Can any-one explain me how update on attach works on solaris zones.
Here is the situation .
I am trying to migrate a zones xx-xxx-xxx from Global zone A to Global zone B.
Here is the error message zoneadm is displaying
zoneadm: zone 'xx-xx-xxx': ERROR: attempt to downgrade... (0 Replies)
Discussion started by: rama krishna
0 Replies
7. Programming
Hi,
Code written in C++ got compiled successfully using Sun 4.2 Compiler on Solaris 6. As part of migration, i am using same code and trying to compile using Sun 5.8 C++ compiler(Sun Studio11) on Solaris 10 and could not compile the below line,
outStr.attach(1); // here outStr is declared... (1 Reply)
Discussion started by: shafi2all
1 Replies
8. Emergency UNIX and Linux Support
Hi guys.
I'm studding XEN virtualization with 'The Book Of XEN'. in page 46 it has a statement about how to use xm block-attach command that I don't understand.
here is the command:
xm block-attach 0 tap:aio:/opt/xen/anthony.img /dev/xvda1 w 0and here is sentence:
we are attaching anthony.img... (1 Reply)
Discussion started by: majid.merkava
1 Replies
9. Solaris
Hi All,
I am having trouble with my metadevices and I hope someone can help.
when i try to attach my submirror i get the following error:
root@xxxx>metattach d31 d21
metattach: tbair1: d21: submirror too small to attach
root@xxxx>
However, There is a submirror on the other disk which is... (3 Replies)
Discussion started by: A-Train
3 Replies
nfs(7) Miscellaneous Information Manual nfs(7)
NAME
nfs, NFS - network file system
DESCRIPTION
The Network File System (NFS) allows a client node to perform transparent file access over the network. By using NFS, a client node oper-
ates on files residing on a variety of servers and server architectures, and across a variety of operating systems. File access calls on
the client (such as read requests) are converted to NFS protocol requests and sent to the server system over the network. The server
receives the request, performs the actual file system operation, and sends a response back to the client.
NFS operates in a stateless manner using remote procedure calls (RPC) built on top of an external data representation (XDR) protocol. The
RPC protocol enables version and authentication parameters to be exchanged for security over the network.
A server grants access to a specific file system to clients by adding an entry for that file system to the server's file.
A client gains access to that file system using the command to request a file handle for the file system (see mount(1M)). (A file handle
is the means by which NFS identifies remote files.) Once a client mounts the file system, the server issues a file handle to the client
for each file (or directory) the client accesses. If the file is removed on the server side, the file handle becomes stale (dissociated
with a known file), and the server returns an error with set to
A server can also be a client with respect to file systems it has mounted over the network; however, its clients cannot directly access
those file systems. If a client attempts to mount a file system for which the server is an NFS client, the server returns with set to The
client must mount the file system directly from the server on which the file system resides.
The user ID and group ID mappings must be the same between client and server. However, the server maps UID 0 (the superuser) to UID -2
before performing access checks for a client. This process prevents gaining superuser privileges on remote file systems.
RETURN VALUE
Generally, physical disk I/O errors detected at the server are returned to the client for action. If the server is down or inaccessible,
the client receives the message:
where is the hostname of the NFS server. The client continues resending the request until it receives an acknowledgement from the server.
Therefore, the server can crash or power down, and come back up without any special action required by the client. The client process
requesting the I/O will block, but remains sensitive to signals (unless mounted with the option) until the server recovers. However, if
mounted with the option, the client process returns an error instead of waiting indefinitely.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
exportfs(1M), share(1M), mount(1M), mount_nfs(1M), nfsd(1M), mount(2), fstab(4), dfstab(4).
nfs(7)