config::model::backend::fstab(3pm) [debian man page]
Config::Model::Backend::Fstab(3pm) User Contributed Perl Documentation Config::Model::Backend::Fstab(3pm)NAME
Config::Model::Backend::Fstab - Read and write config from fstab file
VERSION
version 2.021
SYNOPSIS
No synopsis. This class is dedicated to configuration class "Fstab"
DESCRIPTION
This module is used directly by Config::Model to read or write the content of a configuration tree written with "fstab" syntax in
"Config::Model" configuration tree. Typically this backend will be used to read and write "/etc/fstab".
Comments in file_path
This backend is able to read and write comments in the "/etc/fstab" file.
STOP
The documentation below describes methods that are currently used only by Config::Model. You don't need to read it to write a model.
CONSTRUCTOR
new ( node => $node_obj, name => 'fstab' ) ;
Inherited from Config::Model::Backend::Any. The constructor will be called by Config::Model::AutoRead.
read ( io_handle => ... )
Of all parameters passed to this read call-back, only "io_handle" is used. This parameter must be IO::File object already opened for read.
It can also be undef. In this case, "read()" will return 0.
When a file is read, "read()" will return 1.
write ( io_handle => ... )
Of all parameters passed to this write call-back, only "io_handle" is used. This parameter must be IO::File object already opened for
write.
"write()" will return 1.
AUTHOR
Dominique Dumont, (ddumont at cpan dot org)
SEE ALSO
Config::Model, Config::Model::AutoRead, Config::Model::Backend::Any,
perl v5.14.2 2012-11-09 Config::Model::Backend::Fstab(3pm)
Check Out this Related Man Page
Config::Model::Backend::Debian::Dpkg::Patch(3pm) User Contributed Perl Documentation Config::Model::Backend::Debian::Dpkg::Patch(3pm)NAME
Config::Model::Backend::Debian::Dpkg::Patch - Read and write Debian Dpkg Patch information
VERSION
version 2.021
SYNOPSIS
No synopsis. This class is dedicated to configuration class "Debian::Dpkg::Patch"
DESCRIPTION
This module is used directly by Config::Model to read or write the content of Debian "Patch" file.
All "Patch" files keyword are read in a case-insensitive manner.
CONSTRUCTOR
new ( node => $node_obj, name => 'Debian::Dpkg::Patch' ) ;
Inherited from Config::Model::Backend::Any. The constructor will be called by Config::Model::AutoRead.
read ( io_handle => ... )
Of all parameters passed to this read call-back, only "io_handle" is used. This parameter must be IO::File object already opened for read.
It can also be undef. In this case, "read()" will return 0.
When a file is read, "read()" will return 1.
write ( io_handle => ... )
Of all parameters passed to this write call-back, only "io_handle" is used. This parameter must be IO::File object already opened for
write.
"write()" will return 1.
AUTHOR
Dominique Dumont, (ddumont at cpan dot org)
SEE ALSO
Config::Model, Config::Model::AutoRead, Config::Model::Backend::Any,
perl v5.14.2 2012-11-09 Config::Model::Backend::Debian::Dpkg::Patch(3pm)
Hi all,
Have two legacy DEC 3000 Model 800/800S AXP boxes and woud apart from learning how to set them up properly, I'd like to also increase the amount of RAM on both (or at least one) of the servers.
Currently I've moved all the RAM from the second box into the primary box which now holds a... (2 Replies)
Dear Friends,
I write a c program to list the directories recursively. For this I write a function called my_readdir to read the content of directory. For this I use read system call it returns -1, then I use readdir system call it gives comment terminated error or segmentation... (1 Reply)
Hi everybody,
I want ask if it is possible to copy all storage structure (VGs, LVs & filesystems) from one server to another. In other words, I want to move my system from old server to new one, so I want the new server exactly have the same sizes and number of VGs, LVs, & filesystems.
Thanks... (11 Replies)
Hey I have an IBM
IntelliStation Power 9114 Model 275 1.45GHz Workstation
1-Way 1.45GHz Power4+ Processor (5223)
2GB Memory (4x 512MB Dimms) (4447)
and was told that AIX 5.3 works on it, and that there was problems with Linux installs.
Can I download AIX 5.3 or do I need to buy... (13 Replies)
I have a file like below
Iter 1: Best Model = 10.0 12.0 13.0 17.0 23.3 78.7
Iter 2: Best Model = 10.0 20.0 30.0 40.0 50.0 60.0
Iter 3: Best Model = 27.3 46.3 84.5 23.0 34.5 35.4
etc
I want to use a scipts using csh or awk to select the iteration number and show the numbers in a table... (2 Replies)
Hello,
an employee just left the company and a new user has taken his place.
the request is to for the new user to have the same access to the servers as the old employee had.
the old user still has his account present on the servers. can anyone tell me an easy way of doing this? without... (10 Replies)
My company has several HP Model 715/100 machines running HP-UX 9 , that can't really be upgraded due to compatibility issues with some equipment it's tied to. Each UX box mounts a directory off of a Windows NT4 machine acting as an NFS server (using DiskShare Server 3 and 4), and as we upgrade the... (3 Replies)
HI,
I want to append some configuration statements to the existing file in unix to it's 3 line , 7th line and 28 line.
There is a file generated by our system job, to this I need to add some lines as mentioned below.
DIR=/usr/CDR - line 3
Source=/usr/src - line 7
Target=/usr/tgt - line... (2 Replies)
Hi,
I just successfully build a Virtual Machine in virtual box with Perfectly running HMC v7. I have a IBM eServer pSeries Model 630 Model 6C4 (Power 4) i.e. 7024-6C4. I am not able to have it connect to the HMC console on the Virtual Box.
Can anyone help me on how to connect it to the... (8 Replies)
Hi,
I am trying to do a write operation followed by a read operation on the same file through Perl, expecting the output produced by read to contain the new lines added, as follows:
#! /usr/bin/perl -w
open FH, "+< testfile" or die "$@";
print FH "New content added\n";
while (my $line =... (1 Reply)
once again, mounting another volume or hdd the fstab-file is giving me a headache. May someone could give me a hint how to configure the fstab-file properly to use the hdd.
The following
ls -l /dev/disk/by-uuidis giving me this
Thats the UUID for /dev/sdb1 with the name "save"... (6 Replies)
Hi all,
Saying we have two files:
1. A "Reference File" whose content is "Variable Name": "Variable Value"
2. A "Model File" whose content is a model program in which I want to substitute "VariableName" with their respective value to produce a third file "Program File" which would be a... (4 Replies)
Hello Experts,
Can anybody assist me in writing a code to do the following:
I have a file present in the same directory from where this cod would run. The content of the file would be as below:
Config Filename: config_details.txt
Format:
Server_prefix,IP_of_server,username, password,... (1 Reply)