-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libmountchk: determine if image file is mounted via a loop device
The check_mount() function used to check the mount of a block device does not support determining the mount status when the source is an image file mounted via a loop device. As a result, nilfs-tune can rewrite the loop device mount source file without the force option "-f". Fix this issue by making check_mount() detect if a loop device is attached and a file system is mounted on it. [ fixed a typo in comments ] Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
- Loading branch information
Showing
3 changed files
with
135 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters