df command giving erors

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

df command giving erors

Postby nigelc » Apr 7th, '21, 05:52

When I run the df command I get this error.
This is using df:

Code: Select all
nigel@localhost Desktop]$ df
df: /run/user/1000/doc: Operation not permitted
Filesystem Size Used Avail Use% Mounted on
devtmpfs 12G 0 12G 0% /dev
tmpfs 12G 63M 12G 1% /dev/shm
tmpfs 12G 1.2M 12G 1% /run
/dev/sda1 110G 11G 94G 10% /
tmpfs 12G 1.7M 12G 1% /tmp
/dev/sdb1 1.8T 34G 1.8T 2% /home
tmpfs 2.4G 104K 2.4G 1% /run/user/1000


this using the mate desktop

xx
nigelc
 
Posts: 225
Joined: Aug 28th, '11, 09:35

Re: df command giving erors

Postby doktor5000 » Apr 7th, '21, 19:09

That is an issue with flatpak: https://github.com/flatpak/xdg-desktop- ... issues/512
There's no fix, you can only ignore it until it's fixed or hidden upstream.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16463
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: df command giving erors

Postby morgano » Apr 7th, '21, 22:26

bug branched to new one
https://github.com/flatpak/xdg-desktop- ... issues/553
Says it is a problem in df by coreutils
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T43 & T400, Dell M4400, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 745
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: df command giving erors

Postby nigelc » Apr 8th, '21, 06:36

Thanks for the info.
nigel
nigelc
 
Posts: 225
Joined: Aug 28th, '11, 09:35

Re: df command giving erors

Postby doktor5000 » Apr 8th, '21, 18:14

You can also create an alias in your ~/.bashrc to simply exclude that filesystem type, e.g.

Code: Select all
alias df='df -h -x supermount -x tmpfs -x devtmpfs -x fuse.portal'

This would only show you actual filesystems.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 16463
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: df command giving erors

Postby morgano » Apr 9th, '21, 09:33

duf is more nice looking for manual use, and does not show that issue

https://itsfoss.com/duf-disk-usage/
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T43 & T400, Dell M4400, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 745
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest