docs: update TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: allow to disable swap between source and target

In some cases (for example if only one mount argument is given) may be
mount request ambivalent:

	# mount /foo

and fstab:

	/dev/sda5	/foo	rw	0	0
	/foo		/bar	bind	0	0

The libmount allows to swap between source and target (if
source is not LABEL or UUID) by default. The new function

	mnt_context_disable_swapmatch()

allows to disable this feature.

Signed-off-by: Karel Zak <kzak@redhat.com>
mount: (new) add --source and --target

In some cases (for example if only one mount argument is given) may be
mount request ambivalent:

	# mount /foo

and fstab:

	/dev/sda5	/foo	rw	0	0
	/foo		/bar	bind	0	0

the new options allows to be more explicit

        # mount --target /foo		(mounts /dev/sda5)

	# mount --source /foo		(binds /foo to /bar)

It's possible to use the options together

	# mount --source /dev/sda2 --target /home

Signed-off-by: Karel Zak <kzak@redhat.com>
docs: update TODO

Signed-off-by: Karel Zak <kzak@redhat.com>
libmount: check VFS mount options in mnt_diff_tables()

after "-o remount,ro" in unshared namespace is the original VFS entry
still read-write:

original:
42 21 8:2 / /boot rw,relatime - ext4 /dev/sda2 ro,user_xattr,acl,barrier=1,data=ordered

unshared + ro remount:
78 51 8:2 / /boot ro,relatime - ext4 /dev/sda2 ro,user_xattr,acl,barrier=1,data=ordered

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: move filename to control struct

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: cleanup, move more stuff to control struct

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: unify internal APIs

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: refactoring for kmsg support

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: add --syslog to force to old syslog(2) interface

... just for debugging or for people who somehow depends on syslog(2)
behavior.

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: read /dev/kmsg (since kernel 3.5.0)

kmsg advantages:
  - extendible format
  - tags for messages
  - one read() returns one complete record

See kernel Documentation/ABI/testing/dev-kmsg.

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: support --clear for kmsg

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: add --follow feature

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: cleanup exclusive_option() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: implement backwardly compatible --raw for /dev/kmsg

.. and if you really want raw data from /dev/kmsg then use dd(1) ;-)

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg; cleanup time printing stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: add --reltime to print human readable deltas

[Jul20 09:50] device vnet0 entered promiscuous mode
[  +0.002248] virbr0: topology change detected, propagating
[  +0.000017] virbr0: port 2(vnet0) entered forwarding state
[  +0.000036] virbr0: port 2(vnet0) entered forwarding state
[  +0.001663] ADDRCONF(NETDEV_CHANGE): virbr0: link becomes ready
[ +10.480914] vnet0: no IPv6 routers present
[Jul20 14:35] xhci_hcd 0000:0e:00.0: WARN Event TRB for slot 3 ep 5 with no TDs queued?
[Jul20 19:23] EXT4-fs (sda2): re-mounted. Opts: (null)
[  +6.052980] EXT4-fs (sda2): re-mounted. Opts: (null)

Suggested by Linus:
http://thread.gmane.org/gmane.linux.kernel/1290886/focus=1296138

Signed-off-by: Karel Zak <kzak@redhat.com>
dmesg: fix usage()

Signed-off-by: Karel Zak <kzak@redhat.com>