Commit Graph

7 Commits (1cdf00a8948da3d633b91a2eee8b73a24a69f85c)

Author SHA1 Message Date
cantab.net!aia21 1cdf00a894 Hi,
This is important. kilo-, mega- or gigabytes prefixes use decimal, not
binary units according to biggest standards (SI, ATA, IEEE, disk
manufacturers, etc). Also only [kMG] accepted and [Kmg] not anymore.
Manual updated according to this. "Side-effect" of the patch: user
can't destroy his fs if uses the same or slightly bigger decimal unit
for disk partitioning (e.g. by cfdisk or recent fdisk) as he did for
ntfsresize [used binary units before]. From now on new/old volume
sizes are printed in bytes and MB's, not in clusters and MB's.
Cheers,

Szaka

(Logical change 1.18)
2002-11-24 17:52:26 +00:00
flatcap.org!flatcap 4afc98d6d8 [Szaka] More warnings
(Logical change 1.17)
2002-11-22 12:44:17 +00:00
cantab.net!aia21 008844bfd5 stuff
(Logical change 1.13)
2002-11-17 16:27:15 +00:00
cantab.net!aia21 54e91a485a Hi,
This patch adds the warning Anton requested,
-=------------------------=------------------------------->
WARNING: Every sanity checks passed and only the DANGEROUS
operations left. Please make sure all your important data
had been backed up in case of an unexpected failure!
Are you sure you want to proceed (y/[n])?
OK quitting. NO CHANGES has been made to your NTFS volume.
<----------------------------------------------------------The question will be skipped if the -f (force) used [e.g. for
automatic testing]. This patch needs the earlier sent
ntfsresize-usage-cleanup.diff patch.	Szaka

(Logical change 1.11)
2002-11-17 16:12:16 +00:00
cantab.net!aia21 ef2a978b93 Hi,
(Logical change 1.10)
2002-11-17 16:09:33 +00:00
!szaka 2ba0affba6 Fix incorrect message if new volume size was given in [KMG]Byte
2002/07/17 04:37:48-00:00 !szaka
Shrink volume to size given in byte[K|M|G]

2002/07/16 13:26:42-00:00 !szaka
"Calculate the smallest shrinked volume size supported" option added

2002/07/16 10:17:05-00:00 !szaka
Minor code refactoring

2002/07/15 16:41:48-00:00 !flatcap
AT_NONAME -> AT_UNNAMED

2002/07/14 18:13:04-00:00 !szaka
Mark the NTFS volume dirty. No need for ntfsfix anymore after ntfsresize.

2002/07/14 15:43:35-00:00 !szaka
Reserve space for backup boot sector at the end of device

2002/07/14 14:48:51-00:00 !szaka
Check if device mounted. Progress only if it's not or both ntfsresize
operation is read-only and device mounted read-only

2002/07/12 12:38:54-00:00 !szaka
Rewrote $LogFile reset using new inode API and moved it from ntfsfix to
libntfs as ntfs_reset_logfile(). ntfsresize also resets log file.

2002/07/12 07:10:44-00:00 !szaka
NTFS_V* version macros and ntfs_is_version_supported() added.
Modified ntfsfix and ntfsresize to use them.

2002/07/11 16:20:34-00:00 !flatcap
whitespace and include guards

2002/07/11 12:49:48-00:00 !szaka
Quit if mounted volume is dirty unless -f (force) option was given

2002/07/11 09:02:26-00:00 !szaka
Bail out if $Bitmap/$BadClust has attribite list attribute, this
condition is stronger what we need now but better to be on the
safer side. Other minor updates.

2002/07/10 10:56:26-00:00 !szaka
ntfsresize: cosmetic cleanup, progress bar added

2002/07/09 19:17:49-00:00 !flatcap
move the runlist functions from attrib.c to runlist.c

2002/07/09 09:07:10-00:00 !szaka
Don't give up inode walking on EIO: temporary fix for not being
	able to distinguish corrupt and not FILE records easily)

2002/07/09 00:00:19-00:00 !antona
Little fix to ntfsresize.

2002/07/08 23:27:17-00:00 !flatcap
added AT_NONAME so we can search for a (un)named attribute or just
iterate through all attributes

2002/07/08 15:59:35-00:00 !flatcap
Added Szaka's ntfsresize to the build

(Logical change 1.5)
2002-08-22 18:09:47 +00:00
!szaka fb6ff5a091 Initial revision 2002-08-22 18:09:47 +00:00