Format before fstab? #258
Replies: 2 comments 3 replies
-
| Side question: What is the behaviour if the "run" command in /etc/fstab.conf has a condition? will no futher run commands fire as the first run is blocked. | 
Beta Was this translation helpful? Give feedback.
-
| 
 Yes, this would be the recommended way to do this at the moment. 
 Yes, that's what we did at my old job. We had C plugins for the various "hook points" that exist in Finit.  There are a few that may be of use to you:  | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to get your advice.
Before mounting an emmc I wanted to format the particular partitions (if they are not formatted). The emmc is totally black. At the moment, the best way I can see to do this from finit is to call a script from fstab to check and format before the mount takes place using the same method as we use for mkdir#-p
Does that make sense to you?
Am I right in assuming that the only way to run something before fstab is a plugin in finit? (is it even possible to run a plugin before mounting fstab?)
Beta Was this translation helpful? Give feedback.
All reactions