mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
system: shorten markers, drop "growfs" suffix
This commit is contained in:
parent
64227e7cb0
commit
975b38c065
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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="........."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user