Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
supermount
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jido
n00b
n00b


Joined: 27 May 2004
Posts: 40
Location: London

PostPosted: Sun Nov 07, 2004 12:30 am    Post subject: supermount Reply with quote

How do I enable supermount in the kernel?

In /etc/fstab I have:
Quote:
none /mnt/cdrom supermount fs=auto,dev=/dev/cdroms/cdrom0 0 0


In messages it is:
Quote:
May 23 00:56:24 mimi Supermount version 2.0.4 for kernel 2.6


...but I get an error at startup that a device could not be mounted because the kernel doesn't support supermount.
_________________
-- Denis.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Sun Nov 07, 2004 3:24 am    Post subject: Reply with quote

Which kernel are you using? Gentoo kernels after 2.6.7 don't support supermount. If you're using the later ones you'll have to look into Ivman for automount. To get that to work I think all you need to do is disable the /dev filesystem in the kernel and emerge ivman. List the necessary dependencies as ~x86 in your package.keywords directory. Also return your fstab to normal.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
jido
n00b
n00b


Joined: 27 May 2004
Posts: 40
Location: London

PostPosted: Sun Nov 07, 2004 11:10 pm    Post subject: Reply with quote

I am using a 2.6.8 gentoo kernel, right.

Not sure I am following.... :oops:
So I should disable /dev in the kernel? I will still have devices in /dev, won't I?

Should I use ACCEPT_KEYWORDS=~x86 while emerging ivman? Or do I need to edit a packages.keyword file somewhere? Where is it and how to use it?

Lastly, when you say "return your fstab to normal" do you mean removing supermount from the cdrom line? Or is there another change to make?

Sorry for all the questions, I am still a beginner. :wink:
_________________
-- Denis.
Back to top
View user's profile Send private message
donjuan
l33t
l33t


Joined: 11 May 2004
Posts: 760
Location: At Uni

PostPosted: Mon Nov 08, 2004 12:34 am    Post subject: Reply with quote

Setup fstab as you would have it normally, as described in the handbook, so yeah, bascially removing supermount from the cdrom line.

You do need to disable /dev in the kernel so you can use udev, and udev will list devices in /dev, so you will still have devices in there.

You should never use ACCEPT_KEYWORDS="~x86" on the command line, only use it in make.conf. Search the forums for more info on this if you would like to find out why. So unless you have that set in make.conf you will need to edit package.keywords file because ivman is marked ~x86. For more info on how to use the package.keywords file see the section on Mixing Software Branges in the Gentoo Handbook.
_________________
Command-line ACCEPT_KEYWORDS is considered harmful, use the package.* files.

The Stage 1 on 3 Install
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum