ntfs-3g/ntfsprogs
Konstantin Kharlamov 5f852979ee ntfsprogs/mkntfs: improve error when creating NTFS on a plain file
mkntfs is special among all other mkfs utilities in that it'd refuse
to create an FS over a plain file (which is often needed for testing
purposes). This might seem like an odd choice, but it has to do with
how NTFS works, and the error is there to make sure things wouldn't go
south for a user.

However, it lacked the explanation what exactly may be wrong, not to
mention it also didn't mention that FS could be created by passing
`--force`. Fix that.

Fixes: https://github.com/tuxera/ntfs-3g/issues/145
2025-03-15 21:56:27 +03:00
..
Makefile.am ntfsprogs/Makefile.am: Only install manpages for 'extras' when enabled. 2023-05-28 08:21:34 +03:00
attrdef.c Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself. 2006-12-13 10:46:49 +00:00
attrdef.h Update version to 2.0.0, update NEWS, update mkntfs man page and mkntfs itself. 2006-12-13 10:46:49 +00:00
boot.c Removed the loader from boot image 2017-03-18 15:42:00 +01:00
boot.h - mkntfs: Use Vista $Boot rather than XP one. (Anton) 2007-03-06 15:44:30 +00:00
cluster.c Added a summary of inodes found by ntfscluster 2014-03-11 10:51:47 +01:00
cluster.h Restored 'local' includes for all the ntfsprogs instead of using system includes (e.g. #include "yada.h" instead of #include <ntfs-3g/yada.h>). 2010-12-16 09:59:42 +01:00
list.h Prefix all functions and macros in ntfsprogs/list.h with 'ntfs_/NTFS_'. 2012-01-13 13:37:33 +01:00
mkntfs.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
mkntfs.c ntfsprogs/mkntfs: improve error when creating NTFS on a plain file 2025-03-15 21:56:27 +03:00
ntfscat.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfscat.c Fixed a wrong fallthrough situation in ntfscat 2020-03-08 09:42:15 +01:00
ntfscat.h Merge remote branch 'linux-ntfs/libntfs-3g_port-v2_0_0' into PERMISSION_HANDLING_BRANCH 2010-12-17 09:04:01 +01:00
ntfsck.c Fixed possible out-of-buffer condition in ntfsck 2022-05-10 10:30:24 +02:00
ntfsclone.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsclone.c Silenced warnings about fallthrough situations in switch cases of ntfsprogs 2020-03-08 09:38:00 +01:00
ntfscluster.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfscluster.c Translated directory separators when running ntfscluster on Windows 2016-04-06 10:11:08 +02:00
ntfscluster.h Merge remote branch 'linux-ntfs/libntfs-3g_port-v2_0_0' into PERMISSION_HANDLING_BRANCH 2010-12-17 09:04:01 +01:00
ntfscmp.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfscmp.c Fixed tautological comparison 2016-07-28 16:19:29 +02:00
ntfscp.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfscp.c ntfscp.c: Fix improper unsigned const endianness macro for signed type. 2021-03-05 14:56:31 +02:00
ntfsdecrypt.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsdecrypt.c Silenced warnings about fallthrough situations in switch cases of ntfsprogs 2020-03-08 09:38:00 +01:00
ntfsdump_logfile.c Moved general declarations from ntfsrecover.h to logfile.h 2016-04-06 11:03:31 +02:00
ntfsfallocate.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsfallocate.c Fixed ntfsfallocate on a void file 2020-03-08 09:51:48 +01:00
ntfsfix.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsfix.c Fixed consistency check of MFT attributes in ntfsfix 2021-07-12 08:31:17 +02:00
ntfsinfo.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsinfo.c Supported use of WSL special file 2021-01-26 10:06:17 +01:00
ntfslabel.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfslabel.c Fixed updating the backup boot sector in ntfslabel 2017-02-11 09:22:50 +01:00
ntfsls.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsls.c Rename legacy MS_* flags for ntfs_mount with NTFS_MNT_* flags. 2012-11-07 16:29:48 +01:00
ntfsmftalloc.c Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
ntfsmove.c Fix compilation errors on OpenIndiana caused by missing limit macros. 2016-02-16 20:43:00 +01:00
ntfsmove.h Merge remote branch 'linux-ntfs/libntfs-3g_port-v2_0_0' into PERMISSION_HANDLING_BRANCH 2010-12-17 09:04:01 +01:00
ntfsprogs.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsrecover.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsrecover.c Silenced compiler warnings in ntfsrecover 2017-12-22 11:37:58 +01:00
ntfsrecover.h Aligned internal log buffers on CPUs which require them 2017-10-26 10:33:29 +02:00
ntfsresize.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsresize.c Silenced warnings about fallthrough situations in switch cases of ntfsprogs 2020-03-08 09:38:00 +01:00
ntfssecaudit.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfssecaudit.c Accepted displaying bad security descriptors on conditions 2017-02-11 10:37:47 +01:00
ntfstruncate.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfstruncate.c ntfstruncate.c: Fix mixed endianness usage of variable 'i'. 2016-01-26 10:28:38 +01:00
ntfsundelete.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsundelete.c Silenced warnings about fallthrough situations in switch cases of ntfsprogs 2020-03-08 09:38:00 +01:00
ntfsundelete.h Prefix all functions and macros in ntfsprogs/list.h with 'ntfs_/NTFS_'. 2012-01-13 13:37:33 +01:00
ntfsusermap.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfsusermap.c ntfsusermap.c: Fix warning about implicit conversion between enums. 2017-03-21 12:06:04 +01:00
ntfswipe.8.in Updated the urls present in the ntfsprogs manuals 2021-08-30 10:42:14 +02:00
ntfswipe.c Silenced warnings about fallthrough situations in switch cases of ntfsprogs 2020-03-08 09:38:00 +01:00
ntfswipe.h Developped an option --unused-fast for faster ntfswipe 2014-09-02 09:55:53 +02:00
playlog.c Processed redo log actions associated to undoing a CompensationlogRecord 2017-10-26 10:44:36 +02:00
sd.c Fix incorrect usage of native/little-endian types, signed types, etc. 2015-12-21 23:55:31 +01:00
sd.h Merge remote branch 'linux-ntfs/libntfs-3g_port-v2_0_0' into PERMISSION_HANDLING_BRANCH 2010-12-17 09:04:01 +01:00
utils.c Fixed a constant string concatenation 2021-01-26 10:06:18 +01:00
utils.h ntfsprogs Builds on Windows use macroes to translate printing formats, 2015-09-30 09:08:35 +02:00