Sha256: 5a6ca7dcd2c9b8246d5a5045a6e3b5f1f5fe0fe06a852cb090fe4754b8e47ec1

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

class Pipette
	module Xfs

		def format(device)
			run_command "mkfs.xfs", device
		end

		def mount(device, mountpoint)
			FileUtils.mkdir_p(mountpoint)
			run_command "mount", device, mountpoint
		end

		def growfs(device)
			run_command "xfs_growfs", device
		end

		def umount(device)
			run_command "umount", device
		end
	end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pipette-0.1.1 lib/pipette/xfs.rb
pipette-0.1.0 lib/pipette/xfs.rb