3
. /lib/partman/definitions.sh
3
. /lib/partman/lib/base.sh
6
6
for dev in $DEVICES/*; do
7
[ -d $dev ] || continue
10
while { read_line num id size type fs path name; [ "$id" ]; }; do
11
[ $fs != free ] || continue
12
[ -f "$id/method" ] || continue
13
[ -f "$id/acting_filesystem" ] || continue
14
[ -f "$id/mountpoint" ] || continue
15
mountpoint=$(cat $id/mountpoint)
16
if [ "$mountpoint" = /boot ]; then
7
[ -d $dev ] || continue
10
while { read_line num id size type fs path name; [ "$id" ]; }; do
11
[ $fs != free ] || continue
12
[ -f "$id/method" ] || continue
13
[ -f "$id/acting_filesystem" ] || continue
14
[ -f "$id/mountpoint" ] || continue
15
mountpoint=$(cat $id/mountpoint)
16
if [ "$mountpoint" = /boot ]; then
23
23
for dev in $DEVICES/*; do
24
[ -d $dev ] || continue
26
open_dialog PARTITIONS
27
while { read_line num id size type fs path name; [ "$id" ]; }; do
28
[ $fs != free ] || continue
29
[ -f "$id/method" ] || continue
30
[ -f "$id/acting_filesystem" ] || continue
31
[ -f "$id/mountpoint" ] || continue
32
mountpoint=$(cat $id/mountpoint)
33
filesystem=$(cat $id/acting_filesystem)
36
# due to #249322, #255135, #258117:
37
if [ "$mountpoint" = /tmp ]; then
38
rm -f $id/options/noexec
40
if [ "$mountpoint" = /boot \
41
-o \( "$mountpoint" = / -a "$has_boot" = no \) ]; then
44
options=$(get_mountoptions $dev $id)
45
if [ "$mountpoint" = / ]; then
50
echo "$path" "$mountpoint" reiserfs $options 0 $pass
24
[ -d $dev ] || continue
26
open_dialog PARTITIONS
27
while { read_line num id size type fs path name; [ "$id" ]; }; do
28
[ $fs != free ] || continue
29
[ -f "$id/method" ] || continue
30
[ -f "$id/acting_filesystem" ] || continue
31
[ -f "$id/mountpoint" ] || continue
32
mountpoint=$(cat $id/mountpoint)
33
filesystem=$(cat $id/acting_filesystem)
36
# due to #249322, #255135, #258117:
37
if [ "$mountpoint" = /tmp ]; then
38
rm -f $id/options/noexec
40
if [ "$mountpoint" = /boot ] || \
41
([ "$mountpoint" = / ] && [ "$has_boot" = no ]); then
44
options=$(get_mountoptions $dev $id)
45
if [ "$mountpoint" = / ]; then
50
echo "$path" "$mountpoint" reiserfs $options 0 $pass