Kernel Change Summary: small archive directory change

Kernel Change Summary: small archive directory change

Post by Michael Elizabeth Chasta » Tue, 04 Jun 1996 04:00:00



I have refined my kcs/ directory into:

    ftp://ftp.shout/net/pub/users/mec/kcs/v1.3
    ftp://ftp.shout/net/pub/users/mec/kcs/v2.0

The split goes into effect immediately.  Following the ftp.funet.fi
source tree, pre2.0 files are in the v1.3 directory, and v2.0 has
no files yet.

Michael Chastain

 
 
 

1. Changing .zoo archive to .lzh archive: help!

I am trying to write a script that will allow me to convert zoo archives
to lharc archives under Unix.  Here's what I have so far:

mkdir xxx
cd xxx
zoo xq// ../$1.zoo
lharc aq ../$1.lzh * `no-dot .*`
cd ..
rm -r xxx

Where "no-dot" is a simple program that echos back everything in argv[] that
isn't "." or ".."

This works fine, except for two problems: first, there might already be a
file called "xxx" in the current directory, and second, I can't have more
than one invocation going at once.

Now, I could write a program to generate a temporary directory name using
getpid() and some unlikely template, like "xx-######-temp".  What I need to
know is:

  1.  Is it a reasonable assumption that no two concurrent getpid()'s will
      return the same value?

  2.  Is there a better way to do this?

Thanks in advance for all replies.

--
Dave Schaumann      | DANGER: Access holes may tear easily.  Use of the access
                    | holes for lifting or carrying may result in damage to the

2. Linux Mosaic doc server?? Idea

3. Kernel change summary 1.1.68 -> 1.1.69

4. Printer Problem

5. Kernel Change Summary 2.0.7

6. File Server: Solaris or Linux???

7. Kernel Change Summary 2.0.12

8. Solaris 8-samba-swat

9. Kernel Change Summary 1.3.100

10. Kernel Change Summary 2.0.9

11. Kernel Change Summary 2.1.15

12. Kernel Change Summary 2.0.30

13. Kernel Change Summary 1.1.72 -> 1.1.73