Skip to content

Commit

Permalink
text changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AtibQur committed Feb 7, 2025
1 parent be483b6 commit fbf5712
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ namespace CheerpX {

## Parameters

- url (`string`): The URL of the disk image to be streamed via HTTP.
- **url (`string`)** - The URL of the disk image to be streamed via HTTP.

## Returns

`CheerpX.HttpBytesDevice.create` returns a [Promise] that resolves to an `HttpBytesDevice` instance. You can use this instance to mount a remote `ext2` filesystem in your CheerpX environment.

## Example

Create an HttpBytesDevice instance for remote filesystem streaming.
Create an `HttpBytesDevice` instance for remote filesystem streaming.

```ts {2, 6, 12}
// Create a read-only block device for a disk image stored on an HTTP server
Expand All @@ -42,7 +42,7 @@ const cx = await CheerpX.Linux.create({
});
```

In this example, the HttpBytesDevice is created using `CheerpX.HttpBytesDevice.create()` and used as the base layer for an ext2 filesystem in the CheerpX system.
In this example, the `HttpBytesDevice` is created using `CheerpX.HttpBytesDevice.create()` and used as the base layer for an ext2 filesystem in the CheerpX system.

To learn more about virtual filesystems in CheerpX, check out our [Files and filesystems](/docs/guides/File-System-support) guide.

Expand Down

0 comments on commit fbf5712

Please sign in to comment.