I need to do a bakcup for some files, in the same tape but in diferente time....
at 9am i need the file /public/test1.txt then...
tar -cvf /dev/st0 /public/test1.txt
at 12pm i need the file /public/test2.txt the....
tar ¿? /public/test2.txt
in this point i have problem beacuse when... (3 Replies)
I am using a tar command to backup my system. It works properly.
I have had some trouble and I need to restore a few files.
I am using the following command :
tar xvf /dev/rmt2h myfile_to_restore
The tar command seemd to work but after a long time I got the following error message :... (6 Replies)
The below tar command works fine for me,
tar -cvf - `find ./srcdir -type d` | (cd ./destdir ; tar -xvf - )
but this version is giving error to me:
cd ./srcdir &&
tar -cf - . |
gzip -9 |
cd ../destdir &&
gzip -d |
tar -xf -
error is: gzip: compressed data not read from a terminal.... (2 Replies)
Hi all,
4 files are returned when i issue 'find . -mtime -1 -type f -ls'.
./ora_475244.aud
./ora_671958.aud
./ora_934052.aud
./ora_934050.aud
However, when I issued the below command:
tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Folks,
Im hoping you guys can help me. Here is a description of what I have going on.
Fresh VM, trying to run a Kickstart Install on it for RHEL5. I am looking to access the kickstart file through nfs.
I boot from a local ISO image and everything goes fine, I get to the boot prompt and enter... (3 Replies)
I just finished setting up a Kickstart Server for our RHEL 5 installs. It's configured to use the PXE boot and NFS for the installation. Everything works fine when I just build one machine at a time. The installation works from begining to end.
But when I try the install three machines at... (5 Replies)
hi all,
any one has occured below issue before?
i login to RHEL 5 using user name root. howver, after logged, nothing displayed on desktop, total was empty on desktop. some more, right click mouse right button, no such options to choose.
any one has this issue before? any idea to... (3 Replies)
Hello everyone, I´ve got a problem when I try to untar a file.
The following errors appear:
tar: Skipping to next header
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
Can anyone help me? Thanks in advance! (1 Reply)
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Hi,
I installed Db2 9.7 on RHEL5 32bit .
Instance Name is db2inst1 amd in that i created database as mydb.
I exported env variables for
classpath ,db2dir,db2instance
LD_LIBRARY_PATH ,PATH ,ODBC, ODBCHOME ,ODBCINI
My application needs ODBC connectivity and so I modified odbc.ini file . ... (0 Replies)
Discussion started by: roopalidalvi231
0 Replies
LEARN ABOUT SUSE
acl_from_text
ACL_FROM_TEXT(3) BSD Library Functions Manual ACL_FROM_TEXT(3)NAME
acl_from_text -- create an ACL from text
LIBRARY
Linux Access Control Lists library (libacl, -lacl).
SYNOPSIS
#include <sys/types.h>
#include <sys/acl.h>
acl_t
acl_from_text(const char *buf_p);
DESCRIPTION
The acl_from_text() function converts the text form of the ACL referred to by buf_p into the internal form of an ACL and returns a pointer to
the working storage that contains the ACL. The acl_from_text() function accepts as input the long text form and short text form of an ACL as
described in acl(5).
This function may cause memory to be allocated. The caller should free any releasable memory, when the new ACL is no longer required, by
calling acl_free(3) with the (void*)acl_t returned by acl_from_text() as an argument.
RETURN VALUE
On success, this function returns a pointer to the working storage. On error, a value of (acl_t)NULL is returned, and errno is set appropri-
ately.
ERRORS
If any of the following conditions occur, the acl_from_text() function returns a value of (acl_t)NULL and sets errno to the corresponding
value:
[EINVAL] The argument buf_p cannot be translated into an ACL.
[ENOMEM] The acl_t to be returned requires more memory than is allowed by the hardware or system-imposed memory management con-
straints.
STANDARDS
IEEE Std 1003.1e draft 17 ("POSIX.1e", abandoned)
SEE ALSO acl_free(3), acl_get_entry(3), acl(5)AUTHOR
Derived from the FreeBSD manual pages written by Robert N M Watson <rwatson@FreeBSD.org>, and adapted for Linux by Andreas Gruenbacher
<a.gruenbacher@bestbits.at>.
Linux ACL March 23, 2002 Linux ACL