Re: [PATCH] NTFS repair tools

2000-12-08 Thread Jeff V. Merkey

On Fri, Dec 08, 2000 at 07:37:55AM +, Anton Altaparmakov wrote:
> Hearing how many people trash their partition I would agree to comment out 
> the NTFS write option altogether. I will make a patch for both 2.4.0-testX 
> and 2.2.18latest and send them off to Linus/Alan over the weekend if no one 
> beats me to it.
> 
> Considering that people are blatantly ignoring all our warnings this might 
> be the Right Thing(TM) as it is easy enough to activate the option if 
> someone really wants/needs to use it. That should hopefully lower the 
> amount of incidents with people trashing their partitions[1][2].
> 
> Anton
> 
> [1] On the other hand it might not help much as people might just uncomment 
> it and go ahead using it, but there is a limit to how far we can go without 
> taking out the write part of the driver altogether! Which might actually 
> not be a Bad Thing(TM) were it not for the fact that having the write 
> support can actually help in fixing a trashed partition when people know 
> what they are doing...i.e. when they know what they can do safely and what 
> not. - It's saved me from loosing 10Gb+ of non-backed up data in the past!
> 
> [2] My NTFS repair utility is under development albeit very slowly which 
> should help a little bit once I have a stable release. - Initial release is 
> yet TBA as there are some very strange bugs in it at the moment, which 
> might actually turn out to be bugs in the compiler/libc/kernel as the 
> program runs fine sometimes and sometimes corrupts the partitions slightly, 
> operating on the _exact_ same partition with the _exact_ same data on it! - 
> Anyway, I am not releasing this to the public before I have figured out WTH 
> is going on...


Anton,

I will be able to help "officially" in another 14 months, when the 
inevitability window is closed.  Unfortunately, by then, MS will 
have altered the on-disk structures again, makeing the job even harder.
You and Alan should Brainstorm a solution.  Removing write support or 
putting in a disclaimer would suffice.  It's your call, BTW along 
with Alan.

:-)

Jeff

> 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [PATCH] NTFS repair tools

2000-12-08 Thread Jeff Garzik

Peter Samuelson wrote:
> 
> [Jeff Merkey]
> > Please consider the attached patch to make it a little bit harder for
> > folks to enable NTFS Write Support under Linux until it can get fixed
> > properly.
> 
> Hey!  It was a joke!  A better way would be just to comment out the
> CONFIG_NTFS_RW line entirely.  Actually, I think that *would* be a good
> idea.  Anyone who has any business messing with NTFS_RW is more than
> capable of editing Config.in.

Agreed.  I would prefer that filesystems with known broken write support
depend on CONFIG_BROKEN (which would be always defined to 'n')

Jeff


-- 
Jeff Garzik |
Building 1024   | These are not the J's you're lookin' for.
MandrakeSoft| It's an old Jedi mind trick.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [PATCH] NTFS repair tools

2000-12-08 Thread Jeff Garzik

Peter Samuelson wrote:
 
 [Jeff Merkey]
  Please consider the attached patch to make it a little bit harder for
  folks to enable NTFS Write Support under Linux until it can get fixed
  properly.
 
 Hey!  It was a joke!  A better way would be just to comment out the
 CONFIG_NTFS_RW line entirely.  Actually, I think that *would* be a good
 idea.  Anyone who has any business messing with NTFS_RW is more than
 capable of editing Config.in.

Agreed.  I would prefer that filesystems with known broken write support
depend on CONFIG_BROKEN (which would be always defined to 'n')

Jeff


-- 
Jeff Garzik |
Building 1024   | These are not the J's you're lookin' for.
MandrakeSoft| It's an old Jedi mind trick.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [PATCH] NTFS repair tools

2000-12-08 Thread Jeff V. Merkey

On Fri, Dec 08, 2000 at 07:37:55AM +, Anton Altaparmakov wrote:
 Hearing how many people trash their partition I would agree to comment out 
 the NTFS write option altogether. I will make a patch for both 2.4.0-testX 
 and 2.2.18latest and send them off to Linus/Alan over the weekend if no one 
 beats me to it.
 
 Considering that people are blatantly ignoring all our warnings this might 
 be the Right Thing(TM) as it is easy enough to activate the option if 
 someone really wants/needs to use it. That should hopefully lower the 
 amount of incidents with people trashing their partitions[1][2].
 
 Anton
 
 [1] On the other hand it might not help much as people might just uncomment 
 it and go ahead using it, but there is a limit to how far we can go without 
 taking out the write part of the driver altogether! Which might actually 
 not be a Bad Thing(TM) were it not for the fact that having the write 
 support can actually help in fixing a trashed partition when people know 
 what they are doing...i.e. when they know what they can do safely and what 
 not. - It's saved me from loosing 10Gb+ of non-backed up data in the past!
 
 [2] My NTFS repair utility is under development albeit very slowly which 
 should help a little bit once I have a stable release. - Initial release is 
 yet TBA as there are some very strange bugs in it at the moment, which 
 might actually turn out to be bugs in the compiler/libc/kernel as the 
 program runs fine sometimes and sometimes corrupts the partitions slightly, 
 operating on the _exact_ same partition with the _exact_ same data on it! - 
 Anyway, I am not releasing this to the public before I have figured out WTH 
 is going on...


Anton,

I will be able to help "officially" in another 14 months, when the 
inevitability window is closed.  Unfortunately, by then, MS will 
have altered the on-disk structures again, makeing the job even harder.
You and Alan should Brainstorm a solution.  Removing write support or 
putting in a disclaimer would suffice.  It's your call, BTW along 
with Alan.

:-)

Jeff

 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [PATCH] NTFS repair tools

2000-12-07 Thread Anton Altaparmakov

Hearing how many people trash their partition I would agree to comment out 
the NTFS write option altogether. I will make a patch for both 2.4.0-testX 
and 2.2.18latest and send them off to Linus/Alan over the weekend if no one 
beats me to it.

Considering that people are blatantly ignoring all our warnings this might 
be the Right Thing(TM) as it is easy enough to activate the option if 
someone really wants/needs to use it. That should hopefully lower the 
amount of incidents with people trashing their partitions[1][2].

Anton

[1] On the other hand it might not help much as people might just uncomment 
it and go ahead using it, but there is a limit to how far we can go without 
taking out the write part of the driver altogether! Which might actually 
not be a Bad Thing(TM) were it not for the fact that having the write 
support can actually help in fixing a trashed partition when people know 
what they are doing...i.e. when they know what they can do safely and what 
not. - It's saved me from loosing 10Gb+ of non-backed up data in the past!

[2] My NTFS repair utility is under development albeit very slowly which 
should help a little bit once I have a stable release. - Initial release is 
yet TBA as there are some very strange bugs in it at the moment, which 
might actually turn out to be bugs in the compiler/libc/kernel as the 
program runs fine sometimes and sometimes corrupts the partitions slightly, 
operating on the _exact_ same partition with the _exact_ same data on it! - 
Anyway, I am not releasing this to the public before I have figured out WTH 
is going on...

At 06:06 08/12/2000, Peter Samuelson wrote:
>[Jeff Merkey]
> > Please consider the attached patch to make it a little bit harder for
> > folks to enable NTFS Write Support under Linux until it can get fixed
> > properly.
>
>Hey!  It was a joke!  A better way would be just to comment out the
>CONFIG_NTFS_RW line entirely.  Actually, I think that *would* be a good
>idea.  Anyone who has any business messing with NTFS_RW is more than
>capable of editing Config.in.
>
>Peter
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to [EMAIL PROTECTED]
>Please read the FAQ at http://www.tux.org/lkml/

-- 
  "Education is what remains after one has forgotten everything he 
learned in school." - Albert Einstein
-- 
Anton Altaparmakov  Voice: +44-(0)1223-333541(lab) / +44-(0)7712-632205(mobile)
Christ's CollegeeMail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Cambridge CB2 3BUICQ: 8561279
United Kingdom   WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [PATCH] NTFS repair tools

2000-12-07 Thread Peter Samuelson


[Jeff Merkey]
> Please consider the attached patch to make it a little bit harder for
> folks to enable NTFS Write Support under Linux until it can get fixed
> properly.

Hey!  It was a joke!  A better way would be just to comment out the
CONFIG_NTFS_RW line entirely.  Actually, I think that *would* be a good
idea.  Anyone who has any business messing with NTFS_RW is more than
capable of editing Config.in.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[PATCH] NTFS repair tools

2000-12-07 Thread Jeff V. Merkey


Linus/Alan,

Please consider the attached patch to make it a little bit harder for
folks to enable NTFS Write Support under Linux until it can get fixed
properly.

Jeff


Peter Samuelson wrote:
> 
> [Michael Warfield]
> > This thing is not armed and dangerous due to an act of ommision.
> > It's live and active only through three acts of commision.
> 
> We could make it *four* acts of commission. (: (: (:
> 
> diff -urk~ fs/Config.in
> --- fs/Config.in~   Mon Nov 13 01:43:42 2000
> +++ fs/Config.inThu Dec  7 23:00:34 2000
> @@ -37,7 +37,8 @@
>  tristate 'Minix fs support' CONFIG_MINIX_FS
> 
>  tristate 'NTFS file system support (read only)' CONFIG_NTFS_FS
> -dep_mbool '  NTFS write support (DANGEROUS)' CONFIG_NTFS_RW $CONFIG_NTFS_FS 
>$CONFIG_EXPERIMENTAL
> +dep_mbool '  NTFS write support (DANGEROUS)' CONFIG_MORON $CONFIG_NTFS_FS 
>$CONFIG_EXPERIMENTAL
> +dep_bool  'Are you sure?  I hope you dont care about your NTFS filesystems' 
>CONFIG_NTFS_RW $CONFIG_MORON
> 
>  tristate 'OS/2 HPFS file system support' CONFIG_HPFS_FS
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



[PATCH] NTFS repair tools

2000-12-07 Thread Jeff V. Merkey


Linus/Alan,

Please consider the attached patch to make it a little bit harder for
folks to enable NTFS Write Support under Linux until it can get fixed
properly.

Jeff


Peter Samuelson wrote:
 
 [Michael Warfield]
  This thing is not armed and dangerous due to an act of ommision.
  It's live and active only through three acts of commision.
 
 We could make it *four* acts of commission. (: (: (:
 
 diff -urk~ fs/Config.in
 --- fs/Config.in~   Mon Nov 13 01:43:42 2000
 +++ fs/Config.inThu Dec  7 23:00:34 2000
 @@ -37,7 +37,8 @@
  tristate 'Minix fs support' CONFIG_MINIX_FS
 
  tristate 'NTFS file system support (read only)' CONFIG_NTFS_FS
 -dep_mbool '  NTFS write support (DANGEROUS)' CONFIG_NTFS_RW $CONFIG_NTFS_FS 
$CONFIG_EXPERIMENTAL
 +dep_mbool '  NTFS write support (DANGEROUS)' CONFIG_MORON $CONFIG_NTFS_FS 
$CONFIG_EXPERIMENTAL
 +dep_bool  'Are you sure?  I hope you dont care about your NTFS filesystems' 
CONFIG_NTFS_RW $CONFIG_MORON
 
  tristate 'OS/2 HPFS file system support' CONFIG_HPFS_FS
 
 -
 To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
 the body of a message to [EMAIL PROTECTED]
 Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: [PATCH] NTFS repair tools

2000-12-07 Thread Anton Altaparmakov

Hearing how many people trash their partition I would agree to comment out 
the NTFS write option altogether. I will make a patch for both 2.4.0-testX 
and 2.2.18latest and send them off to Linus/Alan over the weekend if no one 
beats me to it.

Considering that people are blatantly ignoring all our warnings this might 
be the Right Thing(TM) as it is easy enough to activate the option if 
someone really wants/needs to use it. That should hopefully lower the 
amount of incidents with people trashing their partitions[1][2].

Anton

[1] On the other hand it might not help much as people might just uncomment 
it and go ahead using it, but there is a limit to how far we can go without 
taking out the write part of the driver altogether! Which might actually 
not be a Bad Thing(TM) were it not for the fact that having the write 
support can actually help in fixing a trashed partition when people know 
what they are doing...i.e. when they know what they can do safely and what 
not. - It's saved me from loosing 10Gb+ of non-backed up data in the past!

[2] My NTFS repair utility is under development albeit very slowly which 
should help a little bit once I have a stable release. - Initial release is 
yet TBA as there are some very strange bugs in it at the moment, which 
might actually turn out to be bugs in the compiler/libc/kernel as the 
program runs fine sometimes and sometimes corrupts the partitions slightly, 
operating on the _exact_ same partition with the _exact_ same data on it! - 
Anyway, I am not releasing this to the public before I have figured out WTH 
is going on...

At 06:06 08/12/2000, Peter Samuelson wrote:
[Jeff Merkey]
  Please consider the attached patch to make it a little bit harder for
  folks to enable NTFS Write Support under Linux until it can get fixed
  properly.

Hey!  It was a joke!  A better way would be just to comment out the
CONFIG_NTFS_RW line entirely.  Actually, I think that *would* be a good
idea.  Anyone who has any business messing with NTFS_RW is more than
capable of editing Config.in.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

-- 
  "Education is what remains after one has forgotten everything he 
learned in school." - Albert Einstein
-- 
Anton Altaparmakov  Voice: +44-(0)1223-333541(lab) / +44-(0)7712-632205(mobile)
Christ's CollegeeMail: [EMAIL PROTECTED] / [EMAIL PROTECTED]
Cambridge CB2 3BUICQ: 8561279
United Kingdom   WWW: http://www-stu.christs.cam.ac.uk/~aia21/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/