help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?


From: David Combs
Subject: auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?
Date: 25 Dec 2002 00:07:35 -0500

auto-detecting 2-bufs *same* file|dir (pbm via symlinks)?

For instance, these lines from *Buffer List*:


. % dkc<2>         425733  Dired by name /myexternals/home/dkc/
  % dkc<3>         425738  Dired by date /opt6/myexternals/home/dkc/

Ditto for actual files, eg under the above .../dkc/.

(where these are some of the symlinks:

5 lines matching ">" in buffer /.
   17:  lrwxrwxrwx   1 root     other         17 Dec 13 17:37 myexternals -> 
/opt6/myexternals
   18:  lrwxrwxrwx   1 root     other         22 Dec 13 17:27 opt3 -> 
/opt6/myexternals/opt3
   25:  lrwxrwxrwx   1 root     other          8 Dec 11 17:34 dkcjunk-symlink 
-> /dkcjunk
   55:  lrwxrwxrwx   1 root     root           9 Aug  9 14:59 bin -> ./usr/bin
   56:  lrwxrwxrwx   1 root     root           9 Aug  9 14:59 lib -> ./usr/lib
)

Of course, there's now a horrendously dangerous situation -- suppose
you inadvertently make some changes to one, and others
to it's "alias" file or dir.

QUESTION: is there a package somewhere that will
warn (maybe even disallow) such a situation?

Thanks!

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]