Go to file
Karel Zak 80c31a0b59 findmnt: error on --target /non-exist
The original --target implementation (< v2.27) has been based on
stat(), so it was usable for valid paths only.

The new implementation is based on search in the mountinfo file, so it
works for arbitrary crazy path. This is not backwardly compatible and
if the path does not exist then it still returns at least root
directory mount entry.

This patch forces mnt_table_find_mountpoint() to check if the path is
valid before we search in the mountinfo file.

Signed-off-by: Karel Zak <kzak@redhat.com>
2016-12-16 13:00:45 +01:00
Documentation docs: update v2.29-ReleaseNotes 2016-11-08 11:34:10 +01:00
bash-completion findmnt: add --tree to allow to enable tree output for --mtab 2016-12-08 14:24:41 +01:00
config build-sys: inform gtk-doc about __ul_attribute__ 2013-03-15 14:58:08 +01:00
disk-utils fdisk: don't be silent when list non-existing device 2016-12-13 12:11:32 +01:00
include agetty: remove obsolete HAVE_UPDWTMP fallback 2016-12-07 12:35:24 +01:00
lib docs: various pages: Format pathnames as italic (.I) 2016-12-09 13:45:09 +01:00
libblkid misc: spelling, always use "cannot" instead of "can not" 2016-11-30 14:56:50 +01:00
libfdisk misc: spelling, always use "cannot" instead of "can not" 2016-11-30 14:56:50 +01:00
libmount findmnt: error on --target /non-exist 2016-12-16 13:00:45 +01:00
libsmartcols misc: fix typos using codespell 2016-12-01 00:01:43 +01:00
libuuid Place SEE ALSO entries in order 2016-11-29 10:44:19 +01:00
login-utils docs: last(1): Eliminate oddball formatting 2016-12-09 13:45:09 +01:00
m4 build-sys: cleanup UL_NCURSES_CHECK 2016-12-13 12:41:18 +01:00
misc-utils docs: namei(1): SEE ALSO: add symlink(7) 2016-12-09 13:45:09 +01:00
po po: merge changes 2016-11-08 11:16:52 +01:00
schedutils docs: ionice(1): SEE ALSO: add ioprio_set(2) 2016-12-09 13:45:09 +01:00
sys-utils nsenter: add --all option 2016-12-13 14:56:48 +01:00
term-utils docs: various pages: Use 'UID" and "GID", not "uid" and "gid" in man pages 2016-12-09 13:45:09 +01:00
tests tests: add missing file 2016-12-13 15:00:51 +01:00
text-utils more: avoid double free() on exit 2016-12-15 14:40:26 +01:00
tools build-sys: use sed to substitute 2016-11-29 14:25:23 +01:00
.editorconfig add .editorconfig 2016-01-25 00:12:14 +01:00
.gitignore chmem: new tool 2016-11-09 10:02:32 +01:00
.travis-functions.sh travis: let OSX auto-skip utmpx tools 2016-12-07 12:35:24 +01:00
.travis.yml travis: add OSX build 2016-03-13 21:51:18 +01:00
AUTHORS docs: update AUTHORS file 2016-10-19 14:30:19 +02:00
COPYING docs: corrections to FSF license files, and postal address 2012-02-24 14:13:35 +01:00
ChangeLog
Makefile.am build-sys: add tools/Makemodule.am 2016-05-25 15:59:15 +02:00
NEWS build-sys: release++ (v2.29) 2016-11-08 11:35:40 +01:00
README docs: update links to http://git.kernel.org/ web repository views 2013-11-12 11:47:57 +01:00
README.licensing COPYING: fix grammar of referring phrase, and indicate location better 2013-10-08 15:38:39 +02:00
autogen.sh build-sys: fix [g]libtoolize version for OSX 2016-02-18 12:53:48 +01:00
configure.ac libmount: revert X-* and x-* meaning 2016-12-09 15:36:14 +01:00
util-linux.doap doap: fix download URL 2016-01-25 15:42:53 +01:00

README

                                  util-linux

              util-linux is a random collection of Linux utilities

     Note that in years 2006-2010 this project used the name "util-linux-ng".

MAILING LIST:

      E-MAIL: util-linux@vger.kernel.org
      URL:    http://vger.kernel.org/vger-lists.html#util-linux


DOWNLOAD:

      ftp://ftp.kernel.org/pub/linux/utils/util-linux/


SOURCE CODE:

      Web interface:
          http://git.kernel.org/cgit/utils/util-linux/util-linux.git
          https://github.com/karelzak/util-linux
      Checkout:
          git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git util-linux


NLS (PO TRANSLATIONS):

      PO files are maintained by:
          http://translationproject.org/domain/util-linux.html


VERSION SCHEMA:

      Standard releases:

          <major>.<minor>[.<maint>[.<bugfix>]]

             major = fatal and deep changes
             minor = typical release with new features
             maint = maintenance releases; bug fixes only
             bugfix = unplanned releases for critical/security bugs

      Development releases:

         <major>.<minor>-rc<N>