This is the mail archive of the cygwin 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: Creating a file within Cygwin with setting SYSTEM attribute


On Sat, Aug 28, 2010 at 08:50:46PM -0400, Paul McFerrin wrote:
>I have access to cpio sources that I would like to add support for 
>copying/creating Cygwin's symbolic links.  At present, any files I 
>create would be as regular files.  Any hints as how I would set this 
>attribute so I could create these symbolic links.  Does setting _IFLNK 
>in the mode automatically perform setting SYSTEM attribute?

If Cygwin's cpio didn't create symbolic links then there would be
something seriously wrong with it.  As it turns out, it *does* work as
expected so, if you're not seeing the correct behavior, then you're
probably not running using the Cygwin version of cpio.

cgf

--
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


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