Hi, On Wed, Mar 23, 2011 at 01:47:34PM +0100, Lars Marowsky-Bree wrote: > On 2011-03-23T11:50:02, Lars Ellenberg <[email protected]> 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)? Thanks, Dejan > If more extensive checks > than a binary "mounted xor not" are needed, this would be noticed by the > deeper monitor levels or the application-level monitor, no? > > > Regards, > Lars > > -- > Architect Storage/HA, OPS Engineering, Novell, Inc. > SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
