Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: REHSACK [...] cpan.org
seen [...] myfairpoint.net
Cc: MITHALDU [...] cpan.org
AdminCc:

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



Subject: Fwd: patch for Sys::Filesystem 1.406
Date: Tue, 10 Mar 2015 09:16:26 +0100
To: bug-Sys-Filesystem [...] rt.cpan.org
From: Jens Rehsack <rehsack [...] cpan.org>
Show quoted text
> Anfang der weitergeleiteten Nachricht: > > Datum: 9. März 2015 21:00:05 MEZ > Von: Christian Carey <seen@myfairpoint.net> > An: Jens Rehsack <rehsack@cpan.org> > Betreff: patch for Sys::Filesystem 1.406 > > Hello Jens, > > attached is a patch for lib/Sys/Filesystem/Cygwin.pm in Sys::Filesystem 1.406, which ensures that the filesystem mounted on “/” will be included in return values from the module’s …filesystems() subroutines when run under Cygwin. Please let me know if you have any questions or concerns about the patch. > > Kind regards, > > Chris. > -- > Christian Carey > seen@myfairpoint.net > --- lib/Sys/Filesystem/Cygwin.pm 2014-05-13 13:45:58.000000000 +0000 > +++ lib/Sys/Filesystem/Cygwin.pm.modified 2015-03-09 19:26:58.000000000 +0000 > @@ -47,7 +47,7 @@ > devpts => 1, > tmpfs => 1, > ); > -my $mount_rx = qr/^\s*(.+?)\s+on\s+(\/.+?)\s+type\s+(\S+)\s+\((\S+)\)\s*$/; > +my $mount_rx = qr/^\s*(.+?)\s+on\s+(\/.*)\s+type\s+(\S+)\s+\((\S+)\)\s*$/; > > sub new > {
-- Jens Rehsack rehsack@gmail.com
Hi Christian, I understand your intention. However, I would appreciate to have some additional information - which filesystem is the "/" on Cygwin? Can you provide more information (eg. a mount output as Nicola did) and maybe another Cygwin user who confirmes (maybe - if required - with configuration)? With my understanding of Cygwin (which is unfortunately ~10 years old), this is not necessary. Cheers, Jens
CC: MITHALDU [...] cpan.org
Subject: Re: [rt.cpan.org #102669] patch for Sys::Filesystem 1.406
Date: Tue, 10 Mar 2015 19:20:41 +0000
To: bug-Sys-Filesystem [...] rt.cpan.org
From: Christian Carey <seen [...] myfairpoint.net>
Hi Jens, Show quoted text
> I would appreciate to have some additional information - which filesystem is > the "/" on Cygwin? Can you provide more information (e.g. a mount output as > Nicola did) and maybe another Cygwin user who confirms (maybe - if required - > with configuration)?
the location of the Cygwin “/” filesystem is the Cygwin installation directory. For example, on the computer where I discovered the current behavior, the output from the “mount” command is D:/Cygwin/bin on /usr/bin type vfat (binary,auto) D:/Cygwin/lib on /usr/lib type vfat (binary,auto) D:/Cygwin on / type vfat (binary,auto) C: on /cygdrive/c type vfat (binary,posix=0,user,noumount,auto) D: on /cygdrive/d type vfat (binary,posix=0,user,noumount,auto) E: on /cygdrive/e type vfat (binary,posix=0,user,noumount,auto) Because I’d installed Cygwin into D:\Cygwin, that’s where its “/” filesystem is. (The default installation directory is C:\Cygwin.) I’m not actively involved in Cygwin development, so I don’t know other Cygwin users. Kind regards, Chris.
Jens, as per your IRC request, confirming everything Christian said as correct.
Merged and pushed to master, release 1.407_001 is on the way (when travis succeeds)