[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ha-dev
Subject:    Re: [Linux-ha-dev] Patch : ocf/resource.d/heartbeat/Filesystem:	Use
From:       Dejan Muhamedagic <dejanmm () fastmail ! fm>
Date:       2011-04-05 11:48:39
Message-ID: 20110405114839.GH17807 () rondo ! homenet
[Download RAW message or body]

Hi Tim,

On Tue, Apr 05, 2011 at 03:40:52AM -0600, Tim Serong wrote:
> On 4/4/2011 at 09:32 PM, Dejan Muhamedagic <dejanmm@fastmail.fm> wrote: 
> > Hi, 
> >  
> > On Wed, Mar 23, 2011 at 01:47:34PM +0100, Lars Marowsky-Bree wrote: 
> > > On 2011-03-23T11:50:02, Lars Ellenberg <lars.ellenberg@linbit.com> wrote: 
> > >  
> > > > >  # Take advantage of /etc/mtab if present, use portable mount command 
> > > > >  # otherwise. Normalize format to "dev mountpoint fstype". 
> > >  
> > > I wonder if we shouldn't just always rely on "mount" and insist on that 
> > > providing proper data. 
> > >  
> > > Re-implementing mount seems like a bad idea. 
> >  
> > It does to me too. Do you know why isn't it used? And is 
> > there any difference between /proc/mounts and the mount output 
> > (apart from the format)? 
> 
> mount reads /etc/mtab, then falls back to /proc/mounts if the former
> doesn't exist.
> 
> I'm not sure if it does anything beyond that (I have some very faint
> recollection of seeing "mount" block if there was a hung NFS mount
> or something lying around - OTOH, my very faint recollection might
> have been of "df", which is obviously completely different, so maybe
> I should just shut up now).

:) I think that it was df(1) or ls(1) or similar wanting to
really get something from the filesystem. Can't recall seeing
mount block. But it makes me wonder why do we simulate mount(1).

Cheers,

Dejan

> Regards,
> 
> Tim
> 
> 
> -- 
> Tim Serong <tserong@novell.com>
> Senior Clustering Engineer, OPS Engineering, Novell Inc.
> 
> 
> 
> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic