Sponsored Content
Top Forums UNIX for Advanced & Expert Users Mounting NAS Drive on solaris Post 302107426 by reborg on Friday 16th of February 2007 04:31:08 PM
Old 02-16-2007
Quote:
Originally Posted by spyshagg
So i dont know how to map the CIF drive from the NAS.
From solaris you cannot do that. You will need the NAS to export it using NFS.

Quote:
The same unix computer already has a cif mapped drive
Same applies here, it is not mounting a CIFS filesystem, at least not directly. It is exported in some other way.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

mounting a drive

Trying to mount a drive which has been dropped after corruption. What is the quickets and esiest command to run and which switches? cheers olly (1 Reply)
Discussion started by: ollyparkhouse
1 Replies

2. UNIX for Dummies Questions & Answers

Drive mounting

Hello, people. I am pretty new to linux, but I heard it was supposed to be good. So I installed it on an ancient 33mhz 486 with 27mbs of RAM. Ran into problems, patched them, and am here now. I am trying to figure out how to use my floppy and CD-ROM drives. I click their respective icons on the... (2 Replies)
Discussion started by: Furtoes00
2 Replies

3. Filesystems, Disks and Memory

Mounting AFS drive

I have an old amiga IDE drive that I wish to read. Its formated in FFS and I understand I can mount this under linux as an AFS filesystem. The drive is already installed in the PC. Can anyone explain in newbie terms the steps t mounting and reading this drive? Thanks (1 Reply)
Discussion started by: SocketSlave
1 Replies

4. UNIX for Dummies Questions & Answers

Mounting a Windows Network Drive on Solaris 10

Hi, I have a Solaris 10 OS. I would like to map a network drive to a Windows machine. I have typed the following command #mount 192.1.1.1:/content_dir /windows 192.1.1.1 - ip address of my windows box content_dir - directory that I have shared out to others users on my windows box... (3 Replies)
Discussion started by: annointed3
3 Replies

5. Solaris

Mounting XP Drive in Solaris 10

Hi All, I'm a relative rookie when it comes to the world of Unix and Windows networking, and hoping you can help me out! My predicament: I have a Windows machine running VMWare with an instance of Solaris 10. I have a Windows XP Pro "server" with a large hard drive that I need Solaris to... (7 Replies)
Discussion started by: spiffy05
7 Replies

6. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

7. Linux

CD drive Mounting

Can any one suggest me how to mount the cd drive from unix? I have installed Ubuntu8.0 on my laptop. Your response is appreciated. (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

8. Solaris

mounting usb drive

hi, first of all, i would really like to know how to find out where my usb is in the system. if i "cd to /dev/usb i have a hub0 to hub4 and hid0 -- hid5 .. how do i know where my usb is? and i guess once i find out which one my usb is at, i can do something like "mount /dev/usb/xxx /tmp" ... (5 Replies)
Discussion started by: k2k
5 Replies

9. Solaris

NAS drive (WD My Book Live) via Solaris

Anyone ever done this? Is it even possible to mount the remote NAS drive under Solaris? (7 Replies)
Discussion started by: psychocandy
7 Replies
SHELL-QUOTE(1)						User Contributed Perl Documentation					    SHELL-QUOTE(1)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.16.3 2010-06-11 SHELL-QUOTE(1)
All times are GMT -4. The time now is 02:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy