delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/02/06:30:25

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=iFZfJ7xPusdT8fyHjKSNyZpgFf7ZuP/rwXdgJQRMo176TrsfHDI/j
Sy4cR4uVaekwwKKst1W8DVZTWwxhmkK5i9A4r+N9s8qQdgJ9+kYCwfL9FBzTrjO1
+9zBhACGExg6fjGthprx//n21x0/JhkU5+YdfW9BBRRf61Icl11qs4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=iG8LPE2ireEL/EUaq6JAH/SbdLE=; b=KcMVL8jEVrO80DTltQiRir32a9ZM
pxcx4WW3V8ziX21ww2O3Xh/zDtvkd2vLDZ8gc/QppZYDENT4OwCU4bnvEgzOE4jH
HsPHyItV261VP4nPSSniq3MIdff0fsuzTFjNoKeB47Dd7f9o14nqaAeb9y+XfOLd
d9FVwUgcn5Xqx9c=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,RDNS_NONE autolearn=no version=3.3.1
Date: Fri, 2 Aug 2013 12:29:58 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Case sensitive filenames for non-NTFS filesystems
Message-ID: <20130802102958.GD4166@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51FB56D0 DOT 4040609 AT shaddybaddah DOT name> <20130802083105 DOT GC18054 AT calimero DOT vinschen DOT de> <51FB7676 DOT 6090705 AT shaddybaddah DOT name>
MIME-Version: 1.0
In-Reply-To: <51FB7676.6090705@shaddybaddah.name>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Aug  2 19:05, Shaddy Baddah wrote:
> Hi,
> 
> On 02 Aug 2013 18:31+1000, Corinna Vinschen wrote:
> >Correction, not only NTFS.  Here's the source code comment:
> 
> Sorry, yes I forgot that it was coded to let Windows make the decision.
> 
> >>Unfortunately, in providing EXFAT, Microsoft has not seen fit to carry
> >>over the same handling in the kernel as it does in NTFS.
> >
> >ExFAT is based on FAT/FAT32, so it's understandable.  I don't have ExFAT
> >available.  Assuming your ExFAT drive is drive X:, can you please show
> >me the output of
> >
> >   /usr/lib/csih/getVolInfo.exe /cygdrive/x
> >
> >If it returns different values than FAT, it might be worth to handle
> >specificially in Cygwin's mount code.
> 
> This is the output for L: drive, which is not a physical but logical
> volume formatted EXFAT. Hopefully it doesn't alter the
> characteristics/attributes. With a bit of extra effort, I could try with
> a physical device (format a spare USB stick EXFAT through Windows):
> 
> $ /usr/lib/csih/getVolInfo.exe /cygdrive/l
> Device Type        : 7
> Characteristics    : 121
> Volume Name        : <>
> Serial Number      : 1211155165
> Max Filenamelength : 255
> Filesystemname     : <exFAT>
> Flags              : 6
>   FILE_CASE_SENSITIVE_SEARCH  : FALSE
>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : TRUE
>   FILE_PERSISTENT_ACLS        : FALSE
>   FILE_FILE_COMPRESSION       : FALSE
>   FILE_VOLUME_QUOTAS          : FALSE
>   FILE_SUPPORTS_SPARSE_FILES  : FALSE
>   FILE_SUPPORTS_REPARSE_POINTS: FALSE
>   FILE_SUPPORTS_REMOTE_STORAGE: FALSE
>   FILE_VOLUME_IS_COMPRESSED   : FALSE
>   FILE_SUPPORTS_OBJECT_IDS    : FALSE
>   FILE_SUPPORTS_ENCRYPTION    : FALSE
>   FILE_NAMED_STREAMS          : FALSE
>   FILE_READ_ONLY_VOLUME       : FALSE
>   FILE_SEQUENTIAL_WRITE_ONCE  : FALSE
>   FILE_SUPPORTS_TRANSACTIONS  : FALSE
> 
> >Well, from my POV, yes.  It doesn't make sense to use ExFAT for serious
> >work anyway, it's for SD cards and stuff like that.
> 
> I understand that. It's just that after years of being frustrated with
> moving files around various NTFS partitions and fighting with
> ownership/permission issues, especially where Cygwin work
> files/directories are involved, I've decided that I should PoC a brave
> new world.
> 
> That being giving up on security through file/folder ACLs, and just
> mount FAT32 (or the candidate EXFAT) fs via as an encrypted logical
> volume.
> 
> My Cygwin work will be access that way. If I need to move it, I move
> the encrypted file only.
> 
> But I have to admit that the "con" of losing case-preservation is a
> weighty one. [...]

Giving up on security but wanting case sensitivity... so why not use
NTFS with the noacl mount option where necessary?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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