Print this page
6198 Let's EOL cachefs

*** 19,28 **** --- 19,29 ---- # # CDDL HEADER END # # # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved. + # Copyright 2015 Nexenta Systems, Inc. All rights reserved. # # PATH=/usr/bin:/usr/sbin:$PATH; export PATH STMSBOOTUTIL=/lib/mpxio/stmsboot_util STMSMETHODSCRIPT=/lib/svc/method/mpxio-upgrade
*** 547,562 **** # prime the cache $STMSBOOTUTIL -i if [ "$cmd" = "enable" -o "$cmd" = "disable" -o "$cmd" = "update" ]; then ! # ! # The bootup script doesn't work on cache-only-clients as the script ! # is executed before the plumbing for cachefs mounting of root is done. ! # ! if $MOUNT -v | $EGREP -s " on / type (nfs|cachefs) "; then ! gettext "This command option is not supported on systems with an nfs or cachefs mounted root filesystem.\n" 1>&2 exit 1 fi # if the user has left the system with the mpxio-upgrade service # in a temporarily disabled state (ie, service is armed for the next --- 548,559 ---- # prime the cache $STMSBOOTUTIL -i if [ "$cmd" = "enable" -o "$cmd" = "disable" -o "$cmd" = "update" ]; then ! if $MOUNT -v | $EGREP -s " on / type nfs "; then ! gettext "This command option is not supported on systems with an nfs mounted root filesystem.\n" 1>&2 exit 1 fi # if the user has left the system with the mpxio-upgrade service # in a temporarily disabled state (ie, service is armed for the next