repo.or.cz
/
dotfiles_afify.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
gitignore, kshrc, notify_azan, notify_cpu
[dotfiles_afify.git]
/
.scripts
/
openbsd_mount.sh
blob
03689ebc755cce00bd0ed9cf39fe0fb0a104bf2b
1
#!/usr/bin/env bash
2
3
dmesg |
egrep
'^(cd|wd|sd|fd). at '
4
sysctl hw.disknames
5
sysctl hw.diskcount
6
sysctl
-a
|
grep
-i
disk
7
8
choose_disk
=
$
(
glabel list |\
9
dmenu |\
10
awk
'{print
$1
}'
)
11
12
mount
-t
ext2fs
/
dev
/
ad1s1
/
mnt
13
14
/
dev
/
da0s1
/
mnt
/
sdcard ext4 mountprog
=/
usr
/
local
/
bin
/
ext4fuse
,
allow_other
,
late
,
rw
0 0