Patch from vodz:

I wrote:
>>I think, fdisk have special ext2lseek special for:
>>disk can have size > 4Gb, but all any partitions have < 4Gb and lseek64
>>not require.
>>May be best create new configure option for set DOLFS for fdisk applet
>>if global DOLFS unset?
>


Erik Andersen wrote:
>Agreed.  Using an extra configure option when ! DOLFS
>would be a good idea.


Ok. Patch attached.
This commit is contained in:
Eric Andersen
2003-08-06 09:07:37 +00:00
parent 0a57a79e38
commit d3652bf334
2 changed files with 96 additions and 10 deletions

View File

@ -74,6 +74,16 @@ config CONFIG_FDISK
can be used to list and edit the set of partitions or BSD style
'disk slices' that are defined on a hard drive.
if !CONFIG_LFS
config FDISK_SUPPORT_LARGE_DISKS
bool " support over 4Gb disks"
default y
depends on CONFIG_FDISK
help
Previous set detected unsupport large file, but you can support
large disks after enable this option
endif
config CONFIG_FEATURE_FDISK_WRITABLE
bool " Write support"
default y