I have below code for unmounting, but i need validation filesystem is unmounted or not, if not it give us error. Please confirm below code or need modification. Please suggest.
I am having a rough time with unmounting a CD on a Solaris box. I am installing Oracle 8.1.7 for someone, and everything was going swell until the system tells me to put in CD 2. When I try to eject CD 1, nothing happens because the CD is still mounted. I looked on the man pages for rmmount to... (3 Replies)
Hi! I got tired of running out of disk space on the different partitions on my Solaris 8 Ultra 5 computer so I tried to make just a big / partition and install everything on that. But somehow I managed to get a 0 byte /home partition :-) I tried to delete this (By just clicking it in X-Windows and... (8 Replies)
Hello, can someone help me with the problem am facing unmounting a filesystem
I wanted to unmount /oradata cause i created it with a larger size and wanted to umount it , delete the fs and create again with less size.
i have done below but nothing so far.
1) iam not in /oradata directory
2) i... (3 Replies)
I'm kinda new in shell scripting. How do i validate an input from a user to conform to requirement. For example,
echo "Enter First Name: "
read FName
echo "Enter Date of Employment (dd/mm/yyyy): "
read DoE
If the user enters data that is alphanumeric, it accepts it. I hope i've... (1 Reply)
Hi,
I am new to Unix shell scripting and need help to add some validation to an existing script.
I've made a script that takes two argument (input) but I want the script to display an error message when nothing (null) is entered. So far I managed to validate the fist argument but fail to... (2 Replies)
Hi All,
I need to write a small piece of code to check the following.
name should contain (A-Z), spaces, hyphens & apostrophes
I need to generate regular expressions for the same.
Please help me out as i am not familiar with regular expressions. (1 Reply)
I have an NFS file system mounted on one of my AIX servers with "mount -v cifs".. The server from which the file system was mounted has crashed and now my "df -g" output is hanging. Is there any was to unmount this NFS file system? I have tried "umount -f". Doesn't work.
Or is there any way in... (6 Replies)
Hi All,
I'm facing an issue while trying to unmount a remotely mounted file system, strangely it's not even getting mounted, Kindly find the reply messages.
Mounting error msg
nfsmnthelp: 1831-019 <Server host>: Cannot mount a file system that is already remotely mounted.
mount: 1831-008... (13 Replies)
Hi All
I am trying to validate a value using if condition
requirement is need to check whether its a valid numeric value
the input contains ( space, #N/A and negative and positive decimal values and Zeros)
if it contains the space, I need to display the error message as space
... (15 Replies)
Hello World,
We have a software repository server in our environment which we use as an NFS server.
Now this has been going on well before I was hired. Now, I observed many users not unmounting the NFS resources after their use. I ran showmount and it showed 513 current sessions.
:wall: Is... (7 Replies)
Discussion started by: satish51392111
7 Replies
LEARN ABOUT DEBIAN
validation::class::backwards
Validation::Class::Backwards(3pm) User Contributed Perl Documentation Validation::Class::Backwards(3pm)NAME
Validation::Class::Backwards - Backwards-Compatibility Layer for Validation::Class
VERSION
version 7.70
SYNOPSIS
package SomeClass;
use Validation::Class;
package main;
my $class = SomeClass->new;
...
1;
DESCRIPTION
Validation::Class::Backwards is responsible for providing deprecated functionality to the Validation::Class::Prototype layer whilst clearly
remaining separate via namespacing.
Note: The methods described here will eventually become obsolete and cease to exist. Please review the namespace occasionally and adjust
your code accordingly. Using methods defined here will generate warnings unless you unset the $ENV{'VALIDATION_CLASS_BC_WARNING'}
environment variable.
METHODS
error
DEPRECATING:
The error method is used to set and/or retrieve errors encountered during validation. The error method with no parameters returns the error
message object which is an arrayref of error messages stored at class-level.
# set errors at the class-level
return $self->error('this isnt cool', 'unknown somethingorother');
# set an error at the field-level, using the field ref (not field name)
$self->error($field_object, "i am your error message");
# return all errors encountered/set as an arrayref
my $all_errors = $self->error();
RECOMMENDED:
# see Validation::Class::Errors
# set errors at the class-level
return $self->errors->add(...);
# set an error at the field-level
$self->fields->{$field_name}->{errors}->add(...);
# return all errors encountered
my $list = $self->errors->list;
AUTHOR
Al Newkirk <anewkirk@ana.io>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Al Newkirk.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.14.2 2012-06-28 Validation::Class::Backwards(3pm)