9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Kurt H Maier <khm@sciops.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] cifs fails on nodes named aux
Date: Wed, 28 Aug 2013 15:39:57 +0000	[thread overview]
Message-ID: <20130828153957.Horde.lj-0FusCHhKSS1ucAkCfnw2@ssl.eumx.net> (raw)
In-Reply-To: <1551328.y11O35T7f1@coil>

Quoting dexen deVries <dexen.devries@gmail.com>:

> On Wednesday 28 of August 2013 10:26:01 Erik Quanstrom wrote:
>> the claim that the devices are in the directories and thus the file system
>> is still false.  even if explorer has some unnecessary code.  and plan 9 is
>> not immune from unnecessary weird bits e.g. the export protocol.
>
>
>
> a somewhat official specification confirms that -- by not listing those magic
> files as implied:
> http://msdn.microsoft.com/en-us/windows/hardware/gg463084
>


not sure why FAT32 would be relevant here, since he's using a linux
cifs server from an ext fs.  samba mangles reserved names much as it
mangles long filenames -- check mangle_hash2.c for examples.  when
samba is deciding if a filename needs to be mangled, it checks for
reserved words along with filename length and prohibited characters.
so if samba decides it nees to serve a file named aux, it's going to
ruin it, unless you specifically disable this behavior.  for the
record, windows itself does this nonsense as well, unless you've got
the 'cifs extensions for unix' garbage slathered on.  the curse of bad
design lives on.

I'm not sufficiently intimate with the cifs server he's using, or plan
9's cifs client, to explain why the behavior is different using the
linux client.  There's generally a lot of magic involved with cifs
deciding how best to vomit its guts across the wire, and I've
deliberately avoided learning it where possible.  Were this my system,
I'd just switch to 9p.

khm





  reply	other threads:[~2013-08-28 15:39 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-28 14:26 Erik Quanstrom
2013-08-28 15:10 ` dexen deVries
2013-08-28 15:39   ` Kurt H Maier [this message]
2013-08-28 17:45     ` Ingo Krabbe
2013-08-28 21:54   ` Steffen Daode Nurpmeso
  -- strict thread matches above, loose matches on Subject: below --
2013-08-28  9:13 Ingo Krabbe
2013-08-28  9:39 ` Steffen Daode Nurpmeso
2013-08-28  9:51   ` Ingo Krabbe
2013-08-28 11:26     ` erik quanstrom
2013-08-28 13:30       ` Kurt H Maier
2013-08-28 21:49       ` Steffen Daode Nurpmeso
2013-08-28 15:49     ` Skip Tavakkolian
2013-08-30 20:26 ` Steve Simon
2013-08-30 21:17   ` cinap_lenrek

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=20130828153957.Horde.lj-0FusCHhKSS1ucAkCfnw2@ssl.eumx.net \
    --to=khm@sciops.net \
    --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).