Please support VectorLinux!

Author Topic: rename sticks  (Read 2594 times)

ghartl1

  • Vectorite
  • ***
  • Posts: 379
rename sticks
« on: April 24, 2008, 02:12:12 am »
hi,
i use soho 5.8 with kde 3.5.6...btw a great distri..thanks

i wanted to assign  a stick in fstab to a certain mountpoint...


so how can i rename the stick on my desktop, so my mother has a familiar name instead of  sdb-vol1.....
is it even possible to assign a stick in vl?

my line in fstab
/dev/disk/by-uuid/47D7-CF99   /mnt/vl-hot/sdb/vol1 auto defaults 0 0
didnt work

so i tried..
/dev/disk/by-uuid/47D7-CF99   /mnt/vl-hot/stick_guenter   auto defaults 0 0

but to no avail

greets günter
« Last Edit: April 24, 2008, 02:17:32 am by ghartl1 »

overthere

  • Vectorian
  • ****
  • Posts: 1311
Re: rename sticks
« Reply #1 on: April 24, 2008, 09:00:00 pm »
Sorry I do not know myself...but a rose by anyother name would smell as sweet...I'm curious why it is required
Everything Is Relative

ghartl1

  • Vectorite
  • ***
  • Posts: 379
Re: rename sticks
« Reply #2 on: April 25, 2008, 07:22:22 am »
it is required, so my mothers stick appears always under the same name in the system....usually linux asign the usb-path regarding their channels inside...e.g sda...sdb...sdc...sde....

so my mother can always reach her stick under the same name (in konqueror.../mnt/vl-hot/..there it depends...)


greets günter

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: rename sticks
« Reply #3 on: May 06, 2008, 12:31:42 pm »
I wonder if a custom udev rule can be made?  If it matches the vendor and model of her stick, it could single hers out, and create a custom name for it.

Buuut.....   I can't tell you exactly how to go about it.  udev makes my brain hurt.

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: rename sticks
« Reply #4 on: May 08, 2008, 06:19:22 am »

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: rename sticks
« Reply #5 on: May 08, 2008, 10:54:30 am »
You rock bigpaws :)

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: rename sticks
« Reply #6 on: May 08, 2008, 11:29:01 am »
I would add a RUN+="mount..." statement to the udev rule to automount the device, and you have to be sure the rule match your device before than the vl-hot rules. Also keep in mind that using your custom udev rule will make you lose the desktop icon generated by vl-hot for your mom :). May be the best is find the way to tweak vl-hot...

HTH
« Last Edit: May 08, 2008, 11:31:12 am by rbistolfi »
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!