亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
12下一頁
最近訪問板塊 發(fā)新帖
查看: 3808 | 回復(fù): 17
打印 上一主題 下一主題

[SCO UNIX] [原創(chuàng)]SCO UNIX下的反刪除(undelete) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2002-12-14 16:55 |只看該作者 |倒序瀏覽
SCO OpenServer支持Versioning Filesystems(undelete),但是缺省卻沒有打開此項功能,下面是具體細節(jié):
    1) scoadmin中選擇Hardware/Kernel Manager,選擇Filesystem configuration,
       設(shè)置MAXVDEPTH為一個非零值(n=保存多少以前版本,設(shè)置較大數(shù)時要考慮磁盤空間)
       設(shè)置MINVTIME(文件versioned之前等待的秒數(shù))
    2) 重新編譯(Relink)內(nèi)核;
    3) 重新啟動服務(wù)器;
    4) 啟用Undelete,針對需要設(shè)置undelete的目錄(例如:/u/data)
       undelete -s /u/data
    5) 為了察看Versioned情況,設(shè)置以下環(huán)境變量:
       SHOWVERSIONS=1&#59; 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.

-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
2 [報告]
發(fā)表于 2002-12-14 17:26 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

不錯,建議大家都來看一下;
沒有這么用過,不知道好不好用,大家評論一下。

論壇徽章:
0
3 [報告]
發(fā)表于 2002-12-14 17:30 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

這種功能說有用就有用,沒用就沒用,因為會備份的基本上不會需要,而且基本上不會出錯,有用的人,就算有這個功能照樣會丟失文件。

論壇徽章:
0
4 [報告]
發(fā)表于 2002-12-15 10:15 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

不錯啊,我馬上試一下

論壇徽章:
0
5 [報告]
發(fā)表于 2002-12-16 09:15 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

spirit,你試的結(jié)果如何呀?

rainbowzhou,估計你是在大單位工作,
所有的安全措施做的很足,很可能還有
在線備份。我是看了http://www.chinaunix.net/cgi-bin/bbs/topic.cgi?forum=4&topic=15408&show=90
貼子才有感而寫的。

論壇徽章:
1
榮譽版主
日期:2011-11-23 16:44:17
6 [報告]
發(fā)表于 2002-12-16 09:36 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

我馬上試

論壇徽章:
0
7 [報告]
發(fā)表于 2002-12-16 12:47 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

很好!

論壇徽章:
6
2015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-03 17:33:522015元宵節(jié)徽章
日期:2015-03-06 15:50:39IT運維版塊每日發(fā)帖之星
日期:2016-01-11 06:20:00IT運維版塊每日發(fā)帖之星
日期:2016-03-19 06:20:0019周年集字徽章-19
日期:2019-09-06 18:56:11
8 [報告]
發(fā)表于 2002-12-23 18:00 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

我是新手,
我在kardware/kernel manager中找了半天也沒找到filesystem configuration
為什么沒有
請指教.

論壇徽章:
0
9 [報告]
發(fā)表于 2002-12-23 18:14 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

kardware/kernel manager中找了半天也沒找到filesystem configuration

我在sco 5.05中也沒找到  

論壇徽章:
0
10 [報告]
發(fā)表于 2002-12-23 19:00 |只看該作者

[原創(chuàng)]SCO UNIX下的反刪除(undelete)

我認為對于我們專業(yè)的技術(shù)人來說,UNIX下的反刪除功能基本上是沒意義的,關(guān)鍵還是要有謹慎的態(tài)度,譬如在刪除之前我們完全應(yīng)該而且也可以作出這樣的確認:

“我該不該這樣做?在這樣做之前我還應(yīng)該做些什么?”
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP