etcfstab

package
v0.0.0-...-a234189 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2016 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package etcfstab extracts useful info from that file on linux

Csv output is particularly supported, so that a csvfile-based enterprise's ETL tools can also monitor its servers and desktops

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fstab

func Fstab(_verbose bool) (smap map[string]*Fstabdata)

Fstab extracts fstab data

func Header() string

Header is generic

func Keys_String2PtrFstabdata

func Keys_String2PtrFstabdata(_mp *map[string]*Fstabdata) []string

Keys_String2PtrFstabdata is generic

func SortedKeys_String2PtrFstabdata

func SortedKeys_String2PtrFstabdata(_mp *map[string]*Fstabdata) []string

SortedKeys_String2PtrFstabdata is generic

Types

type Fstabdata

type Fstabdata struct {
	Spec_    string
	File_    string
	Vfstype_ string
	Mntops_  string
	Freq_    string
	Passno_  string
}

Fstabdata holds fstab data

func New

func New() *Fstabdata

New is generic

func (*Fstabdata) Csv

func (self *Fstabdata) Csv() string

Csv is generic

func (*Fstabdata) Print

func (self *Fstabdata) Print()

Print is generic

func (*Fstabdata) Sprint

func (self *Fstabdata) Sprint() string

Sprint is generic

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL