Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
20a9a270
Commit
20a9a270
authored
Mar 24, 2011
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-disk: use ext4 for / and /boot by default
ref #558
parent
687c4927
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
setup-disk.in
setup-disk.in
+6
-5
No files found.
setup-disk.in
View file @
20a9a270
...
...
@@ -347,7 +347,8 @@ useall() {
local
swap_size
=
$(
find_swap_size
)
swap_part_type
=
"82"
local
root_part_type
=
"83"
local
raidpkg
=
partitions
=
local
minimum_root_size
=
$((
$boot_size
*
2
))
;
local
minimum_root_size
=
$((
$boot_size
*
2
))
local
rootfs
=
ext4
bootfs
=
ext4
if
[
-n
"
$USE_RAID
"
]
;
then
boot_part_type
=
"fd"
...
...
@@ -430,15 +431,15 @@ EOF
esac
done
fi
mkfs.
ext3
-q
$boot_dev
>
/dev/null
\
mkfs.
$bootfs
-q
$boot_dev
>
/dev/null
\
&&
mkswap
$swap_dev
>
/dev/null
\
&&
mkfs.
ext3
-q
>
/dev/null
$root_dev
\
&&
mkfs.
$rootfs
-q
>
/dev/null
$root_dev
\
||
return
1
mkdir
-p
/mnt
mount
-t
ext3
$root_dev
/mnt
||
return
1
mount
-t
$rootfs
$root_dev
/mnt
||
return
1
mkdir
-p
/mnt/boot
mount
-t
ext3
$boot_dev
/mnt/boot
||
return
1
mount
-t
$bootfs
$boot_dev
/mnt/boot
||
return
1
if
[
-n
"
$USE_RAID
"
]
;
then
mdadm
--detail
--scan
>
/etc/mdadm.conf
rc-update
--quiet
add mdadm-raid boot
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment