04-15-2009
I was trying to mimic how our overseas group mounted the paths to some GNU tools, because we are replicating the environment at our site.
I found syntax that allows me to do what seems like a hierarchical mount, but maybe it isn't quite.
The syntax in my "auto_gnu" file goes like this.
gnu <path to remote share> /bin <path to remote bin share> /lib <path to remote lib share>
This is ALL on the same line. And it works!
The reason WHY this was done is because /gnu is where the top level gnu tools are, and "bin" is just an empty folder to use as a mount point. What they did at our remote site was use these environment variable options like "$CPU" and "$ARCH" (something like that - Look it up, it is part of the automount docs) such that the automounter will mount the bin directory based on the cpu and architecture. So, if you login to a sparc, it automounts sparc-bin to /gnu/bin, if you login to linux, it automounts linux-bin to the /gun/bin directory. So the directory structure looks the same from all architectures, and the automounter is determing which platform bin directory to mount to /gnu/bin.
It is very convoluted. I mainly wanted to learn about the automounter and try to get this pseudo hierarchical mount working, which I did with the above syntax.
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I install an external disk on my sun solaris 8
this went fine and I was able to access all filesystem on the disk. the new disk is mounted on /local
then 6 hours later
files under /local/files was 1 byte in size
at the same time I received the following
error message in... (4 Replies)
Discussion started by: hassan2
4 Replies
2. UNIX for Advanced & Expert Users
My site has a few sun solaris server including out NIS server and NFS server on solaris machines. we also have few suse linux and redhat linux machine.
All our home directory is on our NFS server(sun Solaris) and this is automounted through /etc/auto_master and /etc/auto_home this worked fine... (1 Reply)
Discussion started by: hassan2
1 Replies
3. UNIX for Advanced & Expert Users
Hi All
How do I do a auto mount to a directory in a different unix server. I am using Solaris.
Please advise!!
TIA
Jana (7 Replies)
Discussion started by: janavenki
7 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I was reading about automounting on Solaris10 and faced with the following sentence:
"When the automount daemon is initialized on the server, no exported directories are mounted by the clients."
What does it mean? Could you please explain? What is "exported directories" ?
Thanks (8 Replies)
Discussion started by: XNOR
8 Replies
5. AIX
Hi All,
Please help. I need an advise on how to Unconfigure automount please.
Many Thanks. (2 Replies)
Discussion started by: EngnrRG
2 Replies
6. Red Hat
I am trying to automount one of my NFS share to my client machine but it is not mounting
here is the scenario :
My server machine ip : 192.168.1.100
My client machine ip is : 192.168.1.102
on client machine i have configured the /etc/auto.master file :
/share(My mount point) ... (0 Replies)
Discussion started by: Vaibhav.T
0 Replies
7. Shell Programming and Scripting
Hi,
Below is my input file:
Long list of significant figure
1.757E-4
7.51E-3
5.634E-5
.
.
.
Desired output file:
0.0001757
0.00751
0.00005634
.
.
. (10 Replies)
Discussion started by: perl_beginner
10 Replies
8. Red Hat
Hello experts,
On my RHEL box when i mount a nfs file system using autofs, the df -t shows the file system as nfs only. For which mounts does it report the filesystem as autofs. ?? I actually want to see the filesystem getting reported as autofs instead of nfs. Pls guide me
I... (1 Reply)
Discussion started by: achak01
1 Replies
9. Red Hat
When i export the directory where the data really is, i can specify which hosts can mount it. On the remote server i create a mount point directory and then mount it to the source servers directory (that has the data).
I need to run my script on Server X , i would login there and type in the... (11 Replies)
Discussion started by: bkilaru
11 Replies
10. AIX
Hi there,
I have a strange problem, I have a NFS server running AIX 7.1 TL3 SP3, let's call it server A. I have another AIX 7.1 TL3 SP3 server, let's call it server B, that's automounting a filesystem from server A.
When server B is automounting the filesystem from server A, I can't see any... (3 Replies)
Discussion started by: ce9888
3 Replies
LEARN ABOUT SUSE
gnutls_openpgp_crt_get_pk_rsa_raw
gnutls_openpgp_crt_get_pk_rsa_raw(3) gnutls gnutls_openpgp_crt_get_pk_rsa_raw(3)
NAME
gnutls_openpgp_crt_get_pk_rsa_raw - export the RSA public key
SYNOPSIS
#include <gnutls/openpgp.h>
int gnutls_openpgp_crt_get_pk_rsa_raw(gnutls_openpgp_crt_t crt, gnutls_datum_t * m, gnutls_datum_t * e);
ARGUMENTS
gnutls_openpgp_crt_t crt
Holds the certificate
gnutls_datum_t * m
will hold the modulus
gnutls_datum_t * e
will hold the public exponent
DESCRIPTION
This function will export the RSA public key's parameters found in the given structure. The new parameters will be allocated using
gnutls_malloc() and will be stored in the appropriate datum.
RETURNS
GNUTLS_E_SUCCESS on success, otherwise an error.
SINCE
2.4.0
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software:
http://www.gnu.org/gethelp/
COPYRIGHT
Copyright (C) 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site,
the command
info gnutls
should give you access to the complete manual.
gnutls 2.8.6 gnutls_openpgp_crt_get_pk_rsa_raw(3)