Module Line.Fstab


module Fstab: sig .. end
Line structure for the file system table /etc/fstab records. See fstab(5).

val file_system : < fstab : Line.present; .. > Line.t -> string
The filesystem to mount. (accessor, required)
val set_file_system : string -> (< fstab : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Fstab.file_system
val mount_point : < fstab : Line.present; .. > Line.t -> string
The mount point for the filesystem. (accessor, required)
val set_mount_point : string -> (< fstab : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Fstab.mount_point
val fstype : < fstab : Line.present; .. > Line.t -> string
The filesystem type (accessor, required)
val set_fstype : string -> (< fstab : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Fstab.fstype
val options : < fstab : Line.present; .. > Line.t -> string list
Mount options (e.g. ro, user, noauto) (accessor, required)
val set_options : string list -> (< fstab : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Fstab.options
val dump : < fstab : Line.present; .. > Line.t -> int
Used by dump(8) to determine which filesystem to dump. (accessor, required)
val set_dump : int -> (< fstab : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Fstab.dump
val pass : < fstab : Line.present; .. > Line.t -> int
Pass on which to mount this filesystem (accessor, required)
val set_pass : int -> (< fstab : Line.present; .. > as 'a) Line.t -> 'a Line.t
Updater for Line.Fstab.pass
val create : file_system:string ->
mount_point:string ->
fstype:string ->
options:string list ->
dump:int ->
pass:int ->
< delim : 'a; fstab : Line.absent; group : 'b; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i >
Line.t ->
< delim : 'a; fstab : Line.present; group : 'b; key_value : 'c; mailcap : 'd;
passwd : 'e; ps : 'f; seq : 'g; source : 'h; stat : 'i >
Line.t
Add the Line.Fstab substructure to a line.