]> err.no Git - util-linux/commitdiff
mount: inform about UID and eUID when verbose > 2
authorKarel Zak <kzak@redhat.com>
Wed, 18 Feb 2009 22:16:57 +0000 (23:16 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 18 Feb 2009 22:16:57 +0000 (23:16 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/mount.c

index 3f0b0c61d53203a28299a29011db2f93695dbc00..94fa94fbbc547de40c30a2050e0d96a49d0fa2be 100644 (file)
@@ -2174,6 +2174,8 @@ main(int argc, char *argv[]) {
                printf("mount: mtab path:  \"%s\"\n", _PATH_MOUNTED);
                printf("mount: lock path:  \"%s\"\n", _PATH_MOUNTED_LOCK);
                printf("mount: temp path:  \"%s\"\n", _PATH_MOUNTED_TMP);
+               printf("mount: UID:        %d\n", getuid());
+               printf("mount: eUID:       %d\n", geteuid());
        }
 
        argc -= optind;