system: shorten markers, drop "growfs" suffix

This commit is contained in:
Franco Fichtner 2022-03-17 07:57:33 +01:00
parent 64227e7cb0
commit 975b38c065
3 changed files with 3 additions and 3 deletions

View File

@ -1316,7 +1316,7 @@ function is_install_media()
* Despite unionfs underneath, / is still not writeable,
* making the following the perfect test for install media.
*/
$file = '/.probe.for.install.media';
$file = '/.probe.for.readonly';
if (file_exists($file)) {
return false;

View File

@ -63,7 +63,7 @@ grow_partition()
# tunefs may refuse otherwise
mount -fr / 2> /dev/null
GROWFS_MARKER=/.probe.for.growfs.nano
GROWFS_MARKER=/.probe.for.growfs
ROOT_IS_UFS=
ROOT_IS_ZFS=$(
df -hT | while read FS TYPE SIZE USED AVAIL CAP MOUNT MORE; do

View File

@ -24,7 +24,7 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
INSTALL="/.probe.for.install.media"
INSTALL="/.probe.for.readonly"
MNT="/tmp/hdrescue"
SHELL="/bin/sh"
WAIT="........."