Re: add and copy a partition

2000-05-29 Thread Moshe Zadka
On Mon, 29 May 2000, Stanislav Malyshev a.k.a Frodo wrote: > MZ>> Any real language (as opposed to glorified assemblers (C++) or macro > MZ>> processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: > MZ>> Java (implements serializable) > MZ>> Python (pickle) > MZ>> Perl (Data:

Re: add and copy a partition

2000-05-29 Thread Stanislav Malyshev a.k.a Frodo
MZ>> Any real language (as opposed to glorified assemblers (C++) or macro MZ>> processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: MZ>> Java (implements serializable) MZ>> Python (pickle) MZ>> Perl (Data::Dumper) MZ>> Scheme (write) BTW, there are language-independent seri

Re: add and copy a partition

2000-05-28 Thread Alex Shnitman
Hi, Moshe! On Mon, May 29, 2000 at 07:45:34AM +0300, you wrote the following: > Any real language (as opposed to glorified assemblers (C++) or macro > processors (Tcl/bash)) has a built-in serialize and deserialize mechanism: .. > Perl (Data::Dumper) Or Storable, which is binary and not human-

Re: add and copy a partition

2000-05-28 Thread Moshe Zadka
On Mon, 29 May 2000, Shaul Karl wrote: > Your terms are very cryptic for me. Would you mind elaborating on what is > serialize/deserialize? pickle/unpickle? pointer-isomorphic way? > serialize/deserialize mechanism? Sure: serialize (or pickle, or marshal) simply means to get a flat representat

Re: add and copy a partition

2000-05-28 Thread Shaul Karl
> On Sun, 28 May 2000, Omer Mussaev wrote: > > > > 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. > > Let me add my own reason for

Re: add and copy a partition

2000-05-28 Thread Moshe Zadka
On Sun, 28 May 2000, Omer Mussaev wrote: > > 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. Let me add my own reason for why I like the ta

Re: add and copy a partition

2000-05-28 Thread Omer Mussaev
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

Re: add and copy a partition

2000-05-28 Thread Ira Abramov
On Sun, 28 May 2000, Alex Shnitman wrote: > > tar cspBf - . | (cd /mnt; tar xvvspBf -) > > Any reason why not to use cp -a that I'm not aware of? in theory you have one process writing and one reading, so in an SMP machine, copying between two different partitions on two different drives on two

Re: add and copy a partition

2000-05-28 Thread Marc A. Volovic
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 -) > > Any reason why not to use cp -a that I'm not aware of? Complexifi

Re: add and copy a partition

2000-05-28 Thread Alex Shnitman
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 -) Any reason why not to use cp -a that I'm not aware of? -- Alex Shnitman| htt

Re: add and copy a partition

2000-05-28 Thread Ben-Nes Michael
Just wonder, the reboot is really annoying. Are they going to fix it in the new kernel or there is a way (even complicate) around ? Ira Abramov wrote: > > - fdisk to change the partition type. if changing the size too, you must > reboot if another partition is mounted from that drive. as long as

Re: add and copy a partition

2000-05-26 Thread Marc A. Volovic
mkfs /dev/hd{x}{y} mount -t ext2 !$ /mnt cd /home umask 000 tar cspBf - . | (cd /mnt; tar xvvspBf -) = To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubsc

Re: add and copy a partition

2000-05-26 Thread Ira Abramov
On Fri, 26 May 2000, Ishai Parasol wrote: > I have ran out of space on my /home/USER partition and I would like to > erase one of my windows partions and to make it ext2 and to copy the /home > partition on it (exactly as it is - without the need to make a new user > and install everything from s

Re: add and copy a partition

2000-05-26 Thread Shaul Karl
> > Hi > > I have ran out of space on my /home/USER partition and I would like to > erase one of my windows partions and to make it ext2 and to copy the /home > partition on it (exactly as it is - without the need to make a new user > and install everything from scratch). > > Is it possible ? C

add and copy a partition

2000-05-26 Thread Ishai Parasol
Hi I have ran out of space on my /home/USER partition and I would like to erase one of my windows partions and to make it ext2 and to copy the /home partition on it (exactly as it is - without the need to make a new user and install everything from scratch). Is it possible ? Can someone show me