Linux and data storage?

Janina Sajka janina at rednote.net
Mon Sep 27 17:38:38 EDT 2004


And my example tar command is probably not the most advisable. Better to
do something like:
tar -cjpf /tmp/karen.tbz ../karen/

You want a tar archive file that will create a directory when you
uncompress and copy all your files into that directory.
Luke Davis writes:
> A word to Karen: if you do any of the tarish things discussed in this 
> thread, be certain to delete the backup archive, after it has completed 
> its transit.  /tmp is only cleared on reboot, and that usually only 
> happens 1.5 times per year.
> 
>  On Mon, 27 Sep 2004, Janina Sajka wrote:
> 
> >Yes, this is useful. It's probably beyond what she needs to be concerned
> >about, but certainly useful.
> >
> >Luke Davis writes:
> >>On Mon, 27 Sep 2004, Janina Sajka wrote:
> >>
> >>>600 certainly does help. Can you build a tar and chmod at the same time?
> >>
> >>Hmm, an interesting question.  There are two ways to test this idea, which
> >>I will now attempt...
> >>
> >>Starting the tar process in one window (using screen), and in another
> >>listing the file in /tmp, shows, 644.  Doing a chmod to 600, while the tar
> >>is still in progress, then listing the file again, shows 600.  So that
> >>solution appears to work, as would, of course, backgrounding the tar
> >>process, and changing the mode.
> >>
> >>The other method:
> >>
> >>touch /tmp/ldtf.tbz
> >>chmod 600 /tmp/ldtf.tbz
> >>tar --bzip2 -cf /tmp/ldtf.tbz ~/
> >>
> >>also acomplishes the task of keeping the file private, so I suppose the
> >>answer is yes, in all possible ways.
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
	
				Janina Sajka, Chair
				Accessibility Workgroup
				Free Standards Group (FSG)

janina at freestandards.org	Phone: +1 202.494.7040





More information about the Speakup mailing list