tag 377763 confirmed upstream thanks On Mon, Jan 08, 2007 at 07:22:43PM -0700, t takahashi wrote: > On 1/8/07, Justin Pryzby <[EMAIL PROTECTED]> wrote: > >What do you mean, "mount set"? > > just the set of mounts i was using. > > >> it does not seem to respect that variable. > >Did you do eg: TMPDIR=/foo bash, or just export TMPDIR=/foo? > > most likely the former with bash -i. i would have wanted to avoid > bash using the previous value, which i suspect is what you are > referring to. > > i am not currently in a position to test this. I did: TMPDIR=/home/pryzbyj strace -f bash 2>>./bash-strace
clone(Process 4590 attached child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7d72928) = 4590 [pid 4589] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [...] [pid 4590] stat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=12288, ...}) = 0 [pid 4590] stat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=12288, ...}) = 0 [pid 4590] statfs("/tmp", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=960594, f_bfree=48748, f_bavail=0, f_files=488640, f_ffree=354870, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 [pid 4590] time(NULL) = 1168393979 [pid 4590] time(NULL) = 1168393979 [pid 4590] open("/tmp/sh-thd-1168386433", O_WRONLY|O_CREAT|O_TRUNC|O_EXCL|O_LARGEFILE, 0600) = 3 d 4590] dup(3) = 4 [pid 4590] fcntl64(4, F_GETFL) = 0x8001 (flags O_WRONLY|O_LARGEFILE) [pid 4590] brk(0x817d000) = 0x817d000 [pid 4590] fstat64(4, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 [pid 4590] mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ef5000 [pid 4590] _llseek(4, 0, [0], SEEK_CUR) = 0 [pid 4590] write(4, "foo\n", 4) = -1 ENOSPC (No space left on device) [pid 4590] close(4) = 0 [pid 4590] munmap(0xb7ef5000, 4096) = 0 [pid 4590] close(3) = 0 [pid 4590] unlink("/tmp/sh-thd-1168386433") = 0 [pid 4590] write(2, "bash: line 1: cannot create temp"..., 81bash: line 1: cannot create temp file for here document: No space left on device ) = 81 [pid 4590] exit_group(1) = ? zsh works exactly as documented, using TMPPREFIX=/home/pryzbyj/zsh. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]