[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120907091438.6a15a4f8@nehalam.linuxnetplumber.net>
Date: Fri, 7 Sep 2012 09:14:38 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Pavel Emelyanov <xemul@...allels.com>
Cc: Stephen Hemminger <shemminger@...ux-foundation.org>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: [PATCH 2/2] iproute: Add route showdump command (v2)
On Fri, 27 Jul 2012 08:57:20 +0400
Pavel Emelyanov <xemul@...allels.com> wrote:
> Some time ago the save+restore commands were added to ip route (git
> id f4ff11e3, Add ip route save/restore). These two save the raw rtnl
> stream into a file and restore one (reading it from stdin).
>
> The problem is that there's no way to get the contents of the dump
> file in a human readable form. The proposal is to add a command that
> reads the rtnl stream from stdin and prints the data in a way the
> usual "ip route list" does?
>
> changes since v1:
>
> * Take the magic at the beginning of the dump file into account
> * Check for stdin (the dump is taken from) is not a tty
>
> Signed-off-by: Pavel Emelyanov <xemul@...allels.com>
Applied this and the magic number change.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists