Config...::Fstab(3pm)
πΈ Config::Model::Backend::Fstab β the perl 3pm page, bestie edition π
okay so you've stumbled into Config...::Fstab(3pm), a User Contributed Perl Documentation page, and honestly? it's giving very niche, very powerful, very iykyk. let's get into it π«Ά
β¨ NAME β¨
Config::Model::Backend::Fstab β literally just: Read and write config from fstab file. that's it, that's the whole job π
π VERSION π
this one right here is version 2.166 β¨
π¦ SYNOPSIS π¦
No synopsis. nope. none. this class is dedicated to configuration class Fstab and that's the whole vibe π
π DESCRIPTION π
So this module gets used directly by Config::Model to read or write the content of a configuration tree that's written with fstab syntax in a Config::Model configuration tree. and typically?? this backend is what handles reading and writing /etc/fstab π
π Comments in file_path π
shoutout to this backend because it can actually read and write comments in the /etc/fstab file. yes bestie, your lil # notes are safe π₯Ήπ
π STOP π
real talk for a sec. everything below this point describes methods that are currently used only by Config::Model. if you're just here to write a model, you do not need to read this. close the tab, go touch grass, hydrate π§πΈ
π CONSTRUCTOR π
π« new π«
Parameters: ( node => $node_obj, name => 'fstab' )
Inherited from Config::Model::Backend::Any. The constructor is called by Config::Model::BackendMgr. so like, you're not the one calling it, the manager is, it's giving backstage crew energy π¬
π read π
Of all parameters passed to this read call-back, only file_path is used. and this parameter must be a Path::Tiny object, no substitutions, no exceptions β
When a file is read, read returns 1. slay β
βοΈ write βοΈ
Of all the parameters passed to this write call-back, only file_path is used.
write returns 1. periodt π
π§ AUTHOR π§
Dominique Dumont, (ddumont at cpan dot org) β ty for your service king π«‘π
π SEE ALSO π
Config::ModelConfig::Model::BackendMgrConfig::Model::Backend::Any,
π AUTHOR π
Dominique Dumont (yes, again, the icon stays winning π)
βοΈ COPYRIGHT AND LICENSE βοΈ
This software is Copyright (c) 2005-2022 by Dominique Dumont.
This is free software, licensed under:
The GNU Lesser General Public License, Version 2.1, February 1999
and that's the whole page bestie!! π this lil number was brought to you by perl v5.42.3, dated 2026-07-23, and yes the header/footer energy is immaculate. mwah π bye pookie, go read your fstab responsibly π
π¦ where this page comes from
- ubuntu stonking: libconfig-model-perl 2.166-1 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms