[7018] in testers

home help back first fref pref prev next nref lref last post

Re: devices on linux

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon May 23 12:48:33 2005

From: Greg Hudson <ghudson@MIT.EDU>
To: Jonathon Weiss <jweiss@mit.edu>
Cc: testers@mit.edu
In-Reply-To: <200505202004.j4KK4vFk014971@the-other-woman.mit.edu>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
Date: Mon, 23 May 2005 12:48:16 -0400
Message-Id: <1116866896.16540.21.camel@egyptian-gods.mit.edu>
Mime-Version: 1.0

On Fri, 2005-05-20 at 16:04 -0400, Jonathon Weiss wrote:
> I have a usb CF card reader plugged into my linux machine that appears
> as sda.  Under Athena 9.4 every time I MAKEDEV the devices for it,
> they go away at the next reboot.  With the device changes in RHEL4 is
> there some other way I should be doing this?

Create the device files in /etc/udev/devices and they will be copied to
the /dev directory when udev starts at boot time.

Another bit of udev information, which isn't relevant to your problem
but might be relevant to someone reading this or scanning the archives,
is that one can drop a file into /etc/udev/permissions.d to apply
permissions to a device, following the format
of /etc/udev/permissions.d/50-udev.permissions.  Presumably if it's a
device listed in that file, you'd want to use a higher number so that it
overrides the permissions there.


home help back first fref pref prev next nref lref last post