[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: udev how to set up automatic /media/cdrom0



On Mon, May 16, 2005 at 03:22:00PM -0400, Brad Sawatzky wrote:
| On Mon, 16 May 2005, Mitchell Laks wrote:
| 
| > On Monday 16 May 2005 08:49 am, LeVA wrote:
| > 
| > > -> debian-user@lists.debian.org,:
| > > > Hi,
| > > > are there any knowledgeable users of udev who can tell us how to
| > > > configure udev scripts to automatically create
| > > > /media/cdrom0 and /media/cdrom1?
| [ . . . ]
| > However, that udev info  document seems to be focused on the /dev/ devices, 
| > which makes sense. The crazy behavior that I and others have seen lately in 
| > debian is that the devices
| > 
| > /media/cdrom0 and /media/cdrom1 disappear after we reboot.
| >  
| > And I thought udev affects only /dev/ files???
| 
| udev handles devices (ie. special files in /dev).  udev does not handle
| mount-points (ie. directories) in /media/, /mount/, /mnt/...

Correct.

| Software like gnome-volume-manager (others?) will create/delete
| mount-points in /media/ by parsing data from udev and hald.

I use udev, but I don't use gnome-volume-manager or anything like
that.  I also don't have any problem with my mount points
automagically disappearing on my.

| I don't know if there is an official declaration somewhere, but I suspect
| that /media/ is for auto-generated mount-points and good old /mnt/ is for
| 'hand-made' ones.

The official declaration is the FHS (Filesystem Hierarchy Statndard):

    http://www.pathname.com/fhs/

(the site appears to be down, but here is google's cache of the
document:
    http://64.233.187.104/search?q=cache:pB4nw5faWhsJ:www.pathname.com/fhs/pub/fhs-2.3.pdf+fhs+filesystem+hierarchy+pdf+2.3+pathname.com&hl=en&client=firefox
)
    
-D

-- 
UNIX is basically a simple operating system,
but you have to be a genius to understand the simplicity.
                                               -- Dennis Ritchie
 
www: http://dman13.dyndns.org/~dman/            jabber: dman@dman13.dyndns.org

Attachment: signature.asc
Description: Digital signature


Reply to: