Skip Menu |

This queue is for tickets about the Sys-Filesystem CPAN distribution.

Report information
The Basics
Id: 55059
Status: resolved
Priority: 0/
Queue: Sys-Filesystem

People
Owner: Nobody in particular
Requestors: reed [...] reedloden.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.27
Fixed in: (no value)



Subject: Add some more special filesystems to Linux module
Running the example code under "Method 1" from the POD returns the following: / is a ext3 filesystem mounted on /dev/disk/by-uuid/xxxx-xxx-xxx /dev is a tmpfs filesystem mounted on udev /dev/pts is a devpts filesystem mounted on none /dev/shm is a tmpfs filesystem mounted on none /home/reed/.gvfs is a fuse.gvfs-fuse-daemon filesystem mounted on gvfs-fuse-daemon /lib/init/rw is a tmpfs filesystem mounted on none /media/sda1 is a fuseblk filesystem mounted on /dev/sda1 /media/sda2 is a fuseblk filesystem mounted on /dev/sda2 /proc is a proc filesystem mounted on none /proc/fs/nfsd is a nfsd filesystem mounted on nfsd /proc/sys/fs/binfmt_misc is a binfmt_misc filesystem mounted on binfmt_misc /sys is a sysfs filesystem mounted on none /sys/fs/fuse/connections is a fusectl filesystem mounted on none /sys/kernel/debug is a debugfs filesystem mounted on none /sys/kernel/security is a securityfs filesystem mounted on none /var/lock is a tmpfs filesystem mounted on none /var/run is a tmpfs filesystem mounted on none none is a swap filesystem mounted on UUID=xxxx-xxxx-xxx-xxx From that list, should add the following to %special_fs in Sys::Filesystem::Linux: * binfmt_misc * securityfs * debugfs * fusectl * fuse.gvfs-fuse-daemon Also, 'devpts' is specified twice, so should drop one of them. This is Sys::Filesystem 1.27 under perl v5.10.0 on Ubuntu 9.10. Once I figure out where the source code is located, I'll supply a patch.
Subject: Patch
From: reed [...] reedloden.com
[apologies if this gets posted twice; having some issues on my end] On Sun Feb 28 05:31:55 2010, reed wrote: Show quoted text
> Once I figure out where the source code is located, I'll supply a patch.
Couldn't figure out where the source code repository is for this module, so I just made the patch directly against the tarball.
Subject: rt55059-v1.diff
--- lib/Sys/Filesystem/Linux.pm 2010-02-20 06:05:07.000000000 -0600 +++ lib/Sys/Filesystem/Linux.pm~ 2010-02-28 04:38:37.000000000 -0600 @@ -37,25 +37,29 @@ $VERSION = '1.27'; sub version() { return $VERSION; } # Default fstab and mtab layout my @keys = qw(fs_spec fs_file fs_vfstype fs_mntops fs_freq fs_passno); my %special_fs = ( - swap => 1, - proc => 1, - devpts => 1, - tmpfs => 1, - sysfs => 1, - procbususb => 1, - udev => 1, - devpts => 1, - nfsd => 1, + swap => 1, + proc => 1, + devpts => 1, + tmpfs => 1, + sysfs => 1, + securityfs => 1, + debugfs => 1, + procbususb => 1, + udev => 1, + nfsd => 1, + binfmt_misc => 1, + fusectl => 1, + fuse.gvfs-fuse-daemon => 1, ); sub new { ref( my $class = shift ) && croak 'Class name required'; my %args = @_; my $self = bless( {}, $class );
Subject: [rt.cpan.org #55059] Patch
Date: Sun, 28 Feb 2010 04:42:02 -0600
To: bug-Sys-Filesystem [...] rt.cpan.org
From: Reed Loden <reed [...] reedloden.com>
Show quoted text
> Once I figure out where the source code is located, I'll supply a patch.
Couldn't figure out where the source code repository is for this module, so I just made the patch directly against the tarball.

Message body is not shown because sender requested not to inline it.

Source repository is on a private machine (and I have currently no time to change that). Thanks for your patch - I'll apply it for next version. Meanwhile I think, Linux changed the Unix philosophy 'everything is a file' into 'everything is a file system' o.O
Included in 1.28