Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

automount2amd(8l) [redhat man page]

AUTOMOUNT2AMD(8L)														 AUTOMOUNT2AMD(8L)

NAME
automount2amd - converts old Sun automount maps to Amd maps SYNOPSIS
automount2amd auto.map DESCRIPTION
automount2amd is used to convert an old Sun automount maps named auto.map to an Amd map. This perl script will use the following /default entry type:=nfs;opts:=rw,grpid,nosuid,utimeout=600 If you wish to override that, define the $DEFAULTS environment variable, or modify the script. If you wish to generate Amd maps using the hostd (host domain) Amd map syntax, then define the environment variable $DOMAIN or modify the script. EXAMPLE
Say you have the Sun automount file auto.foo, with these two lines: home earth:/home moon -ro,intr server:/proj/images Running automount2amd auto.foo > amd.foo will produce the Amd map amd.foo with this content: # generated by automount2amd on Sat Aug 14 17:59:32 US/Eastern 1999 /defaults type:=nfs;opts:=rw,grpid,nosuid,utimeout=600 home host==earth;type:=link;fs:=/home rhost:=earth;rfs:=/home moon -addopts:=ro,intr host==server;type:=link;fs:=/proj/images rhost:=server;rfs:=/proj/images BUGS
automount2amd does not understand newer Sun Automount map syntax, those used by autofs. SEE ALSO
conv2amd(8),amd(8). AUTHORS
Original author Mike Walker <mike@tab00.larc.nasa.gov>. Script modified by Erez Zadok <ezk@cs.columbia.edu>, Department of Computer Sci- ence, Columbia University, New York, USA. 24 May 1993 AUTOMOUNT2AMD(8L)

Check Out this Related Man Page

PAWD(1) 						      General Commands Manual							   PAWD(1)

NAME
pawd - print automounter working directory SYNOPSIS
pawd [ path ... ] DESCRIPTION
pawd is used to print the current working directory, adjusted to reflect proper paths that can be reused to go through the automounter for the shortest possible path. In particular, the path printed back does not include any of Amd's local mount points. Using them is unsafe, because Amd may unmount managed file systems from the mount points, and thus including them in paths may not always find the files within. Without any arguments, pawd will print the automounter adjusted current working directory. With any number of arguments, it will print the adjusted path of each one of the arguments. SEE ALSO
pwd(1). amd(8), amq(8), ``am-utils'' info(1) entry. Linux NFS and Automounter Administration by Erez Zadok, ISBN 0-7821-2739-8, (Sybex, 2001). http://www.am-utils.org Amd - The 4.4 BSD Automounter AUTHORS
Erez Zadok <ezk@cs.sunysb.edu>, Computer Science Department, Stony Brook University, Stony Brook, New York, USA. Other authors and contributors to am-utils are listed in the AUTHORS file distributed with am-utils. 6 Jan 1998 PAWD(1)
Man Page

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

cannot write to /home in Sun 5.8

What's up,guys? Here is my latest situation. We have a Sun 5.8 box at the job, and when it comes to making new users, it does not cooperate with anyone. The reason for that is because the /home directory will not allow itself to be written to. I have tried "chmod 777 /home", and I have... (1 Reply)
Discussion started by: Jody
1 Replies

2. UNIX for Dummies Questions & Answers

Script syntax checking

Is it possible to check the script syntax with some sort of command...? Without running the script . I'm using Sun Solaris (3 Replies)
Discussion started by: bjornrud
3 Replies

3. Filesystems, Disks and Memory

Local NFS import / re-export using automount?

Hi, Can I do the following: On SunOS 5.8 /etc/vfstab: remote-host:/Volumes/webdata - /export/home/webdata nfs - yes rw,vers=3,soft,intr,bg,timeo=600 In /etc/auto_direct: /home/science $HOST:/export/home/webdata/science /home/science-edu ... (2 Replies)
Discussion started by: bloyall
2 Replies

4. IP Networking

Reading images on network

Hello experts, please help me i am not able to understand how to solve this, what i am trying to do is in client server environment i am using file I/O amd memory map to transfer the file, means when a client requests any file from server , the server opens the file in rb mode and read the... (5 Replies)
Discussion started by: vin_pll
5 Replies

5. Shell Programming and Scripting

write script for more then 600 files

Hi, i have 600 or more file on my server and from this 600 files i want to make one file. i have written this script SPATH=/etlstg/DAT TPATH=/etlstg/DAT/DAT_PROCESSED FILE_DATE=`TZ=CST+24 date +20%y%m%d` a1=0 while do a2=0 while do a3=0 while ... (1 Reply)
Discussion started by: prasson_ibm
1 Replies

6. Shell Programming and Scripting

how to use "cut" or "awk" or "sed" to remove a string

logs: "/home/abc/public_html/index.php" "/home/abc/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" "/home/xyz/public_html/index.php" how to use "cut" or "awk" or "sed" to get the following result: abc abc xyz xyz xyz (8 Replies)
Discussion started by: timmywong
8 Replies

7. UNIX for Dummies Questions & Answers

[Solved] Not able to do a chroot.

Hi all, I have two doms on my machine. I boot my machine from an rfs in one dom1 and mount the other rfs in the other dom2 at /media. Now I wanted to restrict access of users on dom2 to only their home directories. I do not want them to access any other directories on dom1 or dom2. So I mounted... (2 Replies)
Discussion started by: sai2krishna
2 Replies

8. Linux Benchmarks

Amd a10 with 2 quadcore cpu and 8 gig ram

my portal lab is an HP Pavallion 15 laptop, amd A10 2 x quadcore with 8 gig ram and 1 TB disk on windows 8, running VMware workstation 10, RHEL6 , 6.4, Santiago release, 1 vcpu and 1 core , 2 gig of RAM allocated to this vm guest BYTE UNIX Benchmarks (Version 3.11) System -- Linux... (0 Replies)
Discussion started by: ppchu99
0 Replies