Web lists-archives.com

Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.1

On Tue, 29 Jan 2019 20:59:59, Corinna Vinschen wrote:
- New file ioctls's FS_IOC_GETFLAGS and FS_IOC_SETFLAGS.  The actual
  inode flags are Cygwin-specific.  This allows to set or reset
  DOS attributes, file sparseness, FS level encryption and compression,
  as well as directory case sensitivity programatically.

- New tools chattr(1) and lsattr(1) to utilize setting and viewing the
  aforementioned new ioctl's on the command line.

these are very much appreciated. going back to my previous post:


i re-ran with the new tool, however i am getting unexpected result:

$ lsattr /cygdrive/c
-hs--------- /cygdrive/c/$Recycle.Bin
-hs--------- /cygdrive/c/Config.Msi
------------ /cygdrive/c/cygwin64
lsattr: Device or resource busy while trying to open /cygdrive/c/pagefile.sys
------------ /cygdrive/c/PerfLogs
r----------- /cygdrive/c/Program Files
r----------- /cygdrive/c/Program Files (x86)
-h-------n-- /cygdrive/c/ProgramData
-hs------n-- /cygdrive/c/Recovery
-hs--------- /cygdrive/c/System Volume Information
r----------- /cygdrive/c/Users
------------ /cygdrive/c/Windows

compare with cmd.exe:

dir /A C:\
2018-10-08  11:20 AM    <DIR>          $Recycle.Bin
2019-01-10  05:20 PM    <DIR>          Config.Msi
2019-01-29  06:33 PM    <DIR>          cygwin64
2009-07-13  11:08 PM    <JUNCTION>     Documents and Settings [C:\Users]
2018-10-08  07:48 PM    <DIR>          NVIDIA
2018-12-23  09:57 AM    17,138,294,784 pagefile.sys
2009-07-13  09:20 PM    <DIR>          PerfLogs
2019-01-01  02:10 PM    <DIR>          Program Files
2018-12-19  01:19 PM    <DIR>          Program Files (x86)
2018-10-31  06:07 PM    <DIR>          ProgramData
2018-10-08  11:14 AM    <DIR>          Recovery
2019-01-29  03:36 PM    <DIR>          System Volume Information
2018-11-18  01:10 AM    <DIR>          Users
2018-11-09  08:18 AM    <DIR>          Windows

or attrib:

attrib C:\pagefile.sys
A  SH        C:\pagefile.sys

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