Skip to main content
added 163 characters in body
Source Link
slm
  • 379.7k
  • 127
  • 793
  • 897

This will not list all partitions but you can view and alter what you like with tune2fs e.g. tune2fs -l .

$ sudo tune2fs -l /dev/sda1

You can use a command such as this to get all the /dev/sda1sda* devices.

$ sudo sh -c 'echo /dev/sda* /dev/mapper/fedora* | xargs -n 1 tune2fs -l'

This will not list all partitions but you can view and alter what you like with tune2fs e.g. tune2fs -l /dev/sda1

This will not list all partitions but you can view and alter what you like with tune2fs.

$ sudo tune2fs -l /dev/sda1

You can use a command such as this to get all the /dev/sda* devices.

$ sudo sh -c 'echo /dev/sda* /dev/mapper/fedora* | xargs -n 1 tune2fs -l'
Post Migrated Here from stackoverflow.com (revisions)
Source Link
sergio
sergio

This will not list all partitions but you can view and alter what you like with tune2fs e.g. tune2fs -l /dev/sda1