Browse Source

more mod_install.sh work: moved ext3 to be the default (instead ext2),

added examples to the mount-point dialog as well as the default '/' (#168)


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1680 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
821b0c5f82
2 changed files with 8 additions and 5 deletions
  1. +2
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +6
    -5
      package/base/sysfiles/stone_mod_install.sh

+ 2
- 0
Documentation/Developers/CHANGELOG-RENE

@ -2,6 +2,8 @@
*) 2003-11-03 (2.0.0-rc2 - 2.0.0-rc3)
- added more verbose info text to the STONE disc-partitioning module
- more mod_install.sh work: moved ext3 to be the default (instead ext2),
added examples to the mount-point dialog as well as the default '/' (#168)
*) 2003-11-02 (2.0.0-rc2 - 2.0.0-rc3)

+ 6
- 5
package/base/sysfiles/stone_mod_install.sh

@ -32,7 +32,8 @@ part_swap_action() {
part_mount() {
local dir
gui_input "Mount device $1/$2 on directory" '' dir
gui_input "Mount device $1/$2 on directory
(for example /, /home, /var, ...)" '/' dir
if [ "$dir" ] ; then
dir="$( echo $dir | sed 's,^/*,,; s,/*$,,' )"
if [ -z "$dir" ] || grep -q " /mnt/target " /proc/mounts
@ -48,12 +49,12 @@ part_mount() {
part_mkfs() {
cmd="gui_menu part_mkfs 'Create filesystem on $1/$2'"
cmd="$cmd 'ext2fs (non-journaling fs)'"
cmd="$cmd 'mke2fs /dev/$1/$2'"
cmd="$cmd 'ext3fs (journaling filesystem)'"
cmd="$cmd 'mke2fs -j /dev/$1/$2'"
cmd="$cmd 'ext2fs (non-journaling fs)'"
cmd="$cmd 'mke2fs /dev/$1/$2'"
cmd="$cmd 'reiserfs (journaling filesystem)'"
cmd="$cmd 'mkreiserfs /dev/$1/$2'"
@ -176,7 +177,7 @@ EOT
echo " umount -arv"
echo " reboot -f"
echo
echo "Or by executing 'shutdown' which will run the above commands."
echo "Or by executing 'shutdown -r' which will run the above commands."
echo
fi
}

Loading…
Cancel
Save