9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: dexen deVries <dexen.devries@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] p9p vs. linux 9fs mount
Date: Thu,  4 Apr 2013 17:37:16 +0200	[thread overview]
Message-ID: <1449005.euM3M5tFsJ@coil> (raw)
In-Reply-To: <d9ee172bcb76f2a4cc10cc89747a6ea6@ladd.quanstro.net>

On Thursday 04 of April 2013 11:19:53 erik quanstrom wrote:
> 
> guess.  try >> instead of >.  > may try to remove the file first.

...

how do i send you cookies? ;-)


 # strace for `>'
open("/mnt/acme/2/ctl", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = -1 
EACCES (Permission denied)

 # strace for `>>'
open("/mnt/acme/2/ctl", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 3

with the difference being `O_TRUNC'.


cheers,
-- 
dexen deVries

[[[↓][→]]]




      reply	other threads:[~2013-04-04 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-04 13:59 dexen deVries
2013-04-04 15:13 ` Alexander Sychev
2013-04-04 15:19   ` erik quanstrom
2013-04-04 15:37     ` dexen deVries [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1449005.euM3M5tFsJ@coil \
    --to=dexen.devries@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).