Re: devlabel and usb devices

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

 



> With your USB memory stick reader in, as root, issue the command
> (where /dev/sda1 is where the memory stick is usually mounted and
> /dev/flash is the user-defined device name you want to use):
> 
> devlabel add -d /dev/sda1 -s /dev/flash --automount
> 
> It will add an entry in /etc/sysconfig/devlabel.
> 
> Also edit /etc/fstab with the following line:
> 
> /dev/flash         /mnt/flash              auto    noauto,owner 0 0
> 

Thanks for the tip! I have it recognizing the memory key
when I plug it in, although when the system boots it does
not seem to see it. I have to run devlabel restart a couple
of times to get it to work. The key is the reader in this
case.

Also it does not automount the device - I have to run
mount myself. Do I have configure something else to make
automount do the right thing?

I have not tried yet to plug both my camera and the key
in at the same time - I assume that devlabel will correctly
assign the links, even though one might be on /dev/sda1 and
other other on another device...

-Eric


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com




[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux