Re: [Freedos-devel] IFS API

2023-02-27 Thread Rugxulo
Hi, On Mon, Feb 27, 2023 at 5:59 PM Aitor Santamaría wrote: > > As a matter of curiosity, given that we were unable to find a precise answer > to why Microsoft dropped IFS after MS-DOS 5.0 (although we had speculations), > I thought, why not ask ChatGPT (Bing) about that? > > I had hoped that

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Rugxulo
Hi, On Sun, Feb 26, 2023 at 1:07 PM Bernd Boeckmann via Freedos-devel wrote: > > in the last two weeks I ported Free FDISK to Watcom C and started fixing the > bugs people mentioned > at the bttr forum and in the issue trackers. Great news! Thanks a ton for your work on this. BTW, it seems

Re: [Freedos-devel] IFS API

2023-02-27 Thread Aitor Santamaría
Hey! As a matter of curiosity, given that we were unable to find a precise answer to why Microsoft dropped IFS after MS-DOS 5.0 (although we had speculations), I thought, why not ask ChatGPT (Bing) about that? The answer is quite curious (I can't send the image due to mailing list size

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bernd Boeckmann via Freedos-devel
> However, when the disk already has a partition and is full… > > fdisk 1 /prio:2000 ; no error, no partition created, exit errorlevel 0 > fdisk 1 /pri:100,100 ; divide error, no partition created, exit errorlevel 3 Nice finding! Fixed in

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread jerome
Hi Bernd, > On Feb 27, 2023, at 12:57 PM, Bernd Boeckmann via Freedos-devel > wrote: > > >> Am 27.02.2023 um 17:28 schrieb jer...@shidel.net: >> >> I think I will go with a max partition of 2GB (FAT16) on real hardware and >> the entire disk (FAT32) inside Virtual Machines. > > If you

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bernd Boeckmann via Freedos-devel
> Am 27.02.2023 um 19:31 schrieb jer...@shidel.net: > > Using your example, I think it would be easier for a user to understand as: > > fdisk 1 /clear /pri:2048 /ext:max /log:4096 /log:max > I agree and implemented it as you suggested. The MAX quantifier now internally is the same as the

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread jerome
> On Feb 27, 2023, at 12:02 PM, Bernd Boeckmann via Freedos-devel > wrote: > >> Seriously, thank you. :-) > > Glad I could help :-) > >> On a side note: It might be nice to support '/prio:max’ and '/pri:max’. > > > Shouldn’t do /pri:100,100 the trick? Yep, works fine. > The ,100

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bret Johnson
> I'm not sure if this fdisk can already do that, but additionally it > would also be very useful if it could align partitions to 4k rather > than 63 sectors to lower wear on flash drives (SSD, CompactFlash). You can certainly make a case for aligning things on 4k boundaries on both modern and

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bernd Boeckmann via Freedos-devel
> Am 27.02.2023 um 17:28 schrieb jer...@shidel.net: > > I think I will go with a max partition of 2GB (FAT16) on real hardware and > the entire disk (FAT32) inside Virtual Machines. If you want it to be FAT-16 I would suggest not doing /PRIO:2048 but instead /PRIO:2047 or even less, because

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Deposite Pirate
On Mon, 27 Feb 2023 16:55:31 +0100 tom ehlert wrote: > I hate feature flags as they must be decovered first. > > hiding it behind > >if lba_supported_by_disk and > total_disk_size > 8,4 GB // max total size for CHS addressing > { > place partitions on 4K boundary > }

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bernd Boeckmann via Freedos-devel
> Seriously, thank you. :-) Glad I could help :-) > On a side note: It might be nice to support '/prio:max’ and '/pri:max’. Shouldn’t do /pri:100,100 the trick? The ,100 indicates that the first value is to be interpreted as a percentage. If you want to specify the size in MB you must NOT

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread jerome
Hi, > On Feb 27, 2023, at 7:27 AM, Bernd Boeckmann via Freedos-devel > wrote: > > Hi Jerome, > >> Am 26.02.2023 um 23:31 schrieb Jerome Shidel : >> >> Unfortunately, the current FDISK performs this task be creating a bunch of >> 2GB partitions. This tends to annoy users installing on real

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread tom ehlert
Hallo Herr Bernd Boeckmann via Freedos-devel, am Montag, 27. Februar 2023 um 13:07 schrieben Sie: >> Am 27.02.2023 um 07:26 schrieb Deposite Pirate : >> >> I'm not sure if this fdisk can already do that, but additionally it >> would also be very useful if it could align partitions to 4k rather

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bernd Boeckmann via Freedos-devel
Hi Jerome, > Am 26.02.2023 um 23:31 schrieb Jerome Shidel : > > Unfortunately, the current FDISK performs this task be creating a bunch of > 2GB partitions. This tends to annoy users installing on real hardware with > very large disks. Yes at the moment it sadly is hardcoded to creating

Re: [Freedos-devel] Free FDISK interim builds

2023-02-27 Thread Bernd Boeckmann via Freedos-devel
> Am 27.02.2023 um 07:26 schrieb Deposite Pirate : > > I'm not sure if this fdisk can already do that, but additionally it > would also be very useful if it could align partitions to 4k rather than > 63 sectors to lower wear on flash drives (SSD, CompactFlash). The current behaviour is to