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

autofs not mounting certain devices

I just switched over to udev and autofs to make my wife's work with an
mp3 player easier, but have hit some strange behavior with autofs.

I have each device I want to mount under separate files, referenced by
auto.master, as follows:


daddy:/etc# cat auto.master auto.mp3 auto.flash auto.cards|grep -v ^#
/misc   /etc/auto.mp3           --timeout=3
/misc   /etc/auto.floppy        --timeout=5
/misc   /etc/auto.flash         --timeout=3
/misc   /etc/auto.cards         --timeout=5

mp3             -fstype=vfat,sync       :/dev/mp3player

flash           -fstype=vfat,user,sync          :/dev/flash

cards           -fstype=vfat,sync       :/dev/cards


udev seems to have no trouble recognizing these, but I cannot get the
memory stick to be mounted by autofs:


daddy:~# ll /dev/mp3player /dev/flash
lrwxrwxrwx 1 root root 4 2006-02-18 22:41 /dev/flash -> sda1
lrwxrwxrwx 1 root root 3 2006-02-18 20:36 /dev/mp3player -> sdb

daddy:~# ls /misc/flash
ls: /misc/flash: No such file or directory

daddy:~# ls /misc/mp3
iAUDIO - Friends & Lovers.mp3  movie  music  picture  record  system


My udev rules:


daddy:~# cat /etc/udev/local.rules
# local stuff for hpotter

# flash memory, Imation brand

BUS="scsi", KERNEL="sd?1", SYSFS{vendor}="Imation ", SYSFS{model}=" USB Flash Drive", NAME="%k", SYMLINK="flash"

# Cowon mp3 player

BUS="scsi", KERNEL="sd?", SYSFS{model}="iAUDIO U3       ", SYSFS{vendor}="COWON   ", NAME="%k", SYMLINK="mp3player"

# Epson printer's card reader

BUS="usb", KERNEL="sd?",  SYSFS{serial}="M16P20407291006080", SYSFS{manufacturer}="EPSON", NAME="%k", SYMLINK="cards"


While I haven't shown it, the card reader behaves similarly.

Is this quirk something obvious that I have overlooked?  I can mount
/dev/flash normally, FWIW.  I tried to turn up clues in Google, but saw
nothing similar.

Many thanks for hints, etc.

In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have.     - Lee Iacocca

Reply to: