    # File lib/chef/provider/mount/mount.rb, line 76
            def mounted?
              mounted = false
              shell_out!("mount").stdout.each_line do |line|
                case line
                when /^#{device_mount_regex}\s+on\s+#{Regexp.escape(@new_resource.mount_point)}/
                  mounted = true
                  Chef::Log.debug("Special device #{device_logstring} mounted as #{@new_resource.mount_point}")
                when /^([\/\w])+\son\s#{Regexp.escape(@new_resource.mount_point)}\s+/
                  mounted = false
                  Chef::Log.debug("Special device #{$~[1]} mounted as #{@new_resource.mount_point}")
                end
              end
              @current_resource.mounted(mounted)
            end