[opensuse] cfdisk - strange bad behavior in openSUSE 13.2
Hello: This occurs in openSUSE 13.2. Whenever I run cfdisk (version: cfdisk from util-linux 2.25.1) after exiting the program the given device is "rescanned" and my desktop is populated with "A new medium has been detected" windows (Trinity desktop), as many as the partition numbers on the disk. dmesg also indicates that the device was "rescanned". For example: # cfdisk /dev/sdd I exit cfdisk without modifying anything 11 "new devices window appears on the desktop dmesg shows: [ 940.463099] sdd: sdd1 sdd2 sdd3 sdd4 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 > If I login from a remote computer through ssh and run and exit cfdisk, the windows appear on the current user's desktop. This is an unwanted behavior. I've been using cfdisk for several years but never seen something similar. How can I stop this? Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Istvan Gabor composed on 2017-01-30 20:56 (UTC+0100):
This occurs in openSUSE 13.2. Whenever I run cfdisk (version: cfdisk from util-linux 2.25.1) after exiting the program the given device is "rescanned" and my desktop is populated with "A new medium has been detected" windows (Trinity desktop), as many as the partition
keyword: Trinity
numbers on the disk. dmesg also indicates that the device was "rescanned".
For example:
# cfdisk /dev/sdd
I exit cfdisk without modifying anything
11 "new devices window appears on the desktop
dmesg shows:
[ 940.463099] sdd: sdd1 sdd2 sdd3 sdd4 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 >
If I login from a remote computer through ssh and run and exit cfdisk, the windows appear on the current user's desktop.
This is an unwanted behavior. I've been using cfdisk for several years but never seen something similar.
I don't know how this can be fixed globally, but Trinity's context menu for the desktop's behavior section allows detailed specification of what icons show up on the desktop. By default, it enables almost everything. On the general tab you can disable all desktop icons. On the device icons tab you can disable all or selected types, among them umounted hard disk volume and mounted hard disk volume. If you can't get it to work as you like, it might be a Trinity bug, but not likely an openSUSE bug. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, 30 Jan 2017 19:15:41 -0500, Felix Miata wrote:
Istvan Gabor composed on 2017-01-30 20:56 (UTC+0100):
This occurs in openSUSE 13.2. Whenever I run cfdisk (version: cfdisk from util-linux 2.25.1) after exiting the program the given device is "rescanned" and my desktop is populated with "A new medium has been detected" windows (Trinity desktop), as many as the partition
keyword: Trinity
numbers on the disk. dmesg also indicates that the device was "rescanned".
For example:
# cfdisk /dev/sdd
I exit cfdisk without modifying anything
11 "new devices window appears on the desktop
dmesg shows:
[ 940.463099] sdd: sdd1 sdd2 sdd3 sdd4 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 sdd12 >
If I login from a remote computer through ssh and run and exit cfdisk, the windows appear on the current user's desktop.
This is an unwanted behavior. I've been using cfdisk for several years but never seen something similar.
I don't know how this can be fixed globally, but Trinity's context menu for the desktop's behavior section allows detailed specification of what icons show up on the desktop. By default, it enables almost everything. On the general tab you can disable all desktop icons. On the device icons tab you can disable all or selected types, among them umounted hard disk volume and mounted hard disk volume. If you can't get it to work as you like, it might be a Trinity bug, but not likely an openSUSE bug.
I wouldn't say it's a bug, it's a bad behavior. I think the desktop type here is irrelevant. dmesg output shows that the base system "rescans" the disk and present its partitions as newly added file systems. Trinity only recognizes this. I think it would happen in other DEs too, which can recognize the of newly added file systems. In openSUSE 13.1 if I run and exit cfdisk, dmesg doesn't indicate any change in drives or file systems. I have to run partprobe if I want to rescan the drives. I think it's a new cfdisk "feature". Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Felix Miata
-
Istvan Gabor