Author: hbelusca
Date: Sun Mar 23 01:16:19 2014
New Revision: 62548
URL:
http://svn.reactos.org/svn/reactos?rev=62548&view=rev
Log:
[FORMAT]
As mode and more, format is a false .com (for compatibility purposes).
Modified:
trunk/reactos/base/system/format/CMakeLists.txt
trunk/reactos/base/system/format/format.rc
trunk/rosapps/applications/sysutils/man/man/2/format.man
Modified: trunk/reactos/base/system/format/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/format/CMakeLi…
==============================================================================
--- trunk/reactos/base/system/format/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/system/format/CMakeLists.txt [iso-8859-1] Sun Mar 23 01:16:19 2014
@@ -1,5 +1,7 @@
add_executable(format format.c format.rc)
set_module_type(format win32cui)
+set_target_properties(format PROPERTIES SUFFIX ".com")
+
add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
add_cd_file(TARGET format DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/system/format/format.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/format/format.…
==============================================================================
--- trunk/reactos/base/system/format/format.rc [iso-8859-1] (original)
+++ trunk/reactos/base/system/format/format.rc [iso-8859-1] Sun Mar 23 01:16:19 2014
@@ -2,9 +2,9 @@
#include "resource.h"
-#define REACTOS_STR_FILE_DESCRIPTION "Formating a device with a filesystem"
+#define REACTOS_STR_FILE_DESCRIPTION "Disk Format Utility"
#define REACTOS_STR_INTERNAL_NAME "format"
-#define REACTOS_STR_ORIGINAL_FILENAME "format.exe"
+#define REACTOS_STR_ORIGINAL_FILENAME "format.com"
#include <reactos/version.rc>
/* UTF-8 */
Modified: trunk/rosapps/applications/sysutils/man/man/2/format.man
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/man/…
==============================================================================
--- trunk/rosapps/applications/sysutils/man/man/2/format.man [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/man/man/2/format.man [iso-8859-1] Sun Mar 23
01:16:19 2014
@@ -1,22 +1,22 @@
-[]=================================[format.exe]==============================[]
+[]=================================[format.com]==============================[]
Author: Mark Russinovich
-Purpose: Disk formating tool
+Purpose: Disk Format Utility
Port on ROS: Emanuele Aliberti
License: GPL
-Usage: format.exe drive: [-FS:file-system] [-V:label] [-Q] [-A:size] [-C]
+Usage:
format.com drive: [-FS:file-system] [-V:label] [-Q] [-A:size] [-C]
[drive:] Specifies the drive to format.
-FS:file-system Specifies the type of file system (e.g. FAT).
-V:label Specifies volume label.
-Q Performs a quick format.
-A:size Overrides the default allocation unit size.
- Default settings are strongly recommended for general
- use NTFS supports 512, 1024, 2048, 4096, 8192, 16K,
- 32K, 64K. FAT supports 8192, 16K, 32K, 64K, 128K, 256K.
+ Default settings are strongly recommended for general
+ use NTFS supports 512, 1024, 2048, 4096, 8192, 16K,
+ 32K, 64K. FAT supports 8192, 16K, 32K, 64K, 128K, 256K.
NTFS compression is not supported for allocation
- unit sizes above 4096.
+ unit sizes above 4096.
-C Files created on the new volume will be compressed by
default.