|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I just bought an external HDD enclosure for my old IDE disks so I can
attack to my laptop using USB. How do I set this up? I will not always have the same IDE disk in there when I boot (there are 3 HDD) nor will I even have the enclosure connected to my USB port every time I boot up. So how do I handle this? I am running 2.6.18 kernel with udev (and no I have no clue how to write udev rules and I hope kernel developers abandon udev foolishness in the future and return to devfs + some extensions heh). What kernel modules will I need to load setup this device and do I just add them to /etc/modules, run depmod -a and reboot? And then lsmod to verify they were loaded and just plugin the drive enclosure? Do I need create a special device for USB? I would like /etc/fstab to automatically load the enclosure drive if it detects it was attached on boot up. Zach -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Zach:
> > I just bought an external HDD enclosure for my old IDE disks so I can > attack to my laptop using USB. How do I set this up? What exactly do you want to achieve? If you don't need automounting, you don't need to do anything at all. As soon as you plug the drive in, the necessary module gets loaded automatically and you have to look up the new device names in your syslog or from dmesg. > I will not always > have the same IDE disk in there when I boot (there are 3 HDD) nor will > I even have the enclosure connected to my USB port every time I boot > up. For stable device names, irrespective of the order of plugin, you need to write udev rules. This is not as complicated as it sounds and there are a lot of howtos on the net. That makes it easy to write fstab entries so you can easily mount your filesystems as a user. > So how do I handle this? I am running 2.6.18 kernel with udev (and > no I have no clue how to write udev rules and I hope kernel developers > abandon udev foolishness in the future and return to devfs + some > extensions heh). Don't hold your breath. > What kernel modules will I need to load setup this device and do I > just add them to /etc/modules, run depmod -a and reboot? You need to do nothing at all. > And then lsmod to verify they were loaded and just plugin the > drive enclosure? Do I need create a special device for USB? I would > like /etc/fstab to automatically load the enclosure drive if it > detects it was attached on boot up. In this case you need some sort of auto mounting program. I cannot comment on that since I don't use such a program. If you are you using Gnome oder KDE, this is probably a complete non-issue. J. -- Quite often I wonder why I am not more famous and/or more wealthy. [Agree] [Disagree] <http://www.slowlydownward.com/NODATA/data_enter2.html> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGdRfv+AfZydWK2zkRApB4AJ9xPF5SZYVw3LSQhx0c3G thZ1Kb0wCglbTV mqpFuKvsFTlDMD+JMWDBgf8= =MMUF -----END PGP SIGNATURE----- |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
On Sun, Jun 17, 2007 at 04:24:34AM -0400, Zach wrote:
> I just bought an external HDD enclosure for my old IDE disks so I can > attack to my laptop using USB. How do I set this up? I will not always > have the same IDE disk in there when I boot (there are 3 HDD) nor will > I even have the enclosure connected to my USB port every time I boot > up. So how do I handle this? I am running 2.6.18 kernel with udev (and > no I have no clue how to write udev rules and I hope kernel developers If you have hal installed, you are not required to write any udev rules, and you may use pmount mount them or use gnome-volume-manager mount them automatically if you use gnome. > abandon udev foolishness in the future and return to devfs + some > extensions heh). What kernel modules will I need to load setup this > device and do I just add them to /etc/modules, run depmod -a and > reboot? And then lsmod to verify they were loaded and just plugin the > drive enclosure? Do I need create a special device for USB? I would you do not need manually load any modules at all in most condintions. > like /etc/fstab to automatically load the enclosure drive if it > detects it was attached on boot up. > > Zach -- Wang Xu -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|