This commit is contained in:
JMARyA 2023-12-04 11:02:23 +01:00
commit c5cd492449
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
475 changed files with 27928 additions and 0 deletions

10
technology/bsd/FreeBSD.md Normal file
View file

@ -0,0 +1,10 @@
---
website: https://www.freebsd.org
obj: os
---
# FreeBSD
#wip #🐇 #notnow
FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features (using [ZFS](../linux/filesystems/ZFS.md) natively) have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.
# pkg
Pkg is the Package Manager on BSDs

View file

@ -0,0 +1,9 @@
---
obj: os
website: https://opnsense.org
---
# OPNsense
#wip
#🐇
#notnow

View file

@ -0,0 +1,7 @@
---
obj: os
website: https://www.openbsd.org/
---
#refactor
# OpenBSD
The OpenBSD project produces a FREE, multi-platform 4.4BSD-based UNIX-like operating system. Our efforts emphasize portability, standardization, correctness, proactive security and integrated cryptography. As an example of the effect OpenBSD has, the popular [OpenSSH](../applications/SSH.md) software comes from OpenBSD.

5
technology/bsd/bhyve.md Normal file
View file

@ -0,0 +1,5 @@
---
obj: application
---
#wip #🐇 #notnow

24
technology/bsd/geli.md Normal file
View file

@ -0,0 +1,24 @@
---
obj: filesystem
---
#refactor
geli is used in [FreeBSD](FreeBSD.md) to encrypt [filesystems](../linux/filesystems/Filesystems.md) on devices (similiar to [LUKS](../linux/filesystems/LUKS.md) on [Linux](../linux/Linux.md)).
### Setting up Geli
- `geli init`: Initialize a disk or partition for encryption
- `geli attach`: Attach an encrypted disk or partition
- `geli detach`: Detach an attached encrypted disk or partition
### Managing keys
- `geli addkey`: Add a new key to an encrypted disk or partition
- `geli delkey`: Remove a key from an encrypted disk or partition
- `geli list`: List the keys for an encrypted disk or partition
### Other Geli commands
- `geli backup`: Back up the metadata for an encrypted disk or partition
- `geli restore`: Restore the metadata for an encrypted disk or partition
- `geli status`: Show the status of encrypted disks and partitions

5
technology/bsd/ggate.md Normal file
View file

@ -0,0 +1,5 @@
---
obj: filesystem
---
#wip #🐇 #notnow

34
technology/bsd/gmirror.md Normal file
View file

@ -0,0 +1,34 @@
---
obj: filesystem
---
# gmirror
The gmirror utility is used for mirror ([RAID](../linux/filesystems/RAID.md)-1) configurations on [FreeBSD](FreeBSD.md). After a mirror's creation, all components are detected and configured automatically. All operations like failure detection, stale component detection, rebuild of stale components, etc. are also done automatically. The gmirror utility uses on-disk metadata (stored in the provider's last sector) to store all needed information. Since the last sector is used for this purpose, it is possible to place a root file system on a mirror.
## Usage
- Automatic Creation
```shell
gmirror label [-Fhnv] [-b balance] [-s slice] name prov ...
```
- Remove a device
```shell
gmirror forget [-v] name ... # Forget disconnected devices
gmirror deactivate [-v] name prov ...
gmirror remove [-v] name prov ...
```
- Destroy Mirror
```shell
gmirror destroy [-fv] name ...
```
- Clear metadata on device
```shell
gmirror clear [-v] prov ...
```
- Status of stripes
```shell
gmirror list
gmirror status
```

5
technology/bsd/gpart.md Normal file
View file

@ -0,0 +1,5 @@
---
obj: filesystem
---
#wip #🐇 #notnow

5
technology/bsd/graid.md Normal file
View file

@ -0,0 +1,5 @@
---
obj: filesystem
---
#wip #🐇 #notnow

39
technology/bsd/gstripe.md Normal file
View file

@ -0,0 +1,39 @@
---
obj: filesystem
---
# gstripe
The gstripe utility is used for setting up a stripe ([RAID](../linux/filesystems/RAID.md)-0) on two or more disks on a [FreeBSD](FreeBSD.md) System.
The striped device can be configured using two different methods:
“manual” or “automatic”. When using the “manual” method, no metadata are
stored on the devices, so the striped device has to be configured by hand
every time it is needed. The “automatic” method uses on-disk metadata to
detect devices. Once devices are labeled, they will be automatically
detected and configured.
## Usage
- Manual Creation
```shell
gstripe create [-v] [-s stripesize] name prov prov ...
```
- Automatic Creation
```shell
gstripe label [-hv] [-s stripesize] name prov prov ...
```
- Destroy Stripe
```shell
gstripe destroy [-fv] name ...
gstripe stop [-fv] name ...
```
- Clear metadata on device
```shell
gstripe clear [-v] prov ...
```
- Status of stripes
```shell
gstripe list
gstripe status
```

View file

@ -0,0 +1,9 @@
---
obj: os
website: https://www.pfsense.org/
---
# pfSense
#wip
#🐇
#notnow