APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed


This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

Does SCO Unix OpenServer5 support the 'undelete' feature?

Yes, it does but unfortunately it's not active by default (see the online manual pages for details). To activate it:

- scoadmin -> Hardware/Kernel Manager
- MAXVDEPTH = max number of versioned files
- MINVTIME = seconds after which files get versioned

To activate file versioning on a directory:

- undelete -s <your_dir>

Roberto Zini

John Dubois added:

You don't have to relink. Rebooting may not be a bad idea to ensure that you've set things up such that it will be enabled next time you reboot, but you don't strictly have to do that either. If you just want to try the file versioning (undelete) feature, you can set/change maxvdepth and minvtime on the fly:

mount -oremount -omaxvdepth=3 -ominvtime=1 /dev/fs-name

This affects only the current filesystem mount; if you want it to be enabled next time you boot you need to change it either via scoadmin or by editing /etc/default/filesys.

Also, it should be pointed out that file versioning must be enabled, both in the filesystem and in a particular directory, at the time the files are removed from that directory, or they aren't versioned and can't be undeleted.

See also https://aplawrence.com/Companion/Chapter06.html

Got something to add? Send me email.

(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

-> Does SCO Unix OpenServer5 support the 'undelete' feature? (filesyst

Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us

Printer Friendly Version

Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway. (Andrew S. Tanenbaum)



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode