[BACK]Return to mountall CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/mountall between version 1.8 and 1.9

version 1.8, 2009/10/18 21:58:37 version 1.9, 2014/07/22 17:11:09
Line 14  stop_cmd="mountall_stop"
Line 14  stop_cmd="mountall_stop"
   
 mountall_start()  mountall_start()
 {  {
         echo 'Mounting all filesystems...'          echo 'Mounting all file systems...'
         if [ -f /etc/zfs/zpool.cache ]; then          if [ -f /etc/zfs/zpool.cache ]; then
                 # Get ZFS module loaded (and thereby, zvols created).                  # Get ZFS module loaded (and thereby, zvols created).
                 zfs list > /dev/null 2>&1                  zfs list > /dev/null 2>&1
Line 32  mountall_start()
Line 32  mountall_start()
   
 mountall_stop()  mountall_stop()
 {  {
         echo 'Unmounting all filesystems...'          echo 'Unmounting all file systems...'
         if [ -f /etc/zfs/zpool.cache ]; then          if [ -f /etc/zfs/zpool.cache ]; then
                 # Unmount ZFS file systems.                  # Unmount ZFS file systems.
                 zfs unmount -a                  zfs unmount -a

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

CVSweb <webmaster@jp.NetBSD.org>