����Linux�Ż�
Linux����

SCO UNIX�µķ�ɾ��(undelete)

����ʱ��:2006-02-21 00:46:41��Դ:��������:yo
SCO OpenServer֧��Versioning Filesystems(undelete),����ȱʡȴû�д򿪴���ܣ������Ǿ���ϸ�ڣ�
1) scoadmin��ѡ��Hardware/Kernel Manager��ѡ��Filesystem configuration��
����MAXVDEPTHΪһ������ֵ(n=���������ǰ�汾�����ýϴ���ʱҪ���Ǵ��̿ռ�)
����MINVTIME(�ļ�versioned֮ǰ�ȴ�������)
2) ���±���(Relink)�ںˣ�
3) ����������������
4) ����Undelete�������Ҫ����undelete��Ŀ¼(����:/u/data)
undelete -s /u/data
5) Ϊ�˲쿴Versioned���,�������»���������
SHOWVERSIONS=1; export SHOWVERSIONS
6) ���ļ��쿴����쿴Versioned���ļ������Ը�����Ҫ�ָ�ɾ���򸲸ǵ��ļ���
undelete supports the following options:
If the -l, -p, -s, -u and -v options are not specified, undelete recovers the specified files.
-l
print a listing of all versions of the specified file(s)
-p
purge (permanently delete) specified source file(s)
-s
turn the version attribute on for the specified directories and its subsequent child directories
-u
turn the version attribute off for the specified directories
-v
force the specified file(s) to be versioned
The following additional options are recognized:
-d
normally, if the specified file is a directory, undelete will operate on the files contained in that directory. If this option is specified, undelete operates on the directory itself.
--------------------------------------------------------------------------------
NOTE: undelete does not work on directories that are mounted.
--------------------------------------------------------------------------------
-i
undelete will prompt for confirmation prior to recovering a file that will overwrite the current version of the file. A y answer means that the undeletion should proceed. Any other answer prevents undelete from undeleting the file.
-f
undelete will recover the file(s) without prompting even if it is overwriting over an existing current version of the file. This option overrides the -i option. Note that this is the default if the standard input is not a terminal.
-r
undelete will operate recursively on any directories in the argument list. Symbolic links that are encountered with this option will not be traversed.
-m [+-]days
undelete will only consider files that were deleted less than ( - ), greater than ( + ) or exactly (neither - nor + ) days ago.
��������

���� 0 ������