RE: Slightly OT: Extra icons on desktop

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



On Tue, 2008-04-29 at 16:46 -0400, Ross S. W. Walker wrote: 
> William L. Maltby wrote:
> <snip>

> I wonder if anyone can duplicate the problem by creating a partition
> and having it mounted in fstab by volume label and see if it appears
> twice.

Not quite the same, but I've a USB drive that I plugged in after
removing "noauto" from the fstab entry.

$ grep 4 /etc/fstab
LABEL=BkUp_4_5          /media/sdc1      ext2    defaults,noatime 0 0

Got a nice little message telling me (in Gnome desktop) that I wasn't
priveleged to mount it. That's as I would expect since I was already
logged in at my desktop. Mount showed it mounted.

$ mount
/dev/sdc1 on /media/sdc1 type ext2 (rw,noatime)

Now I'll reboot and see what happens.

Rebooted. Prior to entering "telinit 5", did a "mount" and it was
mounted. After logging onto graphical desktop, one icon on the desktop.
As expected.

I'm led back to the conclusion that there is some oddity about the
device definitions on Mark's problematic unit.

> 
> If you list it in fstab by /dev/sdXX and HAL announces it as /dev/sdXX
> then it will only appear once, but if it is listed in fstab as
> LABEL=XXXX and HAL announces it as /dev/sdXX then it would be
> listed as twice.

Not as far as I can tell. From dmesg:

device-mapper: multipath: version 1.0.5 loaded
  Vendor: Toshiba   Model: USB2.0 Drive R00  Rev: 1.43
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdc: 195371568 512-byte hdwr sectors (100030 MB)

and

SELinux: initialized (dev sdc1, type ext2), uses xattr

>From messages:

Apr 29 16:58:01 centos501 kernel: sd 2:0:0:0: Attached scsi disk sdc
Apr 29 16:58:01 centos501 kernel: sd 2:0:0:0: Attached scsi generic sg2 type 0

Nothing of interest in /var/log/gdm/:0.log.

> 
> I believe /boot, /, LABEL=boot and LABEL=root, are typically ignored
> either in Gnome or HAL or both, so those won't dup.

That would be another good test.

> 
> -Ross
> <snip sig stuff>

-- 
Bill


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux