国产成人精品亚洲777人妖,欧美日韩精品一区视频,最新亚洲国产,国产乱码精品一区二区亚洲

您的位置:首頁技術(shù)文章
文章詳情頁

如何在SCO UNIX下的反刪除(undelete)

瀏覽:153日期:2024-06-16 13:51:15

1 2 下一頁

SCO OpenServer支持Versioning Filesystems(undelete),但是缺省卻沒有打開此項(xiàng)功能,下面是具體細(xì)節(jié):

1) scoadmin中選擇Hardware/Kernel Manager,選擇Filesystem configuration,

設(shè)置MAXVDEPTH為一個(gè)非零值(n=保存多少以前版本,設(shè)置較大數(shù)時(shí)要考慮磁盤空間)

設(shè)置MINVTIME(文件versioned之前等待的秒數(shù))

2) 重新編譯(Relink)內(nèi)核;

3) 重新啟動(dòng)服務(wù)器;

4) 啟用Undelete,針對(duì)需要設(shè)置undelete的目錄(例如:/u/data)

undelete -s /u/data

5) 為了察看Versioned情況,設(shè)置以下環(huán)境變量:

SHOWVERSIONS=1; export SHOWVERSIONS

6) 用文件察看命令察看Versioned的文件,可以根據(jù)需要恢復(fù)刪除或覆蓋的文件。

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.

標(biāo)簽: Unix系統(tǒng)
主站蜘蛛池模板: 新巴尔虎左旗| 恩平市| 海兴县| 闻喜县| 梁平县| 扎鲁特旗| 灵川县| 门头沟区| 承德市| 平武县| 肥城市| 柳林县| 阳春市| 吕梁市| 兖州市| 额尔古纳市| 金溪县| 临夏市| 九江市| 息烽县| 民乐县| 九台市| 县级市| 清苑县| 巨鹿县| 抚宁县| 麟游县| 米林县| 宜州市| 偏关县| 万盛区| 拜泉县| 阿坝县| 荣成市| 宣威市| 佛山市| 镇平县| 中超| 漠河县| 长子县| 棋牌|