Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Replace 'df' with 'di'

Featured Replies

Am looking on how to replace so it makes it thru a reboot a change to the df command that i get in status emails

 

out of my df is:

Filesystem          1K-blocks      Used Available Use% Mounted on

/dev/sda1              3907552    426108  3481444  11% /boot

/dev/md6            1953454928 257778764 1695676164  14% /mnt/disk6

/dev/md7            976732736    32840 976699896  1% /mnt/disk7

/dev/md1            488371640 483765876  4605764 100% /mnt/disk1

/dev/md2            488371640 488371592        48 100% /mnt/disk2

/dev/md3            976732736 976701228    31508 100% /mnt/disk3

/dev/md5            1953454928 1758492276 194962652  91% /mnt/disk5

/dev/hda1            312561648 271175848  41385800  87% /mnt/cache

/dev/md4            1465093832 1343487036 121606796  92% /mnt/disk4

shfs                8302212440 5308629680 2993582760  64% /mnt/user0

shfs                8302212440 5308629816 2993582624  64% /mnt/user

 

and would like this output better

Filesystem        Mount              Size    Used    Avail %Used  fs Type 

/dev/sda1          /boot              3.7G    0.4G    3.3G  11%  vfat   

/dev/hda1          /mnt/cache        298.1G  258.6G    39.5G  87%  reiserfs

/dev/md1          /mnt/disk1        465.7G  461.4G    4.4G  99%  reiserfs

/dev/md2          /mnt/disk2        465.7G  465.7G    0.0G  100%  reiserfs

/dev/md3          /mnt/disk3        931.5G  931.5G    0.0G  100%  reiserfs

/dev/md4          /mnt/disk4          1.4T    1.3T    0.1T  92%  reiserfs

/dev/md5          /mnt/disk5          1.8T    1.6T    0.2T  90%  reiserfs

/dev/md6          /mnt/disk6          1.8T    0.2T    1.6T  13%  reiserfs

/dev/md7          /mnt/disk7        931.5G    0.0G  931.5G    0%  reiserfs

shfs              /mnt/user          7.7T    4.9T    2.8T  64%  fuse.shfs

shfs              /mnt/user0          7.7T    4.9T    2.8T  64%  fuse.shfs

 

any idea on how to perm replace the 'df' command?

 

yes i can use the -h command with it, but it does not expand well when the share name gets long - it wraps...

 

Thanks

Myk

 

Am looking on how to replace so it makes it thru a reboot a change to the df command that i get in status emails

 

out of my df is:

Filesystem          1K-blocks      Used Available Use% Mounted on

/dev/sda1              3907552    426108  3481444  11% /boot

/dev/md6            1953454928 257778764 1695676164  14% /mnt/disk6

/dev/md7            976732736    32840 976699896  1% /mnt/disk7

/dev/md1            488371640 483765876  4605764 100% /mnt/disk1

/dev/md2            488371640 488371592        48 100% /mnt/disk2

/dev/md3            976732736 976701228    31508 100% /mnt/disk3

/dev/md5            1953454928 1758492276 194962652  91% /mnt/disk5

/dev/hda1            312561648 271175848  41385800  87% /mnt/cache

/dev/md4            1465093832 1343487036 121606796  92% /mnt/disk4

shfs                8302212440 5308629680 2993582760  64% /mnt/user0

shfs                8302212440 5308629816 2993582624  64% /mnt/user

 

and would like this output better

Filesystem        Mount              Size    Used    Avail %Used  fs Type 

/dev/sda1          /boot              3.7G    0.4G    3.3G  11%  vfat   

/dev/hda1          /mnt/cache        298.1G  258.6G    39.5G  87%  reiserfs

/dev/md1          /mnt/disk1        465.7G  461.4G    4.4G  99%  reiserfs

/dev/md2          /mnt/disk2        465.7G  465.7G    0.0G  100%  reiserfs

/dev/md3          /mnt/disk3        931.5G  931.5G    0.0G  100%  reiserfs

/dev/md4          /mnt/disk4          1.4T    1.3T    0.1T  92%  reiserfs

/dev/md5          /mnt/disk5          1.8T    1.6T    0.2T  90%  reiserfs

/dev/md6          /mnt/disk6          1.8T    0.2T    1.6T  13%  reiserfs

/dev/md7          /mnt/disk7        931.5G    0.0G  931.5G    0%  reiserfs

shfs              /mnt/user          7.7T    4.9T    2.8T  64%  fuse.shfs

shfs              /mnt/user0          7.7T    4.9T    2.8T  64%  fuse.shfs

 

any idea on how to perm replace the 'df' command?

 

yes i can use the -h command with it, but it does not expand well when the share name gets long - it wraps...

 

Thanks

Myk

So you basically want to format it to make it look prettier?  My suggestion... read up on awk and how it might work.  A started a redo of the mail status script to make it look prettier but have not as of yet finished it.  Been to busy with other things/packages.  So long as I get a status email, I don't really care what it looks like.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.