[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: add and copy a partition
Alex Shnitman wrote:
> Hi, Marc!
>
> On Sat, May 27, 2000 at 07:24:45AM +0300, you wrote the following:
>
> > mkfs /dev/hd{x}{y}
> > mount -t ext2 !$ /mnt
> > cd /home
> > umask 000
> > tar cspBf - . | (cd /mnt; tar xvvspBf -)
paranoia: s/\;/\&&/
> Any reason why not to use cp -a that I'm not aware of?
first: using tar is POSIX compliant, thus you can use tar method on
any POSIX(applications) compliant machine.
second: this is the Unix way.
--
Omer Mussaev 051-308-214 mailto:omerm@mercury.co.il
systems programmer, Mercury Interactive/RND/Conduct/core
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il