# HG changeset patch # User Richard M. Stallman # Date 767316857 0 # Node ID b5fad00fa757e2427b36c7a196ff471e71fb0bc6 # Parent e3d392f28d8fc2de2acfcbbedeb507500a6802bf Comment change. diff -r e3d392f28d8f -r b5fad00fa757 lisp/tar-mode.el --- a/lisp/tar-mode.el Mon Apr 25 23:11:12 1994 +0000 +++ b/lisp/tar-mode.el Mon Apr 25 23:34:17 1994 +0000 @@ -81,6 +81,20 @@ ;;; o Block files, sparse files, continuation files, and the various header ;;; types aren't editable. Actually I don't know that they work at all. +;;; Rationale: + +;;; Why does tar-mode edit the file itself instead of using tar? + +;;; That means that you can edit tar files which you don't have room for +;;; on your local disk. + +;;; I don't know about recent features in gnu tar, but old versions of tar +;;; can't replace a file in the middle of a tar file with a new version. +;;; Tar-mode can. I don't think tar can do things like chmod the subfiles. +;;; An implementation which involved unpacking and repacking the file into +;;; some scratch directory would be very wasteful, and wouldn't be able to +;;; preserve the file owners. + ;;; Code: (defvar tar-anal-blocksize 20