Re: tar confined to partitions

2002-09-03 Thread Ray Olszewski
At 10:50 AM 9/3/02 -0400, Haines Brown wrote: >Carl, > > > If i have it right you are just trying to copy everything to /mnt/mirror > > > > In which case you could just do: > > > > find / -print | egrep -v "^/mnt/mirror|^/proc" | cpio -pdmuv > /mnt/mirror > >I get the sense that cpio is a

Re: tar confined to partitions

2002-09-03 Thread Haines Brown
Carl, > If i have it right you are just trying to copy everything to /mnt/mirror > > In which case you could just do: > > find / -print | egrep -v "^/mnt/mirror|^/proc" | cpio -pdmuv /mnt/mirror I get the sense that cpio is a more straightforwared way to do a copy, and the script you k

Re: tar confined to partitions

2002-09-03 Thread Haines Brown
Calin, > What tar do you have because i want it too. > Mine is GNU tar and it seems to disregard the > -exclude comand line switch. This is my tar version: tar-1.13.25-4, which I assume is GNU. As for my problem of tar seeing only one partition, someone pointed out that my tar command: tar -C

Re: tar confined to partitions

2002-09-03 Thread Carl Lawton
> >tar -C "$1" -cOl . | tar -C "$2" -xpf - Haines, If Ray hasn't sorted you out by now you could try cpio to copy the files. If i have it right you are just trying to copy everything to /mnt/mirror In which case you could just do: find / -print | egrep -v "^/mnt/mirror|^/proc" | cpio

Re: tar confined to partitions

2002-09-02 Thread Haines Brown
Ray, > -l, --one-file-systemstay in local file system when > creating archive No, I'm not using that option. Someone suggested that perhaps tar only handles one partition at a time, but you seem to say that is not the case. > ... but it should not be the default ("file system

Re: tar confined to partitions

2002-09-02 Thread Haines Brown
> At 11:17 02/09/2002 -0400, you wrote: > >I have a tar script to back up all directories on my HD (/*) to a > >mirror disk. > > > >But a puzzler. The script sees all directories mounted on / and backs > >up their content, but fails to back up the contents of directories > >that are presumably mo

Re: tar confined to partitions

2002-09-02 Thread Carl Lawton
At 11:17 02/09/2002 -0400, you wrote: >I have a tar script to back up all directories on my HD (/*) to a >mirror disk. > >But a puzzler. The script sees all directories mounted on / and backs >up their content, but fails to back up the contents of directories >that are presumably mounted under /,

tar confined to partitions

2002-09-02 Thread Haines Brown
I have a tar script to back up all directories on my HD (/*) to a mirror disk. But a puzzler. The script sees all directories mounted on / and backs up their content, but fails to back up the contents of directories that are presumably mounted under /, but are not in the same partition as /. Fo