LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 09:13 AM   #1
cola
Senior Member
 
Registered: Sep 2007
Posts: 1,045

Rep: Reputation: 65
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, 02:30 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
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, 02:48 PM   #3
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 138

Rep: Reputation: 27
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, 02:54 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 07:58 PM   #5
slacker_et
Member
 
Registered: Dec 2009
Distribution: Slackware
Posts: 138

Rep: Reputation: 27
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



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 06:56 AM
How do I mount a usb drive (BSD 5.2.1) davidstvz *BSD 8 08-27-2008 02:18 PM
mount a bsd drive seingoku Slackware 2 06-05-2003 10:21 AM
How to mount a FAT32 partition in BSD?? concoran *BSD 4 07-26-2002 06:16 AM
unable to mount bsd partitions l_9_l *BSD 1 05-01-2002 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:19 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