Skip Menu |

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

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

People
Owner: REHSACK [...] cpan.org
Requestors: CRAKRJACK [...] cpan.org
Cc:
AdminCc:

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



Subject: Prefer /proc/self/mounts when running in Linux
Hi, /proc/self/mounts is an mtab format magic file in Linux that contains what the kernel actually has mounted, as opposed to /etc/mtab, which is an actual file that is updated when the mount/unmount commands are used. One gotcha with /proc/mounts is that on recent kernels/initrd's, the root filesystem's device may be a symbolic link, "/dev/root", which points to the actual root device. /proc/self/mounts is more likely to be accurate in all cases, and is the _only_ accurate version for people taking advantage of per-process mount namespaces.
Wow! Great! Thanks for this information. I wish, every OS users would be so corresponding (see failing OS in smoke tests :(). I'd like to modify it in next release (hopefully this year). Can I ask you for testing before I upload it to CPAN? /Jens
I've updated Sys::Filesystem::Linux according to your propasal and committed to svn repo. Will be included in next release.
Subject: Re: [rt.cpan.org #51151] Prefer /proc/self/mounts when running in Linux
Date: Sat, 5 Dec 2009 11:17:03 -0800
To: Jens Rehsack via RT <bug-Sys-Filesystem [...] rt.cpan.org>
From: Tyler MacDonald <tyler [...] macdonald.name>
Awesome! :-D Thanks. Jens Rehsack via RT <bug-Sys-Filesystem@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=51151 > > > I've updated Sys::Filesystem::Linux according to your propasal and > committed to svn repo. > > Will be included in next release.
--
Resolved in 1.26