ext4 and flash drives

Ian Bruntlett ian.bruntlett at gmail.com
Thu Jan 5 18:45:45 UTC 2023


Hi,

I use ext4 on USB flash drives. In order to make the full extent of the
drive available to ordinary users, I have to use this tune2fs command to
set the "reserved blocks count":-
# tune2fs -r 0 /dev/sdetc

Where the device for a particular filesystem can be found with the df
command.

I am wondering - what is the command to find the current setting of the
"reserved blocks count"?

Also: whilst writing this email, I discovered that the reserved blocks
count can be specified as a percentage by using the option -m with tune2fs

I haven't noticed gparted or gnome-disks supporting this kind of thing.
Have I overlooked something?

TIA,


Ian

-- 
-- ACCU - Professionalism in programming - http://www.accu.org
-- My writing - https://sites.google.com/site/ianbruntlett/
-- Free Software page -
https://sites.google.com/site/ianbruntlett/home/free-software
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20230105/c7cef48b/attachment.html>


More information about the ubuntu-users mailing list