Re: how do determine last file system on disk?

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





On Sat, Jun 25, 2011 at 6:49 PM, Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx> wrote:
On 06/25/2011 06:46 AM, Rudi Ahlers wrote:
> Hi all,
>
> Does anyone know how to determine which file system a disk was formatted with,
> if fdisk -l doesn't show it?
[snip]
> I need to see what data is on a bunch of disks that I found in storage and would
> prefer to first check if there's anything of use on them before I format them

Running "file -s /dev/{some_partition}" will generally tell you something.

--
Bob Nichols     "NOSPAM" is really part of my email address.
                Do NOT delete it.

_______________________________________________



It did:

[root@HP-DL360 ~]# file -s /dev/sda
/dev/sda: empty


 

--
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux