/[fuse.before_github]/perl-llin/test/statfs.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Log of /perl-llin/test/statfs.t

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 112 - (view) (annotate) - [select for diffs]
Modified Thu Nov 15 09:32:08 2007 UTC (15 years ago) by dpavlin
File length: 712 byte(s)
Diff to previous 27 , to selected 4
patch from Chris Dolan via rt.cpan.org #30631

This patch gets Fuse.pm to half-work on MacOSX with the current release
of MacFuse (v1.1.0).  By half-work, I mean that all of the directory
actions and file read actions work, but anything that involves writing a
file fails.  This appears to be because the latest MacFUSE implements
FUSE 2.6, which prefers to call CREATE instead of MKNOD.  Nonetheless,
recommend that something like this patch be included because it makes
read-only filesystems usable on Darwin systems.  Some of my changes
(like kill() instead of system("kill")) are improvements on any system.
												    I've tested only on my PowerPC G5 iMac running 10.4.

I intend to also try MacFUSE v0.4 via Fink, but that version is                                     
reportedly less stable than the latest MacFUSE.                                                     

Revision 27 - (view) (annotate) - [select for diffs]
Modified Mon Jan 2 22:38:50 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 662 byte(s)
Diff to previous 21 , to selected 4
convert output to diag, zero buffer (I hope)

Revision 21 - (view) (annotate) - [select for diffs]
Modified Mon Jan 2 19:50:33 2006 UTC (16 years, 11 months ago) by dpavlin
File length: 659 byte(s)
Diff to previous 11 , to selected 4
working copy

Revision 11 - (view) (annotate) - [select for diffs]
Modified Sun Mar 20 00:37:31 2005 UTC (17 years, 8 months ago) by dpavlin
Original Path: perl/trunk/test/statfs.t
File length: 659 byte(s)
Diff to previous 4
Richard Dawe <rich(at)phekda(dot)gotadsl(dot)co(dot)uk>

Please find attached a patch that makes statfs.t pass on the x86_64
architecture. With Linux on x86_64 statfs returns 64-bit fields by default, so
the unpack format returns junk.

I also found that I would get a glibc warning about memory corruption. This is
because the statfs structure returned by the kernel includes some padding for
future expansion. So the statfs buffer also needed to be made bigger.


Revision 4 - (view) (annotate) - [selected]
Added Thu Nov 11 14:44:15 2004 UTC (18 years ago) by mszeredi
Original Path: perl/trunk/test/statfs.t
File length: 636 byte(s)
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26