Is there any command or any way to know what file system is there on a medium like hard disk or CD/DVD or flash drive etc. From GUI gparted one can know the type on hard disks/pen drive but not of CD/DVD.
I ran the below command to mount my DVD.
ravbholua@ravbholua-Aspire-5315:~/Documents/Other$ sudo mount -t iso9660 /dev/cdrom ~/Downloads
mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
ravbholua@ravbholua-Aspire-5315:~/Documents/Other$
From the error thrown by mount
, I feel that the file system that I had given in the command i.e. 'iso9660' may not be right. From this it strikes my mind to 1st know the f.s. present on the DVD. I'm working on Ubuntu 13.04.
-t
flag and let the Linux kernel guess the fs type for you? – strugee Dec 29 '13 at 12:15