Update 2025-01-05 09:22 OpenBSD/amd64-t14
This commit is contained in:
parent
5f346e4848
commit
908090c41b
@ -16,7 +16,7 @@ _biodev=$(doas bioctl softraid0 | grep -B1 $_dev | head -1 | awk '{print $5}' \
|
|||||||
if [ -z "$_biodev" ]
|
if [ -z "$_biodev" ]
|
||||||
then
|
then
|
||||||
# decrypt
|
# 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
|
# and read again
|
||||||
_biodev=$(doas bioctl softraid0 | grep -B1 $_dev | head -1 | awk '{print $5}' \
|
_biodev=$(doas bioctl softraid0 | grep -B1 $_dev | head -1 | awk '{print $5}' \
|
||||||
|| exit 1)
|
|| exit 1)
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh -x
|
#!/bin/sh -x
|
||||||
_dev=${1:-sd2}
|
_dev=${1:-sd2i}
|
||||||
doas mount.exfat-fuse -o nodev,nosuid,noatime,uid=1000,gid=1000 /dev/${_dev}i /mnt
|
doas mount.exfat-fuse -o nodev,nosuid,noatime,uid=1000,gid=1000 /dev/${_dev} /mnt
|
||||||
|
3
.bin/mount-ffs
Executable file
3
.bin/mount-ffs
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh -x
|
||||||
|
_dev=${1:-sd2}
|
||||||
|
doas /sbin/mount_ffs /dev/${_dev}a /mnt
|
1
.kshrc
1
.kshrc
@ -191,6 +191,7 @@ myps() { ps -fU $(whoami); }
|
|||||||
mytop() { top -u $(whoami); }
|
mytop() { top -u $(whoami); }
|
||||||
|
|
||||||
alias pkg-readmes="cd /usr/local/share/doc/pkg-readmes; ls"
|
alias pkg-readmes="cd /usr/local/share/doc/pkg-readmes; ls"
|
||||||
|
alias notes="cd $HOME/Documents/notes; nnn"
|
||||||
|
|
||||||
# git
|
# git
|
||||||
alias mygit-commit="git commit"
|
alias mygit-commit="git commit"
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user