Mailinglist Archive: opensuse (1355 mails)

< Previous Next >
Re: [opensuse] zypper dup very busy defragging btrfs, when there is nobtrfs partition...
* Anton Aylward <opensuse@xxxxxxxxxxxxxxxx> [06-07-18 22:54]:
On 07/06/18 02:33 PM, Carlos E. R. wrote:


Eleanor-423:~ # rpm --eval %_dbpath
/var/lib/rpm
Eleanor-423:~ # stat -f --format=%T /var/lib/rpm
ext2/ext3

HMM.
I run those commands and get the exact same output.
But there is a problem.
The FS my /var is on is actually Ext4
It seems that 'stat' doesn't know about ext4 or cannot differentiate.

It looks like you need to determine what device /var/lib/rpm is on then use
something like 'lsblk'

I do have btrfs and get:
stat -f --format=%T /var/lib/rpm
btrfs

--
(paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri
http://en.opensuse.org openSUSE Community Member facebook/ptilopteri
Registered Linux User #207535 @ http://linuxcounter.net
Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet freenode

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >