Skip Menu |
 

This queue is for tickets about the File-SharedNFSLock CPAN distribution.

Report information
The Basics
Id: 81683
Status: resolved
Priority: 0/
Queue: File-SharedNFSLock

People
Owner: Nobody in particular
Requestors: florent.angly [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.03
Fixed in: (no value)



Subject: FAT32 workaround
Download (untitled) / with headers
text/plain 512b
I have tested some code on a FAT32 USB stick so see how the module behaved (race condition? crash?). It seems like it hangs... My interpretation is that it tries to lock, but never succeeds. It would be nice to have a workaround for this filesystem, even if it not perfect. Steffen > You mentioned that it would be hard to reliably detect what filesystem one is using, but I have found this module which seems like it might be suitable: http://search.cpan.org/~rehsack/Sys-Filesystem-1.30/lib/Sys/Filesystem.pm
Download (untitled) / with headers
text/plain 266b
Fixed: 1/ Try link() first and catch filesystems unable to link() because they will generate a 'not supported' error message. 2/ On these systems, go into compatibility mode, i.e. use copy() instead of link(). I documented the limitations of this compatibility mode.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.