Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: /dev/sdx always changing...

  1. #11
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: /dev/sdx always changing...

    How are the disk listed in /dev?
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  2. #12

    Re: /dev/sdx always changing...

    Thank you for the answer.
    Here is the content of /dev:

    Code:
    cyrille@ordi-cyrille:/dev$ ls -la | egrep 'hitach|sd'
    brw-rw----   1 root disk      8,   1 oct.  20 10:43 hitachi1
    brw-------   1 root root      8,   0 oct.  20 10:42 sda
    brw-------   1 root root      8,   1 oct.  20 10:42 sda1
    brw-rw----   1 root disk      8,  16 oct.  20 10:43 sdb
    brw-rw----   1 root disk      8,  17 oct.  20 10:43 sdb1
    brw-rw----   1 root disk      8,  32 oct.  20 10:43 sdc
    brw-rw----   1 root disk      8,  33 oct.  20 10:43 sdc1
    brw-rw----   1 root disk      8,  34 oct.  20 10:43 sdc2
    brw-rw----   1 root disk      8,  35 oct.  20 10:43 sdc3
    brw-rw----   1 root disk      8,  48 oct.  20 10:42 sdd
    brw-rw----   1 root disk      8,  64 oct.  20 10:42 sde
    brw-rw----   1 root disk      8,  80 oct.  20 10:42 sdf
    brw-rw----   1 root disk      8,  96 oct.  20 10:42 sdg
    brw-rw----   1 root disk      8, 112 oct.  20 10:43 sdh
    brw-rw----   1 root disk      8, 113 oct.  20 10:43 sdh1
    Is this what you expect?

  3. #13
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: /dev/sdx always changing...

    Bad news, the /dev/sd* are somewhat arbitrary by design, they cannot be changed.

    Look: http://lists.us.dell.com/pipermail/l...st/040049.html

    And here: http://askubuntu.com/questions/12769...rive-in-dev-sd

    The fact that KDE partition manager still shows the partitions 'as is' is a good thing since you don't want to mess with that (imagine formatting the incorrect disk since the labels overlap!).

    I guess that KDE partition manager still fetches the info from an ioctl() or from /proc/partitions (which are not under control by udev).

    However, your problem with the "Hard disk status" plasmoid still stands in the fact that it should show all disks. That is a bug. I was under the impression you could work around this with udev. But I was wrong about that. Sorry for that.
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  4. #14

    Re: /dev/sdx always changing...

    So, change the sdx is not so easy.
    It's not really a problem for me.
    I leave them as they are.

    The workaround for the plasmoide is to delete the line contain 'uuid' in ~/.kde/share/config/plasmadesktop-appletsrc.

    It was very interesting to exchange about udev with you. I've learn a lot.

    Quote Originally Posted by Rexilion View Post
    The fact that KDE partition manager still shows the partitions 'as is' is a good thing since you don't want to mess with that (imagine formatting the incorrect disk since the labels overlap!).
    Certainly.

    I will soon alert the developper of this plasmoid about this problem.

    Thank you.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •