On Sat, 23 Aug 2008 06:24:44 +1200
Roger Searle <[EMAIL PROTECTED]> wrote:

> Hi, I have created a udev rule for an MP3 player, following this article 
> in the ubuntu forum:
> 
> http://ubuntuforums.org/showthread.php?t=168221
> 
> I have the file /etc/udev/rules.d/10-local.rules with this line:
> 
> SUBSYSTEMS=="scsi", ATTRS{vendor}=="Samsung", ATTRS{model}=="YP-U2", 
> NAME="samsumg-yp-u2"
> 
> and all goes well on plugging in the device, it consistently appears in 
> konqueror under system:/media/samsumg-yp-u2.
> 
> I'm not clear about how to now create a mount point such that I could 
> always access this device from some folder, I understood that I could 
> add a line like this to fstab:
> 
> /dev/samsung-yp-u2    /media/samsung vfat defaults 0 0
> 
> having first created /media/samsung.
> 
> however I get this:
> [EMAIL PROTECTED]:~$ sudo mount /media/samsung
> mount: special device /dev/samsung-yp-u2 does not exist
> 
> [EMAIL PROTECTED]:~$ sudo ls -l /dev/sam*
> brw-rw---- 1 root disk 8, 33 2008-08-22 19:35 /dev/samsumg-yp-u2
> 
> Can anyone indicate where I might be going wrong?
> 
> Cheers,
> Roger
> 
> 
> 
This article is a couple of years old, and udev has matured sonce then. udev 
has already mounted the device at /media/samsung-yp-u2, as you can see from 
your browser. You need do nothing more!

hth,

Steve

-- 
Steve Holdoway <[EMAIL PROTECTED]>

Reply via email to