View previous topic :: View next topic |
Author |
Message |
jido n00b


Joined: 27 May 2004 Posts: 40 Location: London
|
Posted: Sun Nov 07, 2004 12:30 am Post subject: supermount |
|
|
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 |
|
 |
donjuan l33t


Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Sun Nov 07, 2004 3:24 am Post subject: |
|
|
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 |
|
 |
jido n00b


Joined: 27 May 2004 Posts: 40 Location: London
|
Posted: Sun Nov 07, 2004 11:10 pm Post subject: |
|
|
I am using a 2.6.8 gentoo kernel, right.
Not sure I am following....
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.  _________________ -- Denis. |
|
Back to top |
|
 |
donjuan l33t


Joined: 11 May 2004 Posts: 760 Location: At Uni
|
Posted: Mon Nov 08, 2004 12:34 am Post subject: |
|
|
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 |
|
 |
|