LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-11-2010, 10:13 AM   #1
cola
Senior Member
 
Registered: Sep 2007
Location: Dhaka,Bangladesh
Distribution: Debian
Posts: 1,031

Rep: Reputation: 63
What's the command to mount bsd partition?


If it's a freebsd partition,what's the command to mount bsd partition?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-11-2010, 03:30 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (Chicago area)
Distribution: Red Hat (8.0, RHEL5,6), CentOS, SuSE (10.x, 11.x, 12.2, 13.2), Solaris (8-10), Tru64, MacOS, Raspian
Posts: 1,108

Rep: Reputation: 64
Quote:
Originally Posted by cola View Post
If it's a freebsd partition,what's the command to mount bsd partition?
Well, I'm not a BSD user (not since we ran it on an old VAX) but I would try using the switch "-t ufs" as in:
Code:
mount -t ufs /dev/somedevice /mount/point
Hope that helps...

--
Rick
 
Old 02-11-2010, 03:48 PM   #3
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Rep: Reputation: 23
I have FreeBSD 8.0 installed on my laptop and a PC at home.
I'm currently at work without my laptop. So I can't give EXACT syntax I used for mounting the BSD partitions when booting with Linux.
BUT
I do remember that specifying the filesystem as "ufs" didn't work.
I seem to recall the filesystem type had a "2" in it's name.
As in:
Code:
mount -t u2fs /dev/somedevice /mount/point
--ET
 
Old 02-11-2010, 03:54 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
May be check : lsmod | grep ufs
( No module loaded by default.)

# modprobe ufs

.. And a command like shown by @ rnturn / slacker_et

.....
 
Old 02-11-2010, 08:58 PM   #5
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 113

Rep: Reputation: 23
Now that I'm at home and near my laptop. This is the command I used to mount my FreeBSD 8.0 partitions:
Code:
mount -r -t ufs -o ufstype=ufs2 /dev/hda10 /mnt/hd
Plus I also see this:
Code:
root@laptop:~# lsmod |grep -i ufs
ufs                    78788  0 
root@laptop:~# grep -i ufs /proc/filesystems
	ufs
root@laptop:~# grep -i ufs /etc/rc.d/*
/etc/rc.d/rc.modules:#/sbin/modprobe ufs
/etc/rc.d/rc.modules-2.6.29.6:#/sbin/modprobe ufs
/etc/rc.d/rc.modules-2.6.29.6-smp:#/sbin/modprobe ufs
root@laptop:~#
--ET
 
2 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mounting Hard drive partition as writable with -rw swich using mount command fultron Linux - Newbie 12 08-16-2013 07:56 AM
How do I mount a usb drive (BSD 5.2.1) davidstvz *BSD 8 08-27-2008 03:18 PM
mount a bsd drive seingoku Slackware 2 06-05-2003 11:21 AM
How to mount a FAT32 partition in BSD?? concoran *BSD 4 07-26-2002 07:16 AM
unable to mount bsd partitions l_9_l *BSD 1 05-01-2002 11:54 AM


All times are GMT -5. The time now is 09:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration