VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: rename sticks  (Read 2672 times)

ghartl1

  • Vectorite
  • ***
  • Posts: 379
rename sticks
« on: April 24, 2008, 03: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, 03:17:32 am by ghartl1 »
Logged

overthere

  • Vectorian
  • ****
  • Posts: 1364
Re: rename sticks
« Reply #1 on: April 24, 2008, 10: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
Logged
Everything Is Relative

ghartl1

  • Vectorite
  • ***
  • Posts: 379
Re: rename sticks
« Reply #2 on: April 25, 2008, 08: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
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: rename sticks
« Reply #3 on: May 06, 2008, 01: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.
Logged

bigpaws

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

Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: rename sticks
« Reply #5 on: May 08, 2008, 11:54:30 am »

You rock bigpaws :)
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2317
Re: rename sticks
« Reply #6 on: May 08, 2008, 12:29:01 pm »

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, 12:31:12 pm by rbistolfi »
Logged
"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!!