After modifying a fstab file, you will want to save your changes. The save() function does this.
Warning |
Comments from the loaded file are not preserved when saving, and whitespace may change. This has no effect on the functionality of the fstab file, but you may lose helpful comments. |
Example 37-1. Save to the same file This will save your changes back to the file you loaded, overwriting the old file.
|
Example 37-2. Save to a different file This will save your changes to a different file than the one you originally loaded.
|