mirror of
https://github.com/fspc/gbootroot.git
synced 2025-02-23 17:13:22 -05:00
Improved the fstab explanation text.
This commit is contained in:
parent
cfa9689f91
commit
b68b263aa9
@ -528,9 +528,10 @@ if ( $< == 0 ) {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
||||||
# The Administrator just needs to add a line like this to the fstab for
|
# The Administrator just needs to add a line like below to the fstab for
|
||||||
# each non-root user who wants to be able to create root_fs.
|
# each non-root user who wants to be able to create root_fs.
|
||||||
# Ofcourse the user is locked into the ext2 fs in this example
|
# Ofcourse, the user is locked into the ext2 fs in this example, and
|
||||||
|
# `id -u` has to be the actual effective numeric user id.
|
||||||
#
|
#
|
||||||
# /tmp/gboot_non_root_`id -u`/root_fs \
|
# /tmp/gboot_non_root_`id -u`/root_fs \
|
||||||
# /tmp/gboot_non_root_`id -u`/loopback \
|
# /tmp/gboot_non_root_`id -u`/loopback \
|
||||||
@ -540,10 +541,10 @@ else {
|
|||||||
|
|
||||||
if (!-d "$tmp1/gboot_non_root_" . $user) {
|
if (!-d "$tmp1/gboot_non_root_" . $user) {
|
||||||
$tmp = "$tmp1/gboot_non_root" . $user if err_custom_perl(
|
$tmp = "$tmp1/gboot_non_root" . $user if err_custom_perl(
|
||||||
"mkdir $tmp1/gboot_non_root" . $user,
|
"mkdir $tmp1/gboot_non_root_" . $user,
|
||||||
"gBootRoot: ERROR: Could not make temporary directory") != 2;
|
"gBootRoot: ERROR: Could not make temporary directory") != 2;
|
||||||
}
|
}
|
||||||
$tmp = "$tmp1/gboot_non_root" . $user;
|
$tmp = "$tmp1/gboot_non_root_" . $user;
|
||||||
|
|
||||||
if (!-d "$tmp1/gbootroot_mnt$time") {
|
if (!-d "$tmp1/gbootroot_mnt$time") {
|
||||||
$mnt = "$tmp1/gbootroot_mnt$time" if err_custom_perl(
|
$mnt = "$tmp1/gbootroot_mnt$time" if err_custom_perl(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user