PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > USB enclosure?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

USB enclosure?

Réponse
 
LinkBack Outils de la discussion
Vieux 17/06/2007, 09h30   #1
Zach
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut USB enclosure?

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
  Réponse avec citation
Vieux 17/06/2007, 12h20   #2
Jochen Schulz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: USB enclosure?

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-----

  Réponse avec citation
Vieux 17/06/2007, 12h20   #3
Wang Xu
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: USB enclosure?

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h05.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,98929 seconds with 11 queries