Quantcast
Channel: Method to test if disks in system are formatted - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by Jan for Method to test if disks in system are formatted

Depending on how you access the drives, you could use blkid -o list (deprecated) on them and then parse the output. The command outputs, among other things, a fs_type label column, that shows the...

View Article


Answer by Stephen Harris for Method to test if disks in system are formatted

The logic I would use may appear to be a little convoluted, but I think it should catch the failure mode. Basically the steps are mke2fs mount the filesystem Create a file called "format.complete" in...

View Article


Method to test if disks in system are formatted

Currently working on a project where I'm dealing with an arbitrary group of disks in multiple systems. I've written a suite of software to burn-in these disks. Part of that process was to format the...

View Article
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>