home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / coherent / 3847 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  2.8 KB

  1. Path: sparky!uunet!mcsun!Germany.EU.net!unido!news.Hamburg.Germany.EU.net!easix!umunk!udo
  2. From: udo@umunk.GUN.de (Udo Munk)
  3. Newsgroups: comp.os.coherent
  4. Subject: Re: 4.0, Low level IO and problems...
  5. Message-ID: <9208192524@umunk.GUN.de>
  6. Date: 20 Aug 92 03:46:53 GMT
  7. References: <SJE.92Aug14141342@xylos.ma30.bull.com>
  8. Organization: umunk (private)
  9. Lines: 50
  10. X-Newsreader: Tin 1.1 PL4
  11.  
  12. sje@xylos.ma30.bull.com (Steven J. Edwards) writes:
  13. [lines deleted]
  14. : > 3 - More seriously there is no LOW LEVEL DISK TOOL in coherent unlike
  15. : >       minix. It would be good to be able to directly modify the file
  16. : >       system from root... There is also no limited undelete as in 
  17. : >       minix. Are there any tools that allow a specified i-node to
  18. : >       be turned into a file? DUMP suposedly lets you select i-numbers
  19. : >       which are presumably i-nodes but doesnt mention how to do it.
  20. : >       Does anyone have any clues on turning I-NODES into files PLEASE?
  21. : Well, if one is really desparate, one could always use a debugger or
  22. : patch utility on /dev/at[01][a-dx] in single user mode, but why?  All
  23. : common filesystem errors are fixable from fsck.  Lost files (those
  24. : that are allocated but have no name/parent are assigned to
  25. : /lost+found.  If it's not there, you can't recover it.
  26.  
  27. Also see dcheck, icheck and clri. It's not hard to write an I-node
  28. editor, but playing around with tools like this is very dangerous.
  29.  
  30. : Undeletes are just too dangerous on Unix-type systems because it's too
  31. : hard to guarantee file system integrity when more than one agent is
  32. : accessing the same information.  Remeber, the Unix file system
  33. : utilities are designed with the thought that only they as a group will
  34. : be fiddling with various hidden parts; they often assume that
  35. : everything is okay, thus causing human-introduced errors to grow and
  36. : expand in avalanche fashion.
  37.  
  38. There is a save way: substitue rm by a programm, which brings the file
  39. to delete into an archive (tar, zip, cpio or whatever). After that the
  40. file can be deleted by the new command. Write an undelete command which
  41. extracts the file back from the archive, and then removes it from the
  42. archive. Of cause this needs more or less diskspace. Take a look onto
  43. DR-DOS 6.0, how DRI has solved this problem.
  44.  
  45. : So, instead of undelete,
  46. : 1) Make backups.
  47. : 2) Be careful when typing "rm" and the like.
  48. : 3) Learn from others' experience, it's often less painful than
  49. : learning from your own.
  50.  
  51. Right, if you lose your "undelete archive" nothing helps anymore :-)
  52. --
  53. Udo Munk     | voice:      +49 2131 275348             | uucp: +49 2131 278869
  54. Oberstr. 21  | mail :      udo@umunk.GUN.de            |     2400/1200/300 8N1
  55. 4040 Neuss 1 | ...!{mcshh,smurf,unido}!easix!umunk!udo | MYNAME=bbsuser
  56. Fed. Rep. of | CompuServe: 100021,2515                 | login: uucp
  57. Germany      | at first connect get ~/info  and ~/files| pwd:   public
  58.