09-12-2009
Any work arounds you could think of?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I'm trying to use the goto in ksh but it does not appear to be a valid command. Is that only valid in csh? Anything similar in ksh that I can use?
Appreciate any help you can provide.
Thanks.
geraldine (4 Replies)
Discussion started by: Geraldine
4 Replies
2. Shell Programming and Scripting
All
Please help to provide "goto" functionality in KORN shell script.
ex:
1: Command
Process some command
if check some variable
true
goto 1
else
process some other
Please help to implement this example in korne... (1 Reply)
Discussion started by: DeepakXavier
1 Replies
3. Shell Programming and Scripting
Hey Guys.. I just want to know how to use Goto statement in shell scripts.
I know the basic use of statement.
Goto Label
The above statement will search for some label which must be defined in the script itself as:
label:
I tried these combinations but I didn't work out for me and I'm... (7 Replies)
Discussion started by: vikasduhan
7 Replies
4. Shell Programming and Scripting
I have a test script for using goto statement but its not working. please help
i tried both in linux and hp-ux it's not working please help
#! /bin/ksh
t=`ps -ef|grep ti.sh|grep -v grep`
if ; then
goto start
else
goto stop
fi
start:
echo "start"
stop:
echo "stop" (5 Replies)
Discussion started by: Krrishv
5 Replies
5. UNIX for Dummies Questions & Answers
uname -a returns: SMP Tue May 17 17:52:23 EDT 2005 i686 athlon i386 GNU/Linux
I have many aliases beginning with "goto" so...
if I type goto and then hit return (oops)
A goto prompt pops up and I cant exit from it(I tried MANY key seqs)
The only way to exit is to kill the term window... (2 Replies)
Discussion started by: rairey
2 Replies
6. Solaris
Dear All,
Can any one pls let me the command for how to goback to previous visited directory from the current working directory in SunOS ?
In case of HP-UX; the same can be resolved through "cd -" command.
Thanks in advance!
Prasanth Babu. (6 Replies)
Discussion started by: prasanth_babu
6 Replies
7. Solaris
Hello,
I'm brand new to Sun/Solaris.
I have a Sun Blade 150, with SunOS 5.8.
I wanted to make a backup to prevent future data loss, so I put the disk in a normal PC with Windows XP to try to make a backup with Norton Ghost, the disk was detected, but not the file volume, so I place the disk... (6 Replies)
Discussion started by: Resadija
6 Replies
8. Shell Programming and Scripting
my code does somthing like this:
#!bin/ksh
sqlplus / | While read id
do
temp=`echo $id`
i = i+1
done
j=0
while
do
--connecting to sql and executing a Stored proc for 1st id
--checking for the status
status = $?
if
error
--need to... (1 Reply)
Discussion started by: RP09
1 Replies
9. Shell Programming and Scripting
#!/bin/sh
label:
echo sql poll
v=`sqlplus -s <<!
HR/HR
set pages 0 echo off feed off
select distinct status from
emp
where
id=5;
!
`
echo $v;
echo it comes here after false
if
then
echo if condition true
sqlplus -l scott/tiger <<EOF
select * from department;
EXIT (2 Replies)
Discussion started by: kumaar1986
2 Replies
10. Shell Programming and Scripting
Well, guys I saw a question about GOTO for Python.
So this gave me the inspiration to attempt a GOTO function for 'dash', (bash and ksh too).
Machine: MBP OSX 10.14.3, default bash terminal, calling '#!/usr/local/bin/dash'...
This is purely a fun project to see if it is possible in PURE... (3 Replies)
Discussion started by: wisecracker
3 Replies
LEARN ABOUT FREEBSD
altera_sdcard
ALTERA_SDCARD(4) BSD Kernel Interfaces Manual ALTERA_SDCARD(4)
NAME
altera_sdcard -- driver for the Altera University Program Secure Data Card IP Core
SYNOPSIS
device altera_sdcard
In /boot/device.hints:
hint.altera_sdcardc.0.at="nexus0"
hint.altera_sdcardc.0.maddr=0x7f008000
hint.altera_sdcardc.0.msize=0x400
DESCRIPTION
The altera_sdcard device driver provides support for the Altera University Program Secure Data Card (SD Card) IP Core device. A controller
device, altera_sdcardcX, will be attached during boot. Inserted disks are presented as disk(9) devices, altera_sdcardX, corresponding to the
controller number.
HARDWARE
The current version of the altera_sdcard driver supports the SD Card IP core as described in the August 2011 version of Altera's documenta-
tion. The core supports only cards up to 2G (CSD 0); larger cards, or cards using newer CSD versions, will not be detected. The IP core has
two key limitations: a lack of interrupt support, requiring timer-driven polling to detect I/O completion, and support for only single
512-byte block read and write operations at a time. The combined effect of those two limits is that the system clock rate, HZ, must be set
to at least 200 in order to accomplish the maximum 100KB/s data rate supported by the IP core.
SEE ALSO
disk(9)
Altera University Program Secure Data Card IP Core, Altera Corporation - University Program,
ftp://ftp.altera.com/up/pub/Altera_Material/11.0/University_Program_IP_Cores/Memory/SD_Card_Interface_for_SoPC_Builder.pdf, August 2011.
HISTORY
The altera_sdcard device driver first appeared in FreeBSD 10.0.
AUTHORS
The altera_sdcard device driver and this manual page were developed by SRI International and the University of Cambridge Computer Laboratory
under DARPA/AFRL contract (FA8750-10-C-0237) (``CTSRD''), as part of the DARPA CRASH research programme. This device driver was written by
Robert N. M. Watson.
BUGS
altera_sdcard contains a number of work-arounds for IP core bugs. Perhaps most critically, altera_sdcard ignores the CRC error bit returned
in the RR1 register, which appears to be unexpectedly set by the IP core.
altera_sdcard uses fixed polling intervals are used for card insertion/removal and I/O completion detection; an adaptive strategy might
improve performance by reducing the latency to detecting completed I/O. However, in our experiments, using polling rates greater than 200
times a second did not improve performance.
altera_sdcard supports only a nexus bus attachment, which is appropriate for system-on-chip busses such as Altera's Avalon bus. If the IP
core is configured off of another bus type, then additional bus attachments will be required.
BSD
August 18, 2012 BSD