/* * call-seq: * Filesystem.mounts * Filesystem.mounts{ ... } * * In block form, yields a Filesystem::Mount object for each mounted filesystem * on your machine. In non-block form, returns an array of Filesystem::Mount * objects instead. * * Example: * * Filesystem.mounts{ |fs| * p fs.name # => e.g. '/dev/dsk/c0t0d0s0', 'proc', etc * p fs.mount_time # => e.g. Thu Dec 11 15:07:23 -0700 2008 * p fs.mount_type # => e.g. 'ufs', 'proc', etc * p fs.mount_point # => e.g. '/', '/proc', '/tmp', etc * p fs.options # => e.g. "rw,intr,largefiles,logging,xattr,onerror=panic,dev=2200008" * p fs.pass_number # => e.g. ??? * p fs.dump_frequency # => e.g. ??? * } */ static VALUE fs_mounts(VALUE klass){