Find the answer to your Linux question:
Results 1 to 4 of 4
Hello all. I'm making my best attempt to learn everything the right way, and for sake of knowing how to do it I'm mounting my own things manually. I've got ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    28

    [SOLVED] Don't know filesystem type of an unmounted volume


    Hello all. I'm making my best attempt to learn everything the right way, and for sake of knowing how to do it I'm mounting my own things manually. I've got things like my USB sticks working, I didn't have to specify a filesystem type but the type is unknown for my USB hard drive. I mounted it automatically with my file manager and found out the type, but I'd like to know. Is there a command that lets you detect the filesystem of a volume that isn't already mounted? It seems like it would be good to know. Thank you kindly.

    -Kit

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,429
    There are multiple ways...
    first using mount /dev/urusb /mnt will almost always work. as its more automated.
    But let say you need to know the fs.. I'd use cfdisk /dev/urusb
    New Users, please read this..
    Google first, then ask..

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,757

    Exclamation

    Is there a command that lets you detect the filesystem of a volume that isn't already mounted?
    If its a harddisk partition you could use fdisk command
    try
    Code:
    fdisk -l
    note that you need have root permission to execute fdisk.

    *Edit*
    use
    fdisk -l /dev/your_device_name for example fdisk -l /dev/sda
    Last edited by Lakshmipathi; 11-19-2009 at 05:53 AM.
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  4. #4
    Just Joined!
    Join Date
    Oct 2009
    Posts
    28
    Thank you much! It's greatly appreciated, and works just fine.

    -Kit

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •