08-12-2011
Quote:
Originally Posted by
orange47
Linux might be able to mount sparc UFS.
another option is to emulate sparc solaris in qemu on x86.
I would not trust either one of those without extensive testing.
Quote:
but, ufsdump is best way to go.
Or as
jlliagre posted, restore from the backups that exist if this truly is important data....
This User Gave Thanks to achenle For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
What is the difference between Solaris 9 x86 and Sparc besides the hardware. Is all the command the same or there are a difference? Plus where can go to get more information on the differences.
Many thanks,
-n (2 Replies)
Discussion started by: Insomniac
2 Replies
2. Solaris
Hello,
I use Sun Solaris 10 under a x86 computer, and I want to mount a Fat32 partition who are stored in the same disk with the UFS filesystem.
But, before mount this partition, I need to know is location in /dev/dsk
Because there are a lot of file "c0t0d0" etc..., and I didn't find my... (4 Replies)
Discussion started by: willits
4 Replies
3. Solaris
I'm trying to mirror 2 eide disks on a solaris 10 x86 system.
Im trying to use the prtvtoc | fmthard command to mirror the vtoc.
How do they represent the entire disk like in solaris 9 (c0t0d0s2 = entire device)
0. c0d0 <DEFAULT cyl 26497 alt 2 hd 16 sec 63>
... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
4. Solaris
hi expert,
sorry i'm new in solaris system, need more advice and help :)
i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below :
format :
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
... (4 Replies)
Discussion started by: bucci
4 Replies
5. UNIX for Dummies Questions & Answers
I know that Sun make s a version of Solaris for Sparc platforms and also an x86 (Intel/AMD) release of Solaris. Can an application that runs on Solaris/Sparc also run on a PC running the x86 release of Solaris? Would a different release be required or any re-compling of the application?
jim (1 Reply)
Discussion started by: stocksj
1 Replies
6. Solaris
I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies
7. Solaris
Hi folks
Doing practice certification questions but the answers to this question appear different everywhere I look? Is it also seems to be dependent on the S10 update version using at the moment in the market place? If the book was written over year back, then I suppose the hardware... (4 Replies)
Discussion started by: angusyoung
4 Replies
8. Shell Programming and Scripting
Hello!
I have a question regarding the scripting.
How are the scripting different in x86 and SPARC machines for Solaris 9,10?
If so can some one please explain?
Thank you very much in advance! (0 Replies)
Discussion started by: br1an
0 Replies
9. Solaris
hi all!
i extend disk on SPARC solaris without problems, but with x86 Solaris 10 i have some troubles . Help pls
iostat show me updated disk size, but in format i can't choose Auto configure options to use modified slice
# iostat -E c0d1
cmdk1 Soft Errors: 0 Hard Errors: 0 Transport... (4 Replies)
Discussion started by: ijj
4 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
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.8.4 2005-05-03 SHELL-QUOTE(1p)