10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello,
i have installed open-motif -2.3.8_1 X11 Toolkit on freebsd32bit machine.
wanna compile a little script. script is ok. already compiled on other machine (linux)
the message is as follows
cc -o button button.c -lXm -lXt -lX11
button.c:3:10: fatal error: 'Xm/Xm.h' file not found... (5 Replies)
Discussion started by: Sennenmut
5 Replies
2. UNIX for Beginners Questions & Answers
Hello Forum,
I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so:
APP=application --version
But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies
3. UNIX for Dummies Questions & Answers
dear unix experts,
the 'man' command on my system isn't finding a manpage that is
in a MANPATH directory, or even when I specify the path directly:
12:56pm ilya@node1390 /idi/sabetilab/ilya/usr/share/man $ man -M . xemacs
No manual entry for xemacs
12:56pm ilya@node1390... (4 Replies)
Discussion started by: notestaff
4 Replies
4. UNIX for Dummies Questions & Answers
Hi friends,
When I try to see the man pages of gcc,
man gcc
I see
No manual entry for gcc.
Could you help me please. I am running solaris 10
Thanks! (4 Replies)
Discussion started by: gabam
4 Replies
5. Red Hat
Hey there,
i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies
6. AIX
Hello everyone:
I've installed an OS patch into AIX 6.1 by running the following command:
instfix -d /tmp/6100-02-03 -k "IZ41855"
however it seem not installed
instfix -i -k "IZ41855"
There was no data for IZ41855 in the fix database.
what am I doing wrong? (8 Replies)
Discussion started by: edgarvm
8 Replies
7. Solaris
According to Sun documentation (Ldoms 1.1 Administration Guide), To access the ldm(1M) man page, add the directory path /opt/SUNWldm/man to the variable $MANPATH. When I add the lines:
MANPATH=$MANPATH:/opt/SUNWldm/man
export MANPATH
to .profile, exit root and re-login, I would have "man ldm"... (5 Replies)
Discussion started by: StarSol
5 Replies
8. UNIX for Dummies Questions & Answers
hello every one im a new to unix i use solaris 9 experimental i would like to use real unix system but there are to many versions and i need someone to recommend a good one for me i also need help on how to use "man" (3 Replies)
Discussion started by: abu_malek
3 Replies
9. Shell Programming and Scripting
hello all
im trying to use in sun Solaris the information received from the top command
now i several machines that dont have install the top program so when im running the script im geting error
saying after im running this code :
set MemoryInfo = `top | grep Memory`
if (... (2 Replies)
Discussion started by: umen
2 Replies
10. Programming
If i have my own application ( say 'myTool'), then is it possible to create a man page for it?
such that "man myTool" will give information about it.
if so how to go about it?
thanks in advance,
Nads (3 Replies)
Discussion started by: Nads
3 Replies
advfs_clonefset(3) Library Functions Manual advfs_clonefset(3)
NAME
advfs_clonefset - Creates a read-only copy of an active fileset
SYNOPSIS
#include <sys/advfs_syscalls.h>
int advfs_clonefset(
char *domain,
char *fileset,
char *clonename );
LIBRARY
AdvFS Library (libadvfs)
PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of original fileset. Specifies the name of the read-only clone
fileset of the original fileset.
DESCRIPTION
This function makes a read-only copy (clone) of an active fileset without taking the fileset off line.
When you create a clone fileset, it is a read-only snapshot of fileset data structures (metadata). That is, when you clone a fileset only
the structure of the original fileset is copied, not its data. As time goes by and as the files in the original fileset are modified, the
file system copies the original pages to the clone fileset. In this way, the clone fileset preserves the contents of files as they were in
the original fileset at the time you created the clone.
You can form a fileset backup strategy by managing clone filesets without ever needing to take the original filesets off line. For exam-
ple, you can determine when to unmount a clone, mount the clone on another mount point, and then use the vdump command to back it up.
You can create new versions of a clone fileset, but you can maintain only one clone per fileset at a time. You can remove an existing clone
fileset by using the advfs_rmfset function.
NOTES
This function has features identical to the utility described in clonefset(8).
RESTRICTIONS
This function only clones AdvFS filesets; it does not clone UFS file systems.
The program that calls this function must be running with root privilege.
A fileset must have a unique name of up to 31 characters. All whitespace characters (tab, new line, space, and so on) and the / # : * ?
characters are invalid for fileset names.
Do not create a clone fileset if the available disk space for the file domain is less than 5 percent of the total. When a file domain runs
out of disk space, the file system loses its ability to maintain the consistency of files within clone filesets. When the file system can
no longer maintain consistency, it displays warning messages similar to the following on the user's terminal and to the console: WARNING:
advfs cannot copy-on-write data to a clone file. WARNING: encountered the following error: ENO_MORE_BLKS (-1040) WARNING: do not continue
using the clone fileset. WARNING: original file set: name=mnt, id=2c06a73f.00027192.00000001.8001 WARNING: clone file set: name=clone,
id=2c06a73f.00027192.00000002.8002 WARNING: file id = 0000000a.8002
This message also appears in the /var/adm/syslog.dated/latest_boot_date/kern.log file.
RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of
errno to the specific error.
ERRORS
The function sets errno to the specified errors for the following failure conditions: A valid AdvFS Advanced Utilities license is not
installed.
The calling program is not running with root privileges. The AdvFS lock for domain could not be acquired because one of the follow-
ing operations was already running on the domain: balance, defragment, rmfset, or rmvol. The fileset you want to clone already has
an existing clone. The name of the clone contains an invalid character or any of the parameters are NULL or set to . An I/O error
occurred on one of the disks in the file domain. The name of the clone is longer than 31 characters. The file domain specified by
the domain parameter does not exist.
The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not
enough memory available for the operation. There is not enough available space in the file domain to create a clone fileset.
SEE ALSO
Commands: clonefset(8), mkfset(8), rmfset(8), showfsets(8)
Functions: advfs_rmfset(3)
advfs_clonefset(3)