This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch to allow touch to work on HPFS (and others, maybe??)


On Feb 10 15:10, Eric Blake wrote:
> Corinna Vinschen <vinschen <at> redhat.com> writes:
> > 
> > Hey, why do you give up so quickly?  If it's not the one way, it might
> > be another one.  For us unknowing folks which have no OS/2 box with
> > HPFS to mount, would you mind to run the below application on your NT
> > box and paste the output into the reply?  I'm curious to see the result.
> 
> If it helps, here's my quick results on a ClearCase drive m:, and a Windows 
> view to a Solaris filesystem on drive u: (I think it is using NFS).
> 
> $ scan m:
> rootdir: m:\
> Volume Name        : <CCase>
> Serial Number      : 36984713
> Max Filenamelength : 255
> Filesystemname     : <MVFS>
> Flags:
>   FILE_CASE_SENSITIVE_SEARCH  : TRUE
>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : FALSE
>   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
> $ scan u:
> rootdir: u:\
> Volume Name        : <eblake>
> Serial Number      : 316278793
> Max Filenamelength : 255
> Filesystemname     : <NTFS>
> Flags:
>   FILE_CASE_SENSITIVE_SEARCH  : TRUE
>   FILE_CASE_PRESERVED_NAMES   : TRUE
>   FILE_UNICODE_ON_DISK        : FALSE
>   FILE_PERSISTENT_ACLS        : TRUE
>   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

Huh?  It reports "NTFS" as filesystem?  Now, *that's* weird.  Especially
since none of the usual NTFS attributes are set.

Anyway, can you please test on both drives how they behave if utime
uses FILE_WRITE_ATTRIBUTES vs. GENERIC_WRITE?

The expected result would be that the clearcase volume chokes with
FILE_WRITE_ATTRIBUTES while the Solaris FS should work with it.
Otherwise we're sort of doomed.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]