Re: Reiser4 support on parted ...

2005-05-06 Thread Alex Zarochentsev
On Thu, May 05, 2005 at 06:05:51PM -0500, David Masover wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Andrew Clausen wrote:
  On Thu, May 05, 2005 at 05:10:08PM -0500, David Masover wrote:
  
 To support doing what to Reiser4?
 
 parted is a disk management project -- specifically, a way to create,
 delete, and resize partitions.  Think of it as fdisk with nicer units
 and built-in resizefs tools.
 
 This would, I think, involve creating a fully functional
 resizefs.reiser4 -- something I distinctly remember Hans telling me not
 to do, because my approach also created (most of) an online repacker,
 which is something Hans wants to do for money.
  
  
  It would be possible to implement mkfs and fsck support only.
 
 Couldn't this just be a wrapper to mkfs.reiser4 and fsck.reiser4?

libreiser4 was designed to support embedding into parted easily.  The AAL lib
provides block device abstraction layer which is needed in parted.

-- 
Alex.


Re: Reiser4 support on parted ...

2005-05-06 Thread Dr. Giovanni A. Orlando
Hans Reiser wrote:
I think someone is going to pay us to write the online repacker in the
very near future, though I can't say their name.
Giovanni, if by parted support you mean that you are going to write a
resizer (and now that I take a moment to remember what parted does it
seems certain you do mean that), I wish you would not.  We are so
amazing far in debt right now
 

Hi,
   It is important to fix some points to clarify.
   At first, parted is a binary that interact with the libparted 
library to run
   some features about partitions, like:
  * mkfs
  * fsck
  * cp
  * mv
  * resize
  * and others.

   Actually, parted have zero support for Reiser4.
   Why we need Reiser4 support inside parted?
   We need that parted support Reiser4, because our installer actualy a 
hacked version of RedHat anaconda
   uses pyparted that need parted to create the partitions on the FS on 
a new installation.
   (Therefore also RH people and Linux distro that uses anaconda, like 
YellowDog will benefit for this code).

   Therefore, we don't need to resize Reiser4 partitions actually.
   The necessary code is not necessarely complicated, because libraries 
are well written.
   However, I need to understant how Reiser4 do jobs like fsck and mkfs 
and this code
   cannot be a simple or equivalent (system(mkfs.reiser4)).

   It is necessary to use the parted API to do that.
   FTOSX 2004 includes reiser4 packages, including libaal, from Sep 
2004.
   (Check ftp://ftp.futuretg.com/pub/FTOSX/FTOSX_Desktop_2004/i386/SRPMS)

   I create some directories, one for parted 1.6.15 (my hacked version) 
and another for (1.6.22), latest one.

   People that want to know more about the internal of this code, can 
browse:
  
ftp://ftp.futuretg.com/pub/Projects/parted+Reiser4/Actual_without_support/parted-1.6.15/doc/TUTORIAL

   I need to update around 111 chapters in six courses, and therefore I 
will dedicate only 1/2 hours per day to move on
   on this matter.

Thanks,
Giovanni.

--
--
--
Check FT Websites ... http://www.futuretg.com  - ftp://ftp.futuretg.com
http://www.FTLinuxCourse.com
   http://www.FTLinuxCourse.com/Certification
http://www.RPMParadaise.org
http://www.YourPersonalOperatingSystem.com
Mobile: +39 393 665 4239
Lancelot is back!
--


Re: Reiser4 support on parted ...

2005-05-06 Thread Hans Reiser
Dr. Giovanni A. Orlando wrote:

 Hans Reiser wrote:

 I think someone is going to pay us to write the online repacker in the
 very near future, though I can't say their name.

 Giovanni, if by parted support you mean that you are going to write a
 resizer (and now that I take a moment to remember what parted does it
 seems certain you do mean that), I wish you would not.  We are so
 amazing far in debt right now
  

 Hi,

It is important to fix some points to clarify.

At first, parted is a binary that interact with the libparted
 library to run
some features about partitions, like:
   * mkfs
   * fsck
   * cp
   * mv
   * resize
   * and others.

Actually, parted have zero support for Reiser4.

Why we need Reiser4 support inside parted?

We need that parted support Reiser4, because our installer actualy
 a hacked version of RedHat anaconda
uses pyparted that need parted to create the partitions on the FS
 on a new installation.
(Therefore also RH people and Linux distro that uses anaconda, like
 YellowDog will benefit for this code).

Therefore, we don't need to resize Reiser4 partitions actually.

Great, thanks.  Happy to see you add the other stuff.


The necessary code is not necessarely complicated, because
 libraries are well written.
However, I need to understant how Reiser4 do jobs like fsck and
 mkfs and this code
cannot be a simple or equivalent (system(mkfs.reiser4)).

It is necessary to use the parted API to do that.

FTOSX 2004 includes reiser4 packages, including libaal, from
 Sep 2004.
(Check ftp://ftp.futuretg.com/pub/FTOSX/FTOSX_Desktop_2004/i386/SRPMS)

I create some directories, one for parted 1.6.15 (my hacked
 version) and another for (1.6.22), latest one.

People that want to know more about the internal of this code, can
 browse:
  
 ftp://ftp.futuretg.com/pub/Projects/parted+Reiser4/Actual_without_support/parted-1.6.15/doc/TUTORIAL


I need to update around 111 chapters in six courses, and therefore
 I will dedicate only 1/2 hours per day to move on
on this matter.

 Thanks,
 Giovanni.






Re: Reiser4 support on parted ...

2005-05-06 Thread Vitaly Fertman
On Friday 06 May 2005 13:31, Dr. Giovanni A. Orlando wrote:
 Hans Reiser wrote:
 
 I think someone is going to pay us to write the online repacker in the
 very near future, though I can't say their name.
 
 Giovanni, if by parted support you mean that you are going to write a
 resizer (and now that I take a moment to remember what parted does it
 seems certain you do mean that), I wish you would not.  We are so
 amazing far in debt right now
   
 
 Hi,
 
 It is important to fix some points to clarify.
 
 At first, parted is a binary that interact with the libparted 
 library to run
 some features about partitions, like:
* mkfs
* fsck
* cp
* mv
* resize
* and others.
 
 Actually, parted have zero support for Reiser4.
 
 Why we need Reiser4 support inside parted?
 
 We need that parted support Reiser4, because our installer actualy a 
 hacked version of RedHat anaconda
 uses pyparted that need parted to create the partitions on the FS on 
 a new installation.
 (Therefore also RH people and Linux distro that uses anaconda, like 
 YellowDog will benefit for this code).
 
 Therefore, we don't need to resize Reiser4 partitions actually.
 
 The necessary code is not necessarely complicated, because libraries 
 are well written.
 However, I need to understant how Reiser4 do jobs like fsck and mkfs 
 and this code

they are wrappers to libreiser4  librepair. also have a look at 
reiser4progs/demos/busy (it is able to create file on reiser4, 
copy them to/from, rm, stat, truncate, etc) which is the wrapper 
to libreiser4 too.

 cannot be a simple or equivalent (system(mkfs.reiser4)).
 
 It is necessary to use the parted API to do that.
 
 FTOSX 2004 includes reiser4 packages, including libaal, from Sep 
 2004.
 (Check ftp://ftp.futuretg.com/pub/FTOSX/FTOSX_Desktop_2004/i386/SRPMS)
 
 I create some directories, one for parted 1.6.15 (my hacked version) 
 and another for (1.6.22), latest one.
 
 People that want to know more about the internal of this code, can 
 browse:

 ftp://ftp.futuretg.com/pub/Projects/parted+Reiser4/Actual_without_support/parted-1.6.15/doc/TUTORIAL
 
 I need to update around 111 chapters in six courses, and therefore I 
 will dedicate only 1/2 hours per day to move on
 on this matter.
 
 Thanks,
 Giovanni.
 
 
 
 -- 
 
 
 -- 
 -- 
 
 Check FT Websites ... http://www.futuretg.com  - ftp://ftp.futuretg.com
 http://www.FTLinuxCourse.com
 http://www.FTLinuxCourse.com/Certification
 http://www.RPMParadaise.org
 http://www.YourPersonalOperatingSystem.com
 
 Mobile: +39 393 665 4239
   Lancelot is back!

-- 
Thanks,
Vitaly Fertman


Reiser4 support on parted ...

2005-05-05 Thread Dr. Giovanni A. Orlando
Hi Everyone,
   I am looking to know if someone have time to share with me to add 
the necessary code
   inside 'parted' to support Reiser4.

   May be 1 or 2 hours per day.
   The reference page is:
  http://www.gnu.org/software/parted/#maillist
   I start to work on it, last September. Of course no money is involved.
   I will need also other people, to test the result.
Thanks,
Giovanni.
--
--
--
Check FT Websites ... http://www.futuretg.com  - ftp://ftp.futuretg.com
http://www.FTLinuxCourse.com
   http://www.FTLinuxCourse.com/Certification
http://www.RPMParadaise.org
http://www.YourPersonalOperatingSystem.com
Mobile: +39 393 665 4239
Lancelot is back!
--


Re: Reiser4 support on parted ...

2005-05-05 Thread Hans Reiser
Dr. Giovanni A. Orlando wrote:

 Hi Everyone,

I am looking to know if someone have time to share with me to add
 the necessary code
inside 'parted' to support Reiser4.

May be 1 or 2 hours per day.

The reference page is:
   http://www.gnu.org/software/parted/#maillist

I start to work on it, last September. Of course no money is involved.

I will need also other people, to test the result.

 Thanks,
 Giovanni.

Thanks Giovanni for your contribution of time.


Re: Reiser4 support on parted ...

2005-05-05 Thread Jander
Dr. Giovanni A. Orlando wrote:

 Hi Everyone,

I am looking to know if someone have time to share with me to add
 the necessary code
inside 'parted' to support Reiser4.

May be 1 or 2 hours per day.

The reference page is:
   http://www.gnu.org/software/parted/#maillist

I start to work on it, last September. Of course no money is involved.

I will need also other people, to test the result.

 Thanks,
 Giovanni.

I'll be pleased to help in any way I can.


Re: Reiser4 support on parted ...

2005-05-05 Thread Dr. Giovanni A. Orlando
Jander wrote:
Dr. Giovanni A. Orlando wrote:
 

Hi Everyone,
  I am looking to know if someone have time to share with me to add
the necessary code
  inside 'parted' to support Reiser4.
  May be 1 or 2 hours per day.
  The reference page is:
 http://www.gnu.org/software/parted/#maillist
  I start to work on it, last September. Of course no money is involved.
  I will need also other people, to test the result.
Thanks,
Giovanni.
   

I'll be pleased to help in any way I can.
 

Great! I prefer to feedback privately, and when completed request help 
to reiser community for testing.

Thanks,
Giovanni.
--
--
--
Check FT Websites ... http://www.futuretg.com  - ftp://ftp.futuretg.com
http://www.FTLinuxCourse.com
   http://www.FTLinuxCourse.com/Certification
http://www.RPMParadaise.org
http://www.YourPersonalOperatingSystem.com
Mobile: +39 393 665 4239
Lancelot is back!
--


Re: Reiser4 support on parted ...

2005-05-05 Thread David Masover
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dr. Giovanni A. Orlando wrote:
 Hi Everyone,
 
I am looking to know if someone have time to share with me to add the
 necessary code
inside 'parted' to support Reiser4.

To support doing what to Reiser4?

parted is a disk management project -- specifically, a way to create,
delete, and resize partitions.  Think of it as fdisk with nicer units
and built-in resizefs tools.

This would, I think, involve creating a fully functional
resizefs.reiser4 -- something I distinctly remember Hans telling me not
to do, because my approach also created (most of) an online repacker,
which is something Hans wants to do for money.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQnqZwHgHNmZLgCUhAQLFPRAAgJvmB0lc/43iVkEdAgdqGN+SJ5J2ysX4
yFTwaNvLC8PCQlsILWTcToAxXdmt+5ufFRnwLyI1knA8BX9PasdXqg2TMzCd+QX/
zmSuKuKddpxs4uZ1aKbyAsFQgdQGuWKuTwdeu1AWgKh8kauQCzvqqmClXzNDfkfj
jP5gWwmGe0SoZtgZjO3M09DtH84WvJUnqNI7gxbG9Kn6ohKXffXmaQmAOV3zk5o2
qrrWud4jUAbKOGu/OZb8xLk1dCj/HkcFT05XiEcie5gHrEpi2ym0EBMjX8tynqF6
6LNvlxZIfpBWqQbgsUt7dvsm+NR98Pso7BwLyJNEgqZGuiuMLptd8dZ8qHKZOZAX
lKyFYobBGOyyaPfXjs5qWICWs19UzPopAFJk1F/L+KEYv9m9Zr8LiugFbuH8P8Bj
2MB6Oi+uHuaOcefr7nXU7qlVdMYlcFlY+fHVeeG7wCoPIxa1OSUOuJ+ejNI3CZRb
VHiQ7XAlORxWMyZCQx8V273UInm2nEiIDvqfuTfyfrj3sH1NfoJaSAKAMizCv3VS
z5QCBX/AEsHhQCuhLA0HwBvQJZniwxbEqQUd7k/WHEQUvDQeSAYDzJ/Bva/4wGpJ
7sXQ1jIm3F6lx2F6Vt33IFAeabi78MgnHIMMZgWVl/dPpy3rkFAOp85hopLeZ1rz
fJg7fDMrngo=
=o34H
-END PGP SIGNATURE-


Re: Reiser4 support on parted ...

2005-05-05 Thread Andrew Clausen
On Thu, May 05, 2005 at 05:10:08PM -0500, David Masover wrote:
 To support doing what to Reiser4?
 
 parted is a disk management project -- specifically, a way to create,
 delete, and resize partitions.  Think of it as fdisk with nicer units
 and built-in resizefs tools.
 
 This would, I think, involve creating a fully functional
 resizefs.reiser4 -- something I distinctly remember Hans telling me not
 to do, because my approach also created (most of) an online repacker,
 which is something Hans wants to do for money.

It would be possible to implement mkfs and fsck support only.

Cheers,
Andrew



Re: Reiser4 support on parted ...

2005-05-05 Thread David Masover
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Clausen wrote:
 On Thu, May 05, 2005 at 05:10:08PM -0500, David Masover wrote:
 
To support doing what to Reiser4?

parted is a disk management project -- specifically, a way to create,
delete, and resize partitions.  Think of it as fdisk with nicer units
and built-in resizefs tools.

This would, I think, involve creating a fully functional
resizefs.reiser4 -- something I distinctly remember Hans telling me not
to do, because my approach also created (most of) an online repacker,
which is something Hans wants to do for money.
 
 
 It would be possible to implement mkfs and fsck support only.

Couldn't this just be a wrapper to mkfs.reiser4 and fsck.reiser4?

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQnqmz3gHNmZLgCUhAQKOmBAAjbpQILFpIrWZklnisENu16eCrD+o46s4
e2KqdL1ZHjVMmRluZniVXeF3sg98RokkDQNh9s/2YP/5LDXn7ZvKVwEasikxIAgQ
cuYYbKe08aOVE/AtTPkow5QmQje890IT1oo4PNT/qGp+llXCJmlUZmuWgHsdhDOC
32I1b/c/CqBgkjhz67omKZlxMk5v8sI5eykoQa2KtGm+0R7lRgqAa37NSby2KN6e
bMttI20v1Q9hLKaWSDh3TmJTizNPYXFsj0aXexketoDsKgEGwal0JRnyo2EeE2+K
Poer4BYriqbkUY0bVUPrXM1SCh4hn4raHgNXi6PyCDxEcuNe4RvYLsYcuGmfBj1w
2AZTWHcaGZvukAKcu4XFZwgvuAmDXTNCidGFouU3PNxzAAcd2FpvZ/iGYn8+zxOu
ND1/ehilXqIuZ78aP6dGZfm/3EECZxbbE7aDFDSS7q7N6fQWr6dNjwJl1Twds9tk
Uf0su7/+C8lGcE/7qhN/IJJm0YvPKZCaJ/tmNIR/fmFhkqmgWlFJ2Lz+Y6F8mkdX
Da42eDsJ+JD33osyXlq/6Cn8HbNVIwn6xgQX9U8zkVOjgls0vzfce0bkfjfY/UJy
R6YWndilW9KrNF8MBAaaROfaXaKVAG9NhJhkBhx6YU3npbdVKzD8PC90Yim2yuff
/HKQ+QNaM90=
=DyhU
-END PGP SIGNATURE-


Re: Reiser4 support on parted ...

2005-05-05 Thread Andrew Clausen
On Thu, May 05, 2005 at 06:05:51PM -0500, David Masover wrote:
 Couldn't this just be a wrapper to mkfs.reiser4 and fsck.reiser4?

Almost.

As it stands, libparted can't delegate out I/O to external programs,
because its filesystem API address in terms of disk sectors rather
than partitions.  libparted could be improved to map sectors back
to partitions for external communication, though.
(I wonder if clever use of devicemapper could make this very simple?)

Also, error handling (especially with i18n) could be somewhat painful
with this approach.

Cheers,
Andrew



Re: Reiser4 support on parted ...

2005-05-05 Thread David Masover
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Clausen wrote:
 On Thu, May 05, 2005 at 06:05:51PM -0500, David Masover wrote:
 
Couldn't this just be a wrapper to mkfs.reiser4 and fsck.reiser4?
 
 
 Almost.
 
 As it stands, libparted can't delegate out I/O to external programs,
 because its filesystem API address in terms of disk sectors rather
 than partitions.  libparted could be improved to map sectors back
 to partitions for external communication, though.
 (I wonder if clever use of devicemapper could make this very simple?)

Ick.  Well, I suppose that just means some usage of libreiser4, maybe
some moving of code from the apps to the library?

 Also, error handling (especially with i18n) could be somewhat painful
 with this approach.

I know very little about error handling.  Most of the time, I don't add
error handling until something actually blows up, or until I have to
show my code to the world.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQnrWgHgHNmZLgCUhAQL+EhAAnA++jvIO2HyZT5B8jxTyRD3OUDexbrah
v/v7rBMUCdokOJfasusYwasPdCQQedzP1bcTuyWbxLmDl+xuQeJ5cwUQcLQ4ZHDT
lbedQdaT3K/hjDXWmgRrTPTQ6KQBhqpAs0z9mLIkaA22hMuNjluDI1Nebk8dqMqn
/qwfDQYcmu3ngk5rvwOP5Trr5ysqmoiPs/DQ1jxV4YMpN3CSr/CgD3jOkCf7smzQ
66+KYaTVXj2M/wUhVp/iAKbqGK70xy+pwTmczoGmAu08h0RZVNMvSw4LHQBsA1L0
yt9x5qqIw97NLbgh0vD5bJNltj//mQ0BhgvXFc7m+LpXIXGtd1Db8/FdLq2A1f7v
7KQiZFuiRDAFVW/L8WTbJZdSwaCjA+Tc28c4jFi3bw9P5ep+LKlFVv1+5A02P+xq
lvoic8tBhV/bbk6PnKqmZSFqRZiJOD4FUIKXU/0Ldcjzx3fCY1Q6rEdzriQeh1CH
vT+OxB720LRitZpg69sJ0KVCevlSUbPJNAeFlXWx30yTncwgRkquBXE+tSWZCL77
X2ndRDTAlwD4UYF+2oH1rtQk/zN37pOsI4Bge/Om6N8gFOdfS9eTZ8b8pwFWS8ug
ihqciwk5G0ssYkESNailwENI6Vhi/ev6YN6bt/QOjAglve/X1rQ3nPAQ0c0bNCSN
3QCvovaNz68=
=SPBl
-END PGP SIGNATURE-


Re: Reiser4 support on parted program ...

2004-09-15 Thread Yury Umanets
Hans Reiser wrote:
Dr. Giovanni A. Orlando wrote:

   As soon the installer works fine supporting Reiser4, including 
parted support
   it, I will comment in this mailing list, and offer for free donwload.

Reiser4 resizer is not ready for prime time, and like pseudos, should 
not have been enabled before it was tested.  We are going to send in a 
patch to turn it off until it is debugged.
hello Hans,
I suspect, that Dr. Giovanni A. Orlando meant offline resizer which 
should be in utils. Not online resizer-repacker...

--
umka


Re: Reiser4 support on parted program ...

2004-09-15 Thread Dr. Giovanni A. Orlando
Yury Umanets wrote:
Hans Reiser wrote:
Dr. Giovanni A. Orlando wrote:

   As soon the installer works fine supporting Reiser4, including 
parted support
   it, I will comment in this mailing list, and offer for free 
donwload.

Reiser4 resizer is not ready for prime time, and like pseudos, should 
not have been enabled before it was tested.  We are going to send in 
a patch to turn it off until it is debugged.

hello Hans,
I suspect, that Dr. Giovanni A. Orlando meant offline resizer which 
should be in utils. Not online resizer-repacker...

Actually, we want that reiser4 is supported inside parted program. 
Nothing else.

I don't think this support will enable any other support like 
reiser4-resize.

Thanks,
Giovanni
--
--
--
Check FT Websites ... 
http://www.futuretg.com  - ftp://ftp.futuretg.com
http://www.FTLinuxCourse.com
	http://www.FTLinuxCourse.com/Certification
http://www.rpmparadaise.org
http://GNULinuxUtilities.com
http://www.YourPersonalOperatingSystem.com

--


Re: Reiser4 support on parted program ...

2004-09-15 Thread Yury Umanets
Dr. Giovanni A. Orlando wrote:
Yury Umanets wrote:
Hans Reiser wrote:
Dr. Giovanni A. Orlando wrote:

   As soon the installer works fine supporting Reiser4, including 
parted support
   it, I will comment in this mailing list, and offer for free 
donwload.

Reiser4 resizer is not ready for prime time, and like pseudos, 
should not have been enabled before it was tested.  We are going to 
send in a patch to turn it off until it is debugged.

hello Hans,
I suspect, that Dr. Giovanni A. Orlando meant offline resizer which 
should be in utils. Not online resizer-repacker...

Actually, we want that reiser4 is supported inside parted program. 
Nothing else.

I don't think this support will enable any other support like 
reiser4-resize.
One of options provided by parted is offline resizing though...
Thanks,
Giovanni

--
umka