Go to file
Karel Zak 78e7f78896 Revert "sfdisk: exit with error if rereading partition table fails"
This reverts commit 14f644f386.

It seems we have mess in reread-after-write:

all old versions to v2.20  -- returns 0
from v2.20 to v2.26        -- returns 1
since v2.26                -- returns 0

I think re-read errors should not be interpreted as fatal errors,
because it's pretty common that you want to modify only one partition
(e.g. resize) and then another partitions are probably still in use
and re-read all PT does not make sense.

What we need is to improve granularity for re-read and calls it only
when really necessary (all PT modified) and otherwise call BLKPG
(add/delete/resize) ioctls.

Reported-by: Nikhil Valluru <vvnikhil@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2016-07-20 11:24:36 +02:00
Documentation docs: optinal option arguments should be long-only 2016-04-16 23:08:18 +01:00
bash-completion bash-completion: update chrt completion 2016-04-04 10:26:03 +02:00
config build-sys: inform gtk-doc about __ul_attribute__ 2013-03-15 14:58:08 +01:00
disk-utils Revert "sfdisk: exit with error if rereading partition table fails" 2016-07-20 11:24:36 +02:00
include lib: try to find tty in get_terminal_name() 2016-07-03 23:35:10 +01:00
lib tests: fix ttyutils test 2016-07-15 10:11:35 +02:00
libblkid libblkid: avoid non-empty recursion in EBR 2016-07-12 13:34:54 +02:00
libfdisk libfdisk: cleanup fdisk_gpt_set_npartitions() 2016-06-21 14:21:30 +02:00
libmount libmount: don't check nonnull attributes for NULL [-Wnonnull-compare] 2016-06-14 13:55:27 +02:00
libsmartcols misc: cleanup non-widechar compilation 2016-06-03 14:46:17 +02:00
libuuid build-sys: use AC_PROG_MKDIR_P and remove a few gnuisms 2016-03-13 21:48:09 +01:00
login-utils Merge branch 'write-improvements' of git://github.com/kerolasa/lelux-utiliteetit 2016-07-14 13:07:25 +02:00
m4 build-sys: add UL_REQUIRES_COMPILE macro 2016-06-03 13:37:15 +02:00
misc-utils logger: remove trailing spaces when outputing to journal 2016-07-19 11:02:48 +02:00
po po: merge changes 2016-04-12 12:29:25 +02:00
schedutils chrt: add fallback to be usable on kernels without sched_{get,set}attr 2016-07-11 15:33:46 +02:00
sys-utils blkdiscard: Improve man page 2016-07-14 12:20:07 +02:00
term-utils write: don't use strftime() 2016-07-14 13:20:58 +02:00
tests logger: remove trailing spaces when outputing to journal 2016-07-19 11:02:48 +02:00
text-utils tailf: Fix previously adjusted segfault patch 2016-07-19 11:01:18 +02:00
tools build-sys: add tools/Makemodule.am 2016-05-25 15:59:15 +02:00
.editorconfig add .editorconfig 2016-01-25 00:12:14 +01:00
.gitignore build-sys: ignore vim .swp files 2016-03-22 14:12:25 +01:00
.travis-functions.sh tests: don't depend on GNU md5sum 2016-04-13 12:29:16 +02:00
.travis.yml travis: add OSX build 2016-03-13 21:51:18 +01:00
AUTHORS docs: update AUTHORS file 2016-04-12 12:30:40 +02:00
COPYING docs: corrections to FSF license files, and postal address 2012-02-24 14:13:35 +01:00
ChangeLog build-sys: use AUTOMAKE_OPTIONS = gnu 2011-05-26 15:04:01 +02:00
Makefile.am build-sys: add tools/Makemodule.am 2016-05-25 15:59:15 +02:00
NEWS build-sys: release++ (v2.28) 2016-04-12 12:33:03 +02: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 build-sys: remove global dependence between widechar and ncursesw 2016-06-09 12:39:44 +02: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>