Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
I am thinking of converting a Python/cron setup I have that does something
like this to a loopback file system for Linux but have yet to find the
motivation to get around to it. Is why I was asking about some high-level
C classes/books not long ago. I really need this ability though so I
probably will sometime in the near future find motivation. Of course then
it'd only work if your users all used the loopback'd version and not the
normal filesystem. At least it'd be per-partition though so could maybe
use it for /home. :)
For me I want to keep a db internally that makes sure all files are only
kept once but I could probably make that feature configurable. Freshmeat
has some nice example code if you might want to write your own filesystem
for the job. If your know C I think you can grok it.
"There is no justice, just mercy." -- Highlander the Series
;):):-):):-):):-)8')
Michael McGlothlin <EMAIL:PROTECTED>
http://kavlon.org/projects/
On Tue, 5 Nov 2002, Mike Miller wrote:
> Some users of the VMS operating system are very fond of the way VMS will
> not overwrite a file but will tack a ";n" (where n is an integer) at the
> end of the filename. So if I were to edit a file four times, and the
> original file was called file.txt, I'd end up with these files:
>
> file.txt;1
> file.txt;2
> file.txt;3
> file.txt;4
> file.txt;5
>
> Of these, file.txt;5 would be the oldest (the original file.txt) and
> file.txt;1 would be the newest. Has this been implemented in any unix OS
> or unix shell?
>
> I could make it work for certain programs. Emacs already does this sort
> of thing, if you ask it to. But I'm not so sure it's possible to find a
> unix OS (or shell) that will do this for all programs that might overwrite
> a file. VMS implements a PURGE command to allow the user to delete the
> old versions.
>
> Mike
>
> --
> To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
>
> Archives are available at http://mlug.missouri.edu/list-archives/
>
--
To unsubscribe, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/