Re: where is remount?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Steve French wrote:
> It may be calling that ... but I was typing:  "remount" in bash and I
> don't see a bash alias for it or a command in the path named that.
Didn't you see MS_REMOUNT in the output of "strace"?

# mount -t tmpfs none /dev/shm/
# strace mount -o remount,ro /dev/shm/ 2>&1 | grep mount
execve("/bin/mount", ["mount", "-o", "remount,ro", "/dev/shm/"], [/* 17 vars */]) = 0
open("/proc/mounts", O_RDONLY|O_LARGEFILE) = 3
stat64("/sbin/mount.tmpfs", 0xbffeb570) = -1 ENOENT (No such file or directory)
mount("none", "/dev/shm", 0x8c13d68, MS_MGC_VAL|MS_RDONLY|MS_REMOUNT, ""...) = 0
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux