diff options
author | Karel Zak | 2009-02-18 23:16:57 +0100 |
---|---|---|
committer | Karel Zak | 2009-02-18 23:16:57 +0100 |
commit | 27f8f3669a41e32a3da867dfd1cbc16e368a9a28 (patch) | |
tree | 8b4a41cb2a5b34db272da8764d7c8daa8eef3f51 /mount | |
parent | blkid: blkid_evaluate_spec() shouldn't ignore $BLKID_FILE (diff) | |
download | kernel-qcow2-util-linux-27f8f3669a41e32a3da867dfd1cbc16e368a9a28.tar.gz kernel-qcow2-util-linux-27f8f3669a41e32a3da867dfd1cbc16e368a9a28.tar.xz kernel-qcow2-util-linux-27f8f3669a41e32a3da867dfd1cbc16e368a9a28.zip |
mount: inform about UID and eUID when verbose > 2
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount')
-rw-r--r-- | mount/mount.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mount/mount.c b/mount/mount.c index 3f0b0c61d..94fa94fbb 100644 --- a/mount/mount.c +++ b/mount/mount.c @@ -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; |