LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 05-05-2004, 12:50 PM   #1
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Rep: Reputation: 30
mknod or devfs?


Hi all
I'm not so new to Linux at this point, but I'm definitely new to FreeBSD. Yesterday I took a 7gb hunk of my hard drive and installed FBSD 5.2.1 on it on a whim, and so far I like what I see. However, I have several linux partitions I'd like to get at (mainly for various files (bookmarks, gaim away messages, mp3s)), and I can't seem to mount them. I get this when I try:
Code:
localhost# mount_ext2fs /dev/ad1s0 /mnt/slack
mount_ext2fs: /dev/ad1s0: No such file or directory
If I do 'ls /dev | grep ad', the file appears to be there:
Code:
localhost# ls /dev | grep ad
ad0
ad0s1
ad0s2
ad0s2a
ad0s2b
ad0s2c
ad0s2d
ad1
ad1s1
ad1s2
ad1s5
ad1s6
ad1s7
The reading that I've done suggests that the device file is there, but it's not recognized/linked to the right partition/something else, and that I use either devfs or mknod to create it (depending on which website I read). But the man page for devfs is less than helpful, and since the file is actually _there_ in /dev, I'm not sure that mknod would help. Which is which, and what command should I use to get my partitions mounted??

Thanks!
Laura
 
Old 05-05-2004, 02:31 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
First, everything is /dev is a "device", not a file.

Second, just from looking at the output you posted, you're trying to mount a non-existent slice. Try ad1s1, since slices start at 1 not 0.
 
Old 05-05-2004, 03:15 PM   #3
rose_bud4201
Member
 
Registered: Aug 2002
Location: St Louis, MO
Distribution: Xubuntu, RHEL, Solaris 10
Posts: 929

Original Poster
Rep: Reputation: 30
Oops, sorry. I meant to fix that :-[
I did try ad1s1, and got the same error.
 
Old 05-06-2004, 12:58 PM   #4
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
I figured you would get a kernel error, but did you enble ext2fs in the kernel?
Code:
options EXT2FS
 
Old 05-06-2004, 08:52 PM   #5
Inexactitude
Member
 
Registered: Oct 2003
Distribution: Slackware 12.2, Ubuntu 9.04
Posts: 477

Rep: Reputation: 30
That bit doesn't come with the install kernel right? I tried to mount some ext3 filesystems, but couldn't get anything.
 
Old 05-07-2004, 01:29 AM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Neither Free nor Open BSD have ext3fs support. You can still mount an ext3fs partition as ext2fs, but you'll lose the journaling feature (while it's mounted as ext2).
 
  


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
HD / mknod issue fasta Debian 7 08-08-2006 12:39 AM
mknod Basel Linux From Scratch 1 09-03-2005 02:13 PM
mknod Infinite_Pizza Linux - Software 2 04-14-2005 08:59 PM
To devfs, or not devfs - advice please JamesM Linux - General 7 08-13-2003 05:59 AM
mknod watashiwaotaku7 Linux - Software 1 01-23-2003 10:11 PM

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

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