Update 2025-01-05 09:22 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2025-01-05 09:22:42 +01:00
parent 5f346e4848
commit 908090c41b
5 changed files with 9 additions and 5 deletions

View File

@ -16,7 +16,7 @@ _biodev=$(doas bioctl softraid0 | grep -B1 $_dev | head -1 | awk '{print $5}' \
if [ -z "$_biodev" ]
then
# decrypt
doas bioctl -c C -l ${_dev}a softraid0
pass Local/hagibis-usb-nvme | doas bioctl -s -c C -l ${_dev}a softraid0
# and read again
_biodev=$(doas bioctl softraid0 | grep -B1 $_dev | head -1 | awk '{print $5}' \
|| exit 1)

View File

@ -1,3 +1,3 @@
#!/bin/sh -x
_dev=${1:-sd2}
doas mount.exfat-fuse -o nodev,nosuid,noatime,uid=1000,gid=1000 /dev/${_dev}i /mnt
_dev=${1:-sd2i}
doas mount.exfat-fuse -o nodev,nosuid,noatime,uid=1000,gid=1000 /dev/${_dev} /mnt

3
.bin/mount-ffs Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh -x
_dev=${1:-sd2}
doas /sbin/mount_ffs /dev/${_dev}a /mnt

1
.kshrc
View File

@ -191,6 +191,7 @@ myps() { ps -fU $(whoami); }
mytop() { top -u $(whoami); }
alias pkg-readmes="cd /usr/local/share/doc/pkg-readmes; ls"
alias notes="cd $HOME/Documents/notes; nnn"
# git
alias mygit-commit="git commit"

File diff suppressed because one or more lines are too long