LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-21-2014, 05:57 PM   #1
woomia
Member
 
Registered: Apr 2011
Location: The Hub of the Universe
Distribution: Slackware on my laptop. Various distros in VMs for testing.
Posts: 33

Rep: Reputation: 4
How to determine filesystem on usb drive?


How do you determine the filesystem on an usb drive? I found one when unpacking and I'm not sure what it is. Using FreeBSD 10.1.
 
Old 12-21-2014, 06:14 PM   #2
Head_on_a_Stick
Senior Member
 
Registered: Dec 2014
Location: London, England
Distribution: Debian stable (and OpenBSD-current)
Posts: 1,187

Rep: Reputation: 285Reputation: 285Reputation: 285
Code:
# parted -l
Will give you that (and some more besides).
 
Old 12-22-2014, 03:17 AM   #3
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
@head_on_a_stick: Not on FreeBSD it won't.

Plug in the device and issue:
Code:
# dmesg|tail
Use the device node you see there e.g:
Code:
# fdisk /dev/da0
Or whatever device node you saw in your dmesg output

This should tell you what type of partition type and file systems are present on that device.

Code:
# gpart list da0
Will give some more verbose information.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to mount usb drive on ro kernel filesystem rymjones222 Linux - Hardware 4 02-13-2013 04:42 PM
How to determine if USB flash drive is write protected richw42 Programming 2 07-02-2012 04:32 PM
how to determine USB drive? sluge Linux - Software 5 05-25-2012 07:55 PM
USB drive filesystem corrupted rock.hopper Linux - General 7 10-19-2011 02:41 PM
[SOLVED] How does one determine a USB hard drive capacity in sectors? Equinn Linux - Software 2 03-25-2011 05:40 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration