Re: How to determine what partition is still not formatted?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2006-12-30 at 11:59 -0500, Joe Smith wrote:
> Tim wrote:
> > ...
> > Just typing in mount will show you what's mounted.  You can compare that
> > against fdisk -l to find out more about what's missing.
> 
> As long as there are no partitions that have been formatted but not mounted.
> 
> AFAIK the only way to see if a partition is formatted is to try and 
> mount it. Mount can try to determine how the partition is formatted, so 
> if it gives up you can be pretty sure that partition is not formatted, 
> at least for any filesystems the kernel has support for.
> 
> I actually keep a disk/partition inventory, by hand, in a spreadsheet, 
> because I've never found a good admin tool that can print a nice summary 
> of the info I need to know (e.g., the OP's question) when installation 
> time rolls around. It doesn't change often so it's not a huge chore, but 
> if anyone has a better solution, I'd love to hear it.
> 
> <Joe
> 
Or you can use parted to whether there is a filesystem on it.

eg. if you issue parted /dev/sdx and then print, you are able to see all
the partitions on sdx, including flags, filesystems a.s.o.


HTH,


Calin

=================================================
Dinosaurs aren't extinct. They've just learned to hide in the trees.

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux