delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/05/13:20:49

X-Spam-Check-By: sourceware.org
Message-ID: <439484E5.7CBCDF96@ae.ge.com>
Date: Mon, 05 Dec 2005 13:20:21 -0500
From: "Wagner, Chris (GEAE, CBTS)" <chris DOT wagner AT ae DOT ge DOT com>
MIME-Version: 1.0
To: Martin Koeppe <mkoeppe AT gmx DOT de>
CC: samba-technical AT lists DOT samba DOT org, linux-cifs-client AT lists DOT samba DOT org,
cygwin AT cygwin DOT com
Subject: Re: [linux-cifs-client] interoperability between samba, linux-cifs,cywgin and sfu
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0511302100160 DOT 4106 AT vmdebian DOT local DOT koeppe-net DOT de>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Martin Koeppe wrote:
> A concrete problem on cygwin is that you can create device files, but
> these device files are shown as symlinks instead of as device files
> cygwin$ mkfifo myfifo && ls -l myfifo
> prw-rw-rw-  1 martin mkpasswd 102 Nov 30 23:09 myfifo
> The fifo is made correctly and shown as such, but has a file size of
> 102 which is <>0, so not, what I would have expected.
> It would be nice if Cygwin could store these files in the same way as
> SFU. And Samba could then convert the SFU method to real device and
> fifo files on the disk. For the cifs client, work has begun to include
> the SFU way:
> http://lists.samba.org/archive/linux-cifs-client/2005-November/001073.html
> The only thing one could discuss is how to store symlinks. Cygwin's
> symlinks can be followed in Windows Explorer, whereas SFU symlinks are
> more consistent, as they are named exactly the same on the
> underlying disk, no .lnk appended.


I would only point out that Cygwin does things this way to maintain
compatability with FAT32 which doesn't support magic file types on the disk. 
So the only way to do it is as normal files with special contents or
attributes.  I do believe however that Cygwin compiled apps (samba etc) will
respect Cygwin's magic files.


-- 
Chris Wagner
CBTS
GE Aircraft Engines
Chris DOT Wagner AT ae DOT ge DOT com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019