1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

概要

wsl(wsl2じゃない)でnervesやってみる。
qemu(x86_64エミュレータ、ラズパイじゃない)でやってみた。
生成したnerves_livebook.imgを、quemで起動してテストしてみた。
linux周りを、調査する。

写真

image.png

実行結果

$ Toolshed.cmd("ls /")

var
usr
tmp
sys
srv
share
sbin
run
root
proc
opt
mnt
media
lib64
lib
etc
dev
data
boot
bin

$ Toolshed.cmd("ls -la /boot")

drwxr-xr-x    3 root     root         16384 Jan  1  1970 grub
-rw-r--r--    1 root     root       4014592 Oct 21  2020 bzImage
drwxr-xr-x   20 1000     1000           270 Oct 21  2020 ..
drwxr-xr-x    3 root     root            42 Oct 21  2020 .


$ Toolshed.cmd("ls /etc")

sysctl.conf
ssl
shells
shadow
resolv.conf
protocols
passwd
os-release
odbcinst.ini
odbc.ini
network
mke2fs.conf
libnl
iex.exs
hosts
grub.d
group
fw_env.config
erlinit.config
erl_inetrc
boardid.config



$ Toolshed.cmd("ls /bin")

umount
sleep
sh
rmdir
rm
pwd
ps
mv
mount
mknod
mkdir
mk_cmds
lsattr
ls
kill
grub-syslinux2cfg
grub-script-check
grub-render-label
grub-mkstandalone
grub-mkrescue
grub-mkrelpath
grub-mkpasswd-pbkdf2
grub-mknetdir
grub-mklayout
grub-mkimage
grub-menulst2cfg
grub-kbdcomp
grub-glue-efi
grub-fstest
grub-file
grub-editenv
grep
dmesg
df
dd
date
cp
compile_et
chattr
cat
busybox
ash
umount
sleep
sh
rmdir
rm
pwd
ps
mv
mount
mknod
mkdir
mk_cmds
lsattr
ls
kill
grub-syslinux2cfg
grub-script-check
grub-render-label
grub-mkstandalone
grub-mkrescue
grub-mkrelpath
grub-mkpasswd-pbkdf2
grub-mknetdir
grub-mklayout
grub-mkimage
grub-menulst2cfg
grub-kbdcomp
grub-glue-efi
grub-fstest
grub-file
grub-editenv
grep
dmesg
df
dd
date
cp
compile_et
chattr
cat
busybox
ash



$ Toolshed.cmd("ls /sbin")

uevent
udhcpc
tune2fs
sysctl
rmmod
reboot
poweroff
modprobe
modinfo
mklost+found
mkfs.ext4
mkfs.ext3
mkfs.ext2
mke2fs
lsmod
logsave
iptunnel
iprule
iproute
ipneigh
iplink
ipaddr
ip
init
ifconfig
halt
grub-sparc64-setup
grub-set-default
grub-reboot
grub-probe
grub-ofpathname
grub-mkconfig
grub-macbless
grub-install
grub-bios-setup
fsck.ext4
fsck.ext3
fsck.ext2
filefrag
e4crypt
e2undo
e2mmpstatus
e2label
e2fsck
e2freefrag
dumpe2fs
badblocks


$ Toolshed.cmd("ls /proc")

144
109
108
107
95
94
81
80
79
74
67
66
60
45
40
39
38
37
36
35
34
33
32
31
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
4
3
2
1
thread-self
self
pagetypeinfo
vmallocinfo
filesystems
execdomains
timer_list
partitions
kpageflags
kpagecount
interrupts
diskstats
config.gz
buddyinfo
zoneinfo
softirqs
slabinfo
kallsyms
consoles
version
sysvipc
modules
meminfo
loadavg
ioports
devices
cpuinfo
cmdline
vmstat
uptime
mounts
driver
crypto
asound
swaps
locks
iomem
stat
scsi
mtrr
misc
kmsg
acpi
tty
sys
net
irq
dma
bus
fs
fb





$ Toolshed.cmd("ls /dev")

vga_arbiter
mem
null
port
zero
full
random
urandom
kmsg
tty
console
tty0
vcs
vcsu
vcsa
vcs1
vcsu1
vcsa1
tty1
tty2
tty3
tty4
tty5
tty6
tty7
tty8
tty9
tty10
tty11
tty12
tty13
tty14
tty15
tty16
tty17
tty18
tty19
tty20
tty21
tty22
tty23
tty24
tty25
tty26
tty27
tty28
tty29
tty30
tty31
tty32
tty33
tty34
tty35
tty36
tty37
tty38
tty39
tty40
tty41
tty42
tty43
tty44
tty45
tty46
tty47
tty48
tty49
tty50
tty51
tty52
tty53
tty54
tty55
tty56
tty57
tty58
tty59
tty60
tty61
tty62
tty63
ptyp0
ptyp1
ptyp2
ptyp3
ptyp4
ptyp5
ptyp6
ptyp7
ttyp0
ttyp1
ttyp2
ttyp3
ttyp4
ttyp5
ttyp6
ttyp7
ptmx
ttyS0
ttyS1
ttyS2
ttyS3
hwrng
vda
vda1
vda2
vda3
vda4
input
watchdog
watchdog0
snd
cpu_dma_latency
pts
shm
rootdisk0
rootdisk0p4
rootdisk0p3
rootdisk0p2
rootdisk0p1
pmsg0
log

以上。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?