08-02-2016
Thanks a lot, I am still in the learning curve of shell scripting
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
We have 6 hard disks attached to the hardware. Of this 2 hard disks are of 9 GB each.
Now I want combine both the same in such a way that i see a combined entry in the output of df -k .
The steps I follow are
1. Create partition on hard disks (Using format partition)
2. Run newfs -v for... (6 Replies)
Discussion started by: Hitesh Shah
6 Replies
2. UNIX for Dummies Questions & Answers
How can I check which partition /usr are mounted on ? Usually this is mounted on root (/). If I want to move /usr to another partition, how do I do this ?
BR Ludwig (1 Reply)
Discussion started by: ludwig
1 Replies
3. Shell Programming and Scripting
hi,
I posted a thread before on that subject, but with a wrong focus...
here's my problem: I want to check if a file exists in a windows shared folder mounted using:
sudo mount -t cifs -o username=xxx,password=xxx,uid=xxx,gid=xxx //192.168.0.92/public /media/92_shared
I tried
if
... (2 Replies)
Discussion started by: jul
2 Replies
4. Shell Programming and Scripting
I'd like to make a wrapper bash script that will make sure that an nfs mount is mounted before launching a program that depends on the mount being active. Basically:
1) Check to see if the mount is active
2) If it's not active, try to mount it
3) If it won't mount because the nfs server is... (3 Replies)
Discussion started by: graysky
3 Replies
5. Solaris
Hi All,
In Solaris 10, how can I check back who is login to the systems by telnet, ssh and ftp in success or failed.
I already check on /var/adm/messages but no details for all this.
Hope your can help.
Thanks. (1 Reply)
Discussion started by: mailbox80
1 Replies
6. Shell Programming and Scripting
How to check if a partition is mounted or not with bash?
And when is $? variable one?
Please give example. (10 Replies)
Discussion started by: cola
10 Replies
7. Shell Programming and Scripting
Anyone know the best way to check and see if a NAS filesystem is mounted on a linux box. I have no idea where to start :wall:. (2 Replies)
Discussion started by: d3mon_spawn
2 Replies
8. Solaris
Hi,
Please help me to tell How to check mounted filesystems for any inconsistency. Can I run fsck -m /dev/rdsk/cntndnsn for this?
Thanks, (3 Replies)
Discussion started by: Manmohan Mishra
3 Replies
9. Windows & DOS: Issues & Discussions
Hi there,
I am able to check which parition from Storage > Disk Management
How is it possible to check if the folder is mounted on which partition. (1 Reply)
Discussion started by: alvinoo
1 Replies
10. Shell Programming and Scripting
Hi
I have the following piece of code, running on a solaris 10 O.S., that is not working for NFS file systems:
for vol in `grep -E 'vxfs|ufs|nfs' /etc/vfstab | egrep -v '^#' | awk '{ print $3 }'`
do
if df -k $vol | grep $vol > /dev/null
then
outputOK "Filesystem: $vol mounted"
else... (1 Reply)
Discussion started by: fretagi
1 Replies
LEARN ABOUT CENTOS
glupwlcurve
GLUPWLCURVE(3G) OpenGL Manual GLUPWLCURVE(3G)
NAME
gluPwlCurve - describe a piecewise linear NURBS trimming curve
C SPECIFICATION
void gluPwlCurve(GLUnurbs* nurb, GLint count, GLfloat* data, GLint stride, GLenum type);
PARAMETERS
nurb
Specifies the NURBS object (created with gluNewNurbsRenderer()).
count
Specifies the number of points on the curve.
data
Specifies an array containing the curve points.
stride
Specifies the offset (a number of single-precision floating-point values) between points on the curve.
type
Specifies the type of curve. Must be either GLU_MAP1_TRIM_2 or GLU_MAP1_TRIM_3.
DESCRIPTION
gluPwlCurve describes a piecewise linear trimming curve for a NURBS surface. A piecewise linear curve consists of a list of coordinates of
points in the parameter space for the NURBS surface to be trimmed. These points are connected with line segments to form a curve. If the
curve is an approximation to a curve that is not piecewise linear, the points should be close enough in parameter space that the resulting
path appears curved at the resolution used in the application.
If type is GLU_MAP1_TRIM_2, then it describes a curve in two-dimensional (u and v) parameter space. If it is GLU_MAP1_TRIM_3, then it
describes a curve in two-dimensional homogeneous (u, v, and w) parameter space. See the gluBeginTrim() reference page for more information
about trimming curves.
NOTES
To describe a trim curve that closely follows the contours of a NURBS surface, call gluNurbsCurve().
SEE ALSO
gluBeginCurve(), gluBeginTrim(), gluNewNurbsRenderer(), gluNurbsCurve()
COPYRIGHT
Copyright (C) 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see
http://oss.sgi.com/projects/FreeB/.
AUTHORS
opengl.org
opengl.org 06/10/2014 GLUPWLCURVE(3G)