Gentoo Archives: gentoo-user

From: Mateusz Mierzwinski <mateuszmierzwinski@××.pl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Mounting /dev/sdaX on boot does not work
Date: Wed, 30 Jan 2008 18:06:16
Message-Id: 47A0BC95.2010100@o2.pl
In Reply to: Re: [gentoo-user] Mounting /dev/sdaX on boot does not work by Alan McKinnon
1 Alan McKinnon pisze:
2 > On Wednesday 30 January 2008, Joseph wrote:
3 >
4 >> On 01/30/08 12:40, Pavel Sanda wrote:
5 >>
6 >>> hi,
7 >>>
8 >>> i have external hard drive connected through usb. i put the
9 >>> following line into /etc/fstab /dev/sda1 /mnt/usb ext3
10 >>> user,auto,exec 0 0
11 >>>
12 >> shouldn't that be: "users" instead of "user"
13 >>
14 >
15 > Maybe, maybe not, both are valid.
16 > "user" means that any non-root user can mount the device and the same
17 > user (or root) may umount it.
18 > "users" means that any non-root user can mount the device and any other
19 > user (or root) may umount it.
20 >
21 >
22 >> Plug the exter. HD into USB and post the last several line of "dmesg"
23 >> What does it say?
24 >>
25 >
26 > It'll probably say that the device is /dev/sdb1 or some such. The real
27 > problem is likely what another poster mentioned - suitable drivers not
28 > loaded yet when init comes to use /etc/fstab.
29 >
30 > One could try listing these drivers in /etc/autoload.d/kernel-2.6 but
31 > the easiest is probably to compile them into the kernel
32 >
33 >
34 >
35 >
36
37 You have right. Standard unix kernel was designed to have all inside. I
38 don't know why some people still prefer modules than monolith kernel. If
39 you have modules, you must recompile all of them when new ABI comes out.
40 On monolithic kernel its all there. Also i don't know if modules are not
41 slower than monolith Kernel because of User space to Kernel space
42 connection. Compiled in modules makes kernel run faster, and if it's
43 server, then even 0.00001 sec makes the different on functions execution
44 and internal core communication. Partly beyond of that problem is IPC
45 module communication. But if there are benefits then also are problems
46 with error code execution or beta drivers installed. Also if You have
47 Molnar's Real Time Preemption Model on Your kernel, You should choose
48 monolithic kernel. PS: some drivers are don't work as modules like they
49 should. You see Windows - there are drivers like Linux modules - what it
50 makes? Blue screens of death ;), but this is another story... ;)
51
52 Mateusz M.
53 --
54 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Mounting /dev/sdaX on boot does not work Alan McKinnon <alan.mckinnon@×××××.com>