What is Nostr?
oi / Oi
npub16vr…6ry8
2023-06-21 22:25:47

oi on Nostr: Vitor Pamplona For some reason the post refuses to show `cryptsetup luksFormat `... ...

Vitor Pamplona (npub1gcx…nj5z)

For some reason the post refuses to show `cryptsetup luksFormat `... Tried three times

Keeps missing =>

You can use CryptSetup on #Linux: (assuming `sudo` in front of each command)

```cryptsetup luksFormat /dev/mmcblk0

cryptsetup luksOpen /dev/mmcblk0 opt

ls -arlt /dev/mapper | tail
ls -l /dev/mapper/opt

mkfs -t ext4 /dev/mapper/opt```

Where we've named the encrypted drive `opt` and opened in the systems /opt directory, -t is type ext4 which works on Linux systems

```mount /dev/mapper/opt /opt

umount /opt
cryptsetup luksClose opt

ls -l /dev/mapper/opt

'no such file'```
nevent1q…eejh
Author Public Key
npub16vrshrvn3q7gpk990qu8ege6upjdcvpp3tgyaqalfmdjwlygr7ls4u6ry8