06-26-2012
Versioning through undelete
Hi ,
I am using SCO openserver realease 3.2 and tried to test versioning on a directory with undelete -s . The command executes well but it is not creating any versions of the files in it. I have also setted versioning options via filesystem and then remounted it but of no use.
Through scoadmin, I set
maxvdepth=3
minvtime=1
remounted the filesystem partition , then at directory level used
undelete -s <directory path>
but when I list using
undelete -l
it shows no versions even after waiting for minvtime .
Filesystem type : HTFS
Any suggestions on what may actually be the problem , are appreciated.
Thanks ,
Dexter
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi All,
I just given $rm abc.pc, I don't have backup also.
is there any way to recover?
thanks in advance
krishna (3 Replies)
Discussion started by: krishna
3 Replies
2. Filesystems, Disks and Memory
Right, a mate of mine screwed up today and deleted the entire contents of a directory and he really needs to get the files back. He's using Red Hat Enterprise Edition 4. The files were deleted using rm *. He can't remember if the hard drive was formatted using ext2 or ext3. Anybody have any idea... (0 Replies)
Discussion started by: Bacchus
0 Replies
3. UNIX for Dummies Questions & Answers
Hi
Is there any way to restore files accidentally deleted in Unix
(other than rm -i) (10 Replies)
Discussion started by: misenkiser
10 Replies
4. Solaris
Please correct me if I am wrong... Isnt the only difference between minor releases of Solaris, ex. 9/04 and 9/05, is the patche revs between them? If so, why does the /etc/release info stay static when patched? (4 Replies)
Discussion started by: mhm4
4 Replies
5. Programming
Dear Members,
Do you know any information about versioning a binary file. That means test.out 1.0.0, 1.0.1, 1.1.0, and so on. Can I manually edit version number (both major and minor) and revision number myself (how?) or any utility to set version number (which one?).
Best Regards,
Francesco (2 Replies)
Discussion started by: francescoandrio
2 Replies
6. UNIX for Advanced & Expert Users
Hi
Is there a way by which I can recover the last deleted file file from a folder.
OR
I had a file in a path .(i didnt notice the size at that time ) I tried ftp that file to my windows but got file of zero size.
I want to check whether the file was already empty when I tried ftping it... (1 Reply)
Discussion started by: pratim09
1 Replies
7. UNIX for Advanced & Expert Users
Hi,
In tcsh, I mistakenly deleted some files under a dir with rm *
Is there any way by which I can recover those files (without restoring to an earlier backup point) ?
I mean any command like undelete or anything similar (10 Replies)
Discussion started by: snowline84
10 Replies
8. Solaris
is there a way to backup all inodes? (could that help with undeleting files?) (9 Replies)
Discussion started by: orange47
9 Replies
9. Shell Programming and Scripting
Hi,
I need to get versioning of the branch name dynamically. can you please help us to achieve this functionality.
curl https://altrecmktg.com/artifactory/mediamarketing/release-2.0.1/altrec.tar
curl https://altrecmktg.com/artifactory/mediamarketing/release-2.0.2/altrec.tar
everytime... (5 Replies)
Discussion started by: lkeswar
5 Replies
10. UNIX for Beginners Questions & Answers
I have this code that works great ...
#!/bin/sh
for file in "$@"
do
ext=${file##*.}
base=${file%.*}
num=${base##*v}
zeroes=${num%%*}
num=${num#$zeroes} #remove leading zeros, or it uses octal
num=$((num+1))
base=${base%v*}
... (5 Replies)
Discussion started by: scribling
5 Replies
LEARN ABOUT PHP
disk_free_space
DISK_FREE_SPACE(3) 1 DISK_FREE_SPACE(3)
disk_free_space - Returns available space on filesystem or disk partition
SYNOPSIS
float disk_free_space (string $directory)
DESCRIPTION
Given a string containing a directory, this function will return the number of bytes available on the corresponding filesystem or disk
partition.
PARAMETERS
o $directory
- A directory of the filesystem or disk partition.
Note
Given a file name instead of a directory, the behaviour of the function is unspecified and may differ between operating sys-
tems and PHP versions.
RETURN VALUES
Returns the number of available bytes as a float or FALSE on failure.
EXAMPLES
Example #1
disk_free_space(3) example
<?php
// $df contains the number of bytes available on "/"
$df = disk_free_space("/");
// On Windows:
$df_c = disk_free_space("C:");
$df_d = disk_free_space("D:");
?>
NOTES
Note
This function will not work on remote files as the file to be examined must be accessible via the server's filesystem.
SEE ALSO
disk_total_space(3).
PHP Documentation Group DISK_FREE_SPACE(3)