Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects, and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Developer articles
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Small and medium teams
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
sevan
minix
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
More
items
Files
Expand file tree
8libexec
Breadcrumbs
minix
/
etc
/
devmand
/
scripts
/
block
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
executable file
·
42 lines (40 loc) · 948 Bytes
8libexec
Breadcrumbs
minix
/
etc
/
devmand
/
scripts
/
block
Copy path
Top
File metadata and controls
Code
Blame
executable file
·
42 lines (40 loc) · 948 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!
/bin/sh
DEVSUFFIXES=
"
p0 p0s0 p0s1 p0s2 p0s3 p1 p1s0 p1s1 p1s2 p1s3 p2 p2s0 p2s1 p2s2 p2s3 p3 p3s0 p3s1 p3s2 p3s3
"
if
[
"
$1
"
=
up ]
;
then
mknod /dev/
$2
b
$3
0
;
mknod /dev/
$2
p0 b
$3
1
;
mknod /dev/
$2
p1 b
$3
2
;
mknod /dev/
$2
p2 b
$3
3
;
mknod /dev/
$2
p3 b
$3
4
;
mknod /dev/
$2
p0s0 b
$3
128
;
mknod /dev/
$2
p0s1 b
$3
129
;
mknod /dev/
$2
p0s2 b
$3
130
;
mknod /dev/
$2
p0s3 b
$3
131
;
mknod /dev/
$2
p1s0 b
$3
132
;
mknod /dev/
$2
p1s1 b
$3
133
;
mknod /dev/
$2
p1s2 b
$3
134
;
mknod /dev/
$2
p1s3 b
$3
135
;
mknod /dev/
$2
p2s0 b
$3
136
;
mknod /dev/
$2
p2s1 b
$3
137
;
mknod /dev/
$2
p2s2 b
$3
138
;
mknod /dev/
$2
p2s3 b
$3
139
;
mknod /dev/
$2
p3s0 b
$3
140
;
mknod /dev/
$2
p3s1 b
$3
141
;
mknod /dev/
$2
p3s2 b
$3
142
;
mknod /dev/
$2
p3s3 b
$3
143
;
echo
New USB disk at /dev/
$2
.
elif
[
"
$1
"
=
down ]
;
then
rm /dev/
$2
;
count=1
;
for
SUF
in
`
echo
$DEVSUFFIXES
`
;
do
rm /dev/
${2}${SUF}
;
count=
$((
$count
+
1
))
;
done
elif
[
"
$1
"
=
clean ]
;
then
rm -f /dev/
$2
*
;
fi
You can’t perform that action at this time.