Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in coreutils df - does not show some mounts including root #336

Closed
jblachly opened this issue Mar 26, 2016 · 3 comments
Closed
Assignees

Comments

@jblachly
Copy link

Pkgsrc 2015Q4

GNU coreutils df does not show many mounts, including the root filesystem, which is inconvenient.

[james@cloudbackup ~]$ /opt/local/bin/df --version
df (GNU coreutils) 8.23
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbj"orn Granlund, David MacKenzie, and Paul Eggert.
[james@cloudbackup ~]$ /opt/local/bin/df -h
Filesystem                      Size  Used Avail Use% Mounted on
/usr/local                       11G  1.2G  9.4G  12% /usr/local
/sbin                           263M  241M   22M  92% /sbin
/lib/svc/manifest                80G  530K   80G   1% /lib/svc/manifest
/tank                           2.7T  104K  2.7T   1% /tank
/usr/lib/libc/libc_hwcap1.so.1  433M  376M   57M  87% /lib/libc.so.1
/checkpoints/20160312            11G  1.2G  9.4G  12% /checkpoints/20160312
swap                            512M   34M  479M   7% /etc/svc/volatile
swap                            512M   34M  479M   7% /tmp
swap                            512M   34M  479M   7% /var/run
[james@cloudbackup ~]$ /bin/df --version
df: unknown option: -
Usage: df [-F FSType] [-abeghklmntPVvZ] [-o FSType-specific_options] [directory | block_device | resource]
[james@cloudbackup ~]$ /bin/df -h
Filesystem             Size   Used  Available Capacity  Mounted on
zones/89201eba-8788-45c3-d961-cdd5dc8cc746
                        10G   1.2G       9.3G    12%    /
/dev                     0K     0K         0K     0%    /dev
/lib                   262M   241M        21M    92%    /lib
/lib/svc/manifest       79G   529K        79G     1%    /lib/svc/manifest
/lib/svc/manifest/site
                        10G   1.2G       9.3G    12%    /lib/svc/manifest/site
/sbin                  262M   241M        21M    92%    /sbin
/tank                  2.7T   104K       2.7T     1%    /tank
/usr                   432M   376M        56M    87%    /usr
/usr/ccs                10G   1.2G       9.3G    12%    /usr/ccs
/usr/local              10G   1.2G       9.3G    12%    /usr/local
/checkpoints/20160312
                        10G   1.2G       9.3G    12%    /checkpoints/20160312
proc                     0K     0K         0K     0%    /proc
ctfs                     0K     0K         0K     0%    /system/contract
mnttab                   0K     0K         0K     0%    /etc/mnttab
objfs                    0K     0K         0K     0%    /system/object
lxproc                   0K     0K         0K     0%    /system/lxproc
swap                   512M    32M       480M     7%    /etc/svc/volatile
/usr/lib/libc/libc_hwcap1.so.1
                       432M   376M        56M    87%    /lib/libc.so.1
fd                       0K     0K         0K     0%    /dev/fd
swap                   512M    32M       480M     7%    /tmp
swap                   512M    32M       480M     7%    /var/run
[james@cloudbackup ~]$
@mamash mamash self-assigned this Jun 20, 2016
@mamash
Copy link

mamash commented Jun 20, 2016

Hm, explicitly asking for df / works though, and df -a works but doesn't get the stats right.

@mamash
Copy link

mamash commented Oct 3, 2016

This seems to have been fixed meanwhile. At least df 8.25 in the just released 2016Q3 branch works fine:

# /opt/local/bin/df --version
df (GNU coreutils) 8.25
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Torbj"orn Granlund, David MacKenzie, and Paul Eggert.

# /opt/local/bin/df -h
Filesystem                                               Size  Used Avail Use% Mounted on
zones/6b533ca3-c7bb-4252-f833-994f489e2add               601G  117G  484G  20% /
/lib                                                     263M  229M   34M  88% /lib
/lib/svc/manifest                                        2.8T  597K  2.8T   1% /lib/svc/manifest
/usr                                                     433M  358M   76M  83% /usr
swap                                                      32G  1.5G   31G   5% /tmp

I'll verify by backporting to the 2015Q4 LTS branch.

@mamash
Copy link

mamash commented Oct 3, 2016

Ah, @jperkin already backported the update and df works fine in 2015Q4 now. Closing.

@mamash mamash closed this as completed Oct 3, 2016
jperkin pushed a commit that referenced this issue Oct 18, 2016
** 3.7.0** (July 21, 2016)

* Deprecated interfaces now emit deprecation warnings #345

**3.6.3** (July 1, 2016)

* Faster asset lookup in large directories #336
* Faster PathUtils.match_path_extname rails/sprockets@697269c
* Fixed uglifier comment stripping #326
* Error messages now show load path info #313

**3.6.2** (June 21, 2016)

* More performance improvements.

**3.6.1** (June 17, 2016)

* Some performance improvements.

**3.6.0** (April 6, 2016)

* Add `Manifest#find_sources` to return the source of the compiled assets.
* Fix the list of compressable mime types.
* Improve performance of the `FileStore` cache.
jperkin pushed a commit that referenced this issue Oct 22, 2016
kramdown 1.12.0 released		Published on Monday, 15 August 2016

This release features two enhancements for definition lists:

1. IALs can now be applied to definition terms:

	{:.classy} term
	: and its definition

2. IDs for definition terms can now be created automatically (similar to
   header IDs) and optionally assigned a prefix:

	{:auto_ids}
	term1
	: definition

	term2
	: definition

	^

	{:auto_ids-prefix}
	term1
	: definition

	term2
	: definition

   Furthermore, compatibility of the GFM parser has been improved in regards
   to list/blockquotes/codeblocks that are used directly after a paragraph
   (i.e. without a blank line).

Changes

* 4 minor change:

  - Allow using an IAL for definition terms (<dt>) as is already possible with
    definitions themselves (<dd>)
  - Added automatic generation of IDs (with optional prefix) for terms of
    definition lists (fixes #355, requested by Greg Wilson)
  - Removed obfuscation for e-mail links (fixes #343, requested by Anton
    Tsyganenko)
  - New option ¡Ægfm_quirks¡Ç for enabling/disabling parsing differences of
    the GFM parser with respect to the kramdown parser

* 4 bug fixes:

  - Added support for HTML5 element <main> (fixes #334, reported by
    Jean-Michel Lacroix)
  - Fixed math element output for HTML converter when no math engine is set
    (fixes #342, reported by Adrian Sampson)
  - Fixed problem when using custom HTML formatter for syntax highlighter
    rouge (fixes #356, patch by Alexey Vasiliev)
  - Better compatibility with GFM when lists/blockquotes/codeblocks are used
    directly after a paragraph (fixes #336 (reported by Shuanglei Tao), #359
    (reported by Matti Schneider) via the patch #358 by Shuanglei Tao)

* 3 other fixes and enhancements:

  - Added some more examples for how list indentation works (fixes #353,
    requested by Robbert Brak)
  - Using RbConfig instead of deprecated Config for determining data directory
    (fixes #345, patch by C�«±dric Boutillier)
  - JRuby is now also tested via TravisCI (fixes #363, patch by Shuanglei Tao)

kramdown 1.11.1 released		Published on Sunday, 01 May 2016

This release fixes an emphasis parsing regression introduced in the last
version.

Changes

* 1 bug fix:

  - Fixed emphasis parsing regression (fixes #333, reported by Marcus
    Stollsteimer)

kramdown 1.11.0 released		Published on Sunday, 01 May 2016

This release fixes some bugs and includes one minor change in regards to HTML
syntax highlighting.

Changes

* 1 minor change:

  - The syntax highlighting language is now always included in the output as
    class name even if a syntax highlighter is used (fixes #328, requested by
    SLaks)

* 3 bug fixes:

  - Fixed the GFM fenced code block parser to correctly split a provided
    highlighter name into language name and options parts
  - Fixed problem with underscores being processed even if inside a word
    (fixes #323, reported by Haruki Kirigaya)
  - Fixed HTML/XML parser to correctly, case sensitively parse XML (fixes
    #310, reported by cabo)

* 2 other fixes:

  - Updated copyright year (fixes #331, reported by Oscar Bj�«Órkman)
  - Updated supported Ruby version on installation page (reported by cabo)
jperkin pushed a commit that referenced this issue Mar 20, 2017
Changes in 2.8.3			2016/12/8

Bug

* Avoid frozen string errors on Ruby 2.3 - fixed by RJ Walsh #336
* SSL timeouts not working on JRuby - fixed by Dave Golombek #341
* Do not reset SSL connection if unnecessary - fixed by Dave Golombek #344
* Ignore text around PEM file in JRuby fixed by Scott Kolb #352

Changes

* Add HTTPClient#tcp_keepalive= for enabling TCP keepalive. false by default. #350
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants