<commit_before>#!/bin/bash

# A simple Gentoo partition script.

FS="ext4"
DEVICE=$1
BOOT_PART="/dev/disk/by-partlabel/boot"
SWAP_PART="/dev/disk/by-partlabel/swap"
LVM_PART="/dev/disk/by-partlabel/gentdsk"
CRYPT_NAME="crypt"

sgdisk $DEVICE --attributes=1:set:2 # GPT
sgdisk -o \
    -n 1:0:+32M -t l:ef02 -c 1:bios \
    -n 2:0:+512M -c 2:boot \
    -n 3:0:+2048M -c 3:swap -t l:swap \<commit_msg>new partition sizes and btrfs as default format<commit_after>#!/bin/bash

# A simple Gentoo partition script.

FS="btrfs"
DEVICE=$1
BOOT_PART="/dev/disk/by-partlabel/boot"
SWAP_PART="/dev/disk/by-partlabel/swap"
LVM_PART="/dev/disk/by-partlabel/gentdsk"
CRYPT_NAME="crypt"

sgdisk $DEVICE --attributes=1:set:2 # GPT
sgdisk -o \
    -n 1:0:+2M -t l:ef02 -c 1:bios \
    -n 2:0:+128M -c 2:boot \
    -n 3:0:+2048M -c 3:swap -t l:swap \
{'fraction_non_alphanumeric': 0.18028846153846154, 'fraction_numerical': 0.055288461538461536, 'mean_word_length': 3.576923076923077, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1590802', 'n_tokens_mistral': 404, 'n_tokens_neox': 371, 'n_words': 75}