10-31-2007
Yes, first of all put the CD-ROM in the Solaris SPARC CD-ROM and confirm you can see all the partitions s0, s1, s2 etc, then use "share" to export the CDROM mount point.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there--I think this is more of a Windows question, but I think many of you might be able to help me out:
I have a UNIX web server and a Windows machine. I'm trying to script the following tasks so that they can be run from the Windows machine (via a
batch file):
1. Shutdown web services... (5 Replies)
Discussion started by: sohungry73
5 Replies
2. HP-UX
want to remove the thread
thanks (2 Replies)
Discussion started by: indira
2 Replies
3. Shell Programming and Scripting
want to remove this thread.
thanks (2 Replies)
Discussion started by: indira
2 Replies
4. Shell Programming and Scripting
If I run this
# ssh remote-server 'du -sk /usr/platform/`uname -i`/'
174 /usr/platform/SUNW,Sun-Fire-V245
I get my output just fine,
However, if i try to do the same but populate a local variable within my script called for example 'result'
#!/bin/ksh
result=`ssh remote-server... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
5. Shell Programming and Scripting
The following code doesn't work properly which means it doesn't displays remote output.
#!/bin/ksh
#################### Function macAddressFinder ########################
macAddressFinder()
{
`ifconfig -a > ipInterfaces`
`cat ipInterfaces`
}... (2 Replies)
Discussion started by: presul
2 Replies
6. AIX
Hi Friends,
I have this script for ftping files from AIX server to local windows xp.
#!/bin/sh
HOST='localsystem.net'
USER='myid_onlocal'
PASSWD='mypwd_onlocal'
FILE='file.txt' ##This is a file on server(AIX)
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
put $FILE... (1 Reply)
Discussion started by: rajsharma
1 Replies
7. UNIX for Dummies Questions & Answers
How do i copy files from Unix Server to my Local Desktop..
ANy ideas..please suggest....V Urgent. (1 Reply)
Discussion started by: win4luv
1 Replies
8. Shell Programming and Scripting
When i use ssh command to execute local script on remote server , I am unable to do it.
Please let me know how this can be done in ksh
req=abc
dte=ghd
ssh username@hostname "$req $dte" < run_script.sh (2 Replies)
Discussion started by: lalitpct
2 Replies
9. Red Hat
Can somebody know if it is possible to connect to remote IBM MQ, if local server using C, but don't have MQ library?
Thanks for contribution (0 Replies)
Discussion started by: digioleg54
0 Replies
10. UNIX for Beginners Questions & Answers
Dear Experts,
I have found this script on internet that can be used to execute local script remotely
#!/bin/bash
# runremote.sh
# usage: runremote.sh localscript remoteuser remotehost arg1 arg2 ...
realscript=$1
user=$2
host=$3
shift 3
# escape the arguments
declare -a args
... (4 Replies)
Discussion started by: mukulverma2408
4 Replies
LEARN ABOUT OSF1
cd_nmconv
cd_nmconv(3) Library Functions Manual cd_nmconv(3)
NAME
cd_nmconv - Sets or gets CD-ROM file name conversions
LIBRARY
Rock Ridge and X/Open Extensions to the CDFS library (libcdrom.so, libcdrom.a)
SYNOPSIS
#include <sys/cdrom.h> int cd_nmconv ( char *path, int cmd, int *flag );
PARAMETERS
Points to a mount-point of a CD-ROM file system.
Can be set to either {CD_SETNMCONV} to set or {CD_GETNMCONV} to get the name conversion for file names on a mounted CD-ROM.
Used in conjunction with cmd, and can be one of the following:
{CD_NOCONV}
No conversion. This is the default when the CD-ROM is first mounted.
{CD_LOWER}
File or directory names on the CD-ROM File System are converted to lowercase when represented in the XSI file hierarchy. In addi-
tion, if a file or directory name contains no File Name Extension, SEPARATOR 1, a dot (.), is not represented in the XSI file hier-
archy.
{CD_NOVERSION}
The version number and SEPARATOR 2, a semi-colon (;), of a file or directory name on the CD-ROM File System are not represented in
the XSI file hierarchy.
Note that {CD_LOWER} and {CD_NOVERSION} may be bitwise-inclusive OR-ed.
DESCRIPTION
The cd_nmconv routine sets of gets the name conversion *flag for file names on a mounted CD-ROM.
RESTRICTIONS
Setting a file name conversion is restricted to users with the appropriate privileges. This function is intended to be used to set a file
name conversion only directly after the CD-ROM is mounted and before its files and directories are accessed. Attempting to use this func-
tion to set a file name conversion after files or directories on the CD-ROM have been accessed may produce unpredictable results.
RETURN VALUES
If successful, the value zero is returned.
If unsuccessful, the integer -1 is returned and errno is set to indicate the error.
ERRORS
The function will fail if: Search permission is denied for a directory in *path or read permission is denied on the mount-point. The
address of *flag or *path is invalid. A signal was caught during execution of the function. The argument *path does not point to a mount-
point of a CDROM File System.
The value of cmd or *flag is invalid. {OPEN_MAX} file descriptors are currently open in the calling process.
[Tru64 UNIX] Either the OPEN_MAX value or the per-process soft descriptor limit is checked. The length of the *path string exceeds
{PATH_MAX}, or a pathname component is longer than {NAME_MAX} while {_POSIX_NO_TRUNC} is in effect. The system file table is full.
A component of *path does not exist, or the *path argument points to an empty string. A component of the *path prefix is not a
directory. The user does not have the appropriate privileges to set values.
RELATED INFORMATION
Files: cdfs/xcdr.h, sys/cdrom.h.
delim off
cd_nmconv(3)