Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
backup upstream repository
C Shell Groff Other

lsblk: don't ignore dependences for partitioned devies

The code only lists partitions, but ignore another dependencies
on whole-disk device:

	$ lsblk /dev/sdb
	NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
	sdb      8:16   0 298.1G  0 disk
	└─sdb1   8:17   0 298.1G  0 part

	$ ls /sys/block/sdb/holders/
	dm-0

fixed version:

	$ lsblk /dev/sdb
	NAME        MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
	sdb           8:16   0 298.1G  0 disk
	├─sdb1        8:17   0 298.1G  0 part
	└─mpatha    253:0    0 298.1G  0 mpath
	  └─mpatha1 253:1    0 298.1G  0 part

Signed-off-by: Karel Zak <kzak@redhat.com>
latest commit 296dc15c24
@karelzak authored
Failed to load latest commit information.
Documentation docs: document --exclude for tests
bash-completion logger: add --skip-empty-lines to prevent logging empty lines
config build-sys: inform gtk-doc about __ul_attribute__
disk-utils cfdisk: cleanup extra partitions info for slang
include silence compiler warning
lib lib/timer: use separate file for timers
libblkid libblkid: fix compiler warnings
libfdisk libfdisk: don't return empty strings from fdisk_partition_to_string()
libmount libmount: add support for MS_LAZYTIME
libsmartcols lib/colors: use libtinfo to check terminal capability
libuuid build-sys: cleanup library symbol files
login-utils last: keep array of files in main()
m4 build-sys: avoid icc warnings "ignoring unknown option"
misc-utils lsblk: don't ignore dependences for partitioned devies
po po: merge changes
schedutils chrt: add note about zero priority for IDLE and BATCH
sys-utils mount: fix lazytime docs
term-utils agetty: reload issue on --autologin --login-pause too
tests tests: verify logger return value
text-utils tailf: deprecated
tools tools: add libfdisk docs to kernel.org release generator
.gitignore zrmactl: add new command to control /dev/zramN devices
.travis-functions.sh travis: add MAKE_CHECK_OPTS
.travis.yml travis: whitelist travis* branches
AUTHORS docs: update AUTHORS file
COPYING docs: corrections to FSF license files, and postal address
ChangeLog build-sys: use AUTOMAKE_OPTIONS = gnu
Makefile.am Revert "build-sys: remove static builds from make-check"
NEWS build-sys: release++ (v2.26)
README docs: update links to http://git.kernel.org/ web repository views
README.licensing COPYING: fix grammar of referring phrase, and indicate location better
autogen.sh build-sys: improve wording and punctuation of several messages
configure.ac build-sys: define cfdisk dependence on open_memstream

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>
Something went wrong with that request. Please try again.