[Haiku-commits] r30975 - in haiku/trunk: headers/private/kernel src/system/kernel/fs src/system/kernel/vm

Rene Gollent anevilyak at gmail.com
Thu Jun 18 16:08:31 CEST 2009


Hi Axel,


On Fri, Jun 5, 2009 at 10:52 AM, axeld at BerliOS<axeld at mail.berlios.de> wrote:
>                TRACE(("trying to mount boot partition: %s\n", path.Path()));
>                gBootDevice = _kern_mount("/boot", path.Path(), fsName, 0, NULL, 0);
> -               if (gBootDevice >= B_OK)
> +               if (gBootDevice >= B_OK) {
> +                       gReadOnlyBootDevice = true;
>                        break;
> +               }
>        }

Isn't this marking the boot device as read only in all cases, and thus
preventing a swap file from ever being created?

Regards,

Rene


More information about the Haiku-commits mailing list