[CentOS] how do determine last file system on disk?

Rudi Ahlers

Rudi at SoftDux.com
Sat Jun 25 11:46:01 UTC 2011


Hi all,

Does anyone know how to determine which file system a disk was formatted
with, if fdisk -l doesn't show it?



usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
  Vendor:           Model:                   Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 02
sd 7:0:0:0: Attached scsi disk sda
sd 7:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
usb 1-4: USB disconnect, address 5
usb 1-4: new high speed USB device using ehci_hcd and address 6
usb 1-4: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
  Vendor:           Model:                   Rev:
  Type:   Direct-Access                      ANSI SCSI revision: 02
sd 8:0:0:0: Attached scsi disk sda
sd 8:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
[root at HP-DL360 ~]# fdisk -l /dev/sda
[root at HP-DL360 ~]#




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

-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20110625/653d9fbb/attachment.html>


More information about the CentOS mailing list