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 Desktop or Openserver.

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.

OSR5 FAQ

Does SCO 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:


Hate these ads?



- 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 http://aplawrence.com/Companion/Chapter06.html



Comments /SCOFAQ/FAQ_scotec2undelete.html


Add your comments

Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
3519856 2,242

/SCOFAQ/FAQ_scotec2undelete.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

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. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


larryi@ccamedical.com SCO OS5, Debian Linux, RedHat Linux, MySQL, Apache, AJAX development using dXport/dL4/Unibasic, Windows Connectivity, Sharing Resouces, Automation, Shell Scripting


http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282









Change Congress


Related Posts