← Commit list

8656676a2

Denys Vlasenko
Denys Vlasenko
2009-12-10
FAILED Duration: 27s

Subject

mount: "already mounted" msg appears only if -v

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/mount.c+6 -4
@@ -1999,10 +1999,12 @@ int mount_main(int argc UNUSED_PARAM, char **argv)
// "/" may have fsname of "/dev/root" while fstab
// says "/dev/something_else".
if (mp) {
- bb_error_msg("according to %s, "
- "%s is already mounted on %s",
- bb_path_mtab_file,
- mp->mnt_fsname, mp->mnt_dir);
+ if (verbose) {
+ bb_error_msg("according to %s, "
+ "%s is already mounted on %s",
+ bb_path_mtab_file,
+ mp->mnt_fsname, mp->mnt_dir);
+ }
} else {
// ...mount this thing
if (singlemount(mtcur, /*ignore_busy:*/ 1)) {