Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 11 Nov 2005 20:53:59 +0100 From: Corinna Vinschen To: Cygwin List Subject: Re: Hard links on a UDF file system Message-ID: <20051111195359.GB19825@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin List References: <4374DAB8 DOT 4040503 AT ieee DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4374DAB8.4040503@ieee.org> User-Agent: Mutt/1.4.2i On Nov 11 17:54, Jason Pearce wrote: > I have a removable disc (IOMEGA REV), and I want to use cygwin to take > backups using cp -l and rsync as per > http://www.mikerubel.org/computers/rsync_snapshots/ > This requires hard links to work, which they do on the NTFS partitions, > but the IOMEGA has a UDF file system and they don't seem to work there > (revealed by ls -i). > I believe UDF supports hard links > (http://www.k-par.com/pdfs/resources/whitepaper/DVDWhitePaper.pdf), so > maybe its just Cygwin that does not allow them? > Can anyone help? > > > Some additional background: > My first thought was to reformat the IOMEGA to NTFS but I found I could > not. IOMEGA's web site says the following: > * > >*Why does the Iomega REV drive use the UDF file system for PCs?* > >The UDF file system is the file system of choice as it overcomes many > >of the limitations of other popular file systems. The FAT32 file > >system has a 30GB format limit and a 4GB file size limitation. The > >NTFS file system does not support removable media. UDF also allows > >Iomega REV disks to use advanced ECC error correction on its media. > *I am not sure if that claim is true, but I have not been able to find a > way to format the disc to NTFS. Very likely Cygwin is not the culprit, but the UDF device driver, or even Windows itself which might or might not support hardlinks on anything other than NTFS. Cygwin duly calls CreateHardlink (or the appropriate pre-W2K functionality), but apparently the function returns with an errno. stracing the ln(1) application might give some insight. As for claiming that NTFS doesn't support removable media... I'm using NTFS successfully on floppies and memory sticks. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat, Inc. -- 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/