that is the point ... strace doesn't work on that command and I don't even know the syntax of the utility "remount" It seems to be something builtin to bash - very odd .... smfhome2:~ # mount /dev/sdb8 /mnt2 smfhome2:~ # remount -o ro /dev/sdb8 mount: you must specify the filesystem type smfhome2:~ # remount -o ro /dev/sdb8 -t ext3 mount: /dev/sdb8 not mounted already, or bad option smfhome2:~ # remount -t ext3 -o ro /dev/sdb8 mount: you must specify the filesystem type smfhome2:~ # remount -o ro -t ext3 /dev/sdb8 mount: /dev/sdb8 not mounted already, or bad option smfhome2:~ # strace -f remount -o ro -t ext3 /dev/sdb8 strace: remount: command not found smfhome2:~ # which strace /usr/bin/strace smfhome2:~ # which remount which: no remount in (/home/stevef/bin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/lib/qt3/bin) On Fri, May 16, 2008 at 8:49 PM, Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx> wrote: > 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 > -- Thanks, Steve -- 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