Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
 On Mon, Apr 28, 2008 at 3:49 PM, Ross S. W. Walker
 [EMAIL PROTECTED] wrote:
 
  Boot and root should be ok, but misc is probably causing problems with file
   managers querying fstab and hal.
 
   -Ross
 
 
 Must be something like that - if I su and umount it, both icons go
 away.  Then I 'mount -a' and only one comes back.  But if I log out
 and log back in, they both come back.  Must a new feature of gnome
 2.20.0

If *I* know about it, it *can't* be a *new* feature!  ;-)

 
 mhr
 snip sig stuff

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
[EMAIL PROTECTED] wrote:

 On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
  
   Must be something like that - if I su and umount it, both icons go
   away.  Then I 'mount -a' and only one comes back.  But if I log out
   and log back in, they both come back.  Must a new feature of gnome
   2.20.0

  If *I* know about it, it *can't* be a *new* feature!  ;-)


Heh, heh - I meant feature as in the infamous Bill Gates interview
with the German technology magazine, wherein he claimed that Windows
has no bugs, only features that people do not understand.  (You can't
make this stuff up)

The most interesting part to me is that the disk in question is a
fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
show up on the desktop (why would they?), only the removable media.

Thanks, including for the chuckle.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
 On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 
  On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
   
Must be something like that - if I su and umount it, both icons go
away.  Then I 'mount -a' and only one comes back.  But if I log out
and log back in, they both come back.  Must a new feature of gnome
2.20.0
 
   If *I* know about it, it *can't* be a *new* feature!  ;-)
 
 
 Heh, heh - I meant feature as in the infamous Bill Gates interview
 with the German technology magazine, wherein he claimed that Windows
 has no bugs, only features that people do not understand.  (You can't
 make this stuff up)
 
 The most interesting part to me is that the disk in question is a
 fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
 show up on the desktop (why would they?), only the removable media.

If it is truly a fixed drive, then I would suggest a look at the logs
(dmesg and/or messages) to get it identity and then look at udev
configuration scripts. IIUC, udev is assigned the task of identifying
and classifying stuff correctly. Everything else at higher levels of
abstraction would depend on those results.

I did a locate on udev and some promising things popped up.

/etc/udev
/etc/sysconfig/modules/udev-stw.modules
/etc/udev/devices
/etc/udev/makedev.d
/etc/udev/rules.d
/etc/udev/udev.conf

Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
including overview and writing-udev-rules. man -k udev offers some
potential help too.

I hope there's an answer hidden in there somewhere.

 
 Thanks, including for the chuckle.

Chuckles are free, grins @ $0.01.

 
 mhr
 snip sig stuff

HTH
-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread Ross S. W. Walker
William L. Maltby wrote:
 On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
  On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
  [EMAIL PROTECTED] wrote:
  
   On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:

 Must be something like that - if I su and umount it, both icons go
 away.  Then I 'mount -a' and only one comes back.  But if I log out
 and log back in, they both come back.  Must a new feature of gnome
 2.20.0
  
If *I* know about it, it *can't* be a *new* feature!  ;-)
  
  
  Heh, heh - I meant feature as in the infamous Bill Gates interview
  with the German technology magazine, wherein he claimed that Windows
  has no bugs, only features that people do not understand. (You can't
  make this stuff up)
  
  The most interesting part to me is that the disk in question is a
  fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
  show up on the desktop (why would they?), only the removable media.
 
 If it is truly a fixed drive, then I would suggest a look at the logs
 (dmesg and/or messages) to get it identity and then look at udev
 configuration scripts. IIUC, udev is assigned the task of identifying
 and classifying stuff correctly. Everything else at higher levels of
 abstraction would depend on those results.
 
 I did a locate on udev and some promising things popped up.
 
 /etc/udev
 /etc/sysconfig/modules/udev-stw.modules
 /etc/udev/devices
 /etc/udev/makedev.d
 /etc/udev/rules.d
 /etc/udev/udev.conf
 
 Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
 including overview and writing-udev-rules. man -k udev offers some
 potential help too.
 
 I hope there's an answer hidden in there somewhere.
 
  
  Thanks, including for the chuckle.
 
 Chuckles are free, grins @ $0.01.

I believe the problem is simple really.

fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
the Gnome file manager sees these as 2 separate devices and presents them
as such.

Find a way to have Gnome stop scanning the fstab file and have it rely
completely on HAL, or have HAL ignore all devices listed in fstab.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 12:25 PM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:

  I believe the problem is simple really.

  fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
  the Gnome file manager sees these as 2 separate devices and presents them
  as such.


Actually, I used tune2fs earlier to delete the volume label and the
entry in fstab now lists the device directly.

  Find a way to have Gnome stop scanning the fstab file and have it rely
  completely on HAL, or have HAL ignore all devices listed in fstab.


I'll look into this one.

Thanks.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 15:25 -0400, Ross S. W. Walker wrote:
 William L. Maltby wrote:
  On Tue, 2008-04-29 at 11:34 -0700, MHR wrote:
   On Tue, Apr 29, 2008 at 2:11 AM, William L. Maltby
   [EMAIL PROTECTED] wrote:
   
On Mon, 2008-04-28 at 16:03 -0700, MHR wrote:
 
  Must be something like that - if I su and umount it, both icons go
  away.  Then I 'mount -a' and only one comes back.  But if I log out
  and log back in, they both come back.  Must a new feature of gnome
  2.20.0
   
 If *I* know about it, it *can't* be a *new* feature!  ;-)
   
   
   Heh, heh - I meant feature as in the infamous Bill Gates interview
   with the German technology magazine, wherein he claimed that Windows
   has no bugs, only features that people do not understand. (You can't
   make this stuff up)
   
   The most interesting part to me is that the disk in question is a
   fixed drive in the case.  On my CentOS boxes and laptops, these NEVER
   show up on the desktop (why would they?), only the removable media.
  
  If it is truly a fixed drive, then I would suggest a look at the logs
  (dmesg and/or messages) to get it identity and then look at udev
  configuration scripts. IIUC, udev is assigned the task of identifying
  and classifying stuff correctly. Everything else at higher levels of
  abstraction would depend on those results.
  
  I did a locate on udev and some promising things popped up.
  
  /etc/udev
  /etc/sysconfig/modules/udev-stw.modules
  /etc/udev/devices
  /etc/udev/makedev.d
  /etc/udev/rules.d
  /etc/udev/udev.conf
  
  Plus there's a bunch of docs about it up in /usr/share/doc/udev-095,
  including overview and writing-udev-rules. man -k udev offers some
  potential help too.
  
  I hope there's an answer hidden in there somewhere.
  
   
   Thanks, including for the chuckle.
  
  Chuckles are free, grins @ $0.01.
 
 I believe the problem is simple really.
 
 fstab has the device listed as LABEL=misc, and HAL reports it as /dev/sdX,
 the Gnome file manager sees these as 2 separate devices and presents them
 as such.

If the misc is getting automounted, that would be a problem. But
wasn't the noauto option tried (I can't remember)?


 
 Find a way to have Gnome stop scanning the fstab file and have it rely
 completely on HAL, or have HAL ignore all devices listed in fstab.
 
 -Ross
 snip sig stuff

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 12:43 PM, William L. Maltby
[EMAIL PROTECTED] wrote:

  If the misc is getting automounted, that would be a problem. But
  wasn't the noauto option tried (I can't remember)?


No, I want it automounted.  I just don't want it to show up twice on my desktop.

I suppose I could just delete the file from my Desktop folder, but I'm
not sure if that does anything detrimental or what

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 12:50 -0700, MHR wrote:
 On Tue, Apr 29, 2008 at 12:43 PM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 
   If the misc is getting automounted, that would be a problem. But
   wasn't the noauto option tried (I can't remember)?
 
 
 No, I want it automounted.  I just don't want it to show up twice on my 
 desktop.

You mean regardless of if desktop is started up? In that case, it sounds
like System-Preferences-Removable Drives and Media settings need
changing to *not* mount when hot-plugged.

 
 I suppose I could just delete the file from my Desktop folder, but I'm
 not sure if that does anything detrimental or what
 
 mhr
 snip

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread MHR
On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
[EMAIL PROTECTED] wrote:
  You mean regardless of if desktop is started up? In that case, it sounds
  like System-Preferences-Removable Drives and Media settings need
  changing to *not* mount when hot-plugged.


At the risk of repeating myself: this is a fixed hard drive; it is NOT
a removable drive nor a removable media drive.  That is why this issue
is so puzzling to me

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
 On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
 [EMAIL PROTECTED] wrote:
   You mean regardless of if desktop is started up? In that case, it sounds
   like System-Preferences-Removable Drives and Media settings need
   changing to *not* mount when hot-plugged.
 
 
 At the risk of repeating myself: this is a fixed hard drive; it is NOT
 a removable drive nor a removable media drive.  That is why this issue
 is so puzzling to me

Repeating is not an issue. Long threads promote forgetfulness. But I
didn't forget. I'm just hazarding a guess that whatever the root cause
is, changing those settings might get rid of the extra icon. That, in
turn, gives a hint that might be useful. If it doesn't fix it, it also
provides some help by eliminating some things... I hope.

I'm still hoping that the scan of the dmesg or messages log, in
conjunction with a look a udev stuff might reveal the cause.

The settings suggestion was just a stab at getting rid of the icon,
which was your stated goal.

 
 mhr
 snip sig stuff

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
 On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
 [EMAIL PROTECTED] wrote:
   You mean regardless of if desktop is started up? In that case, it sounds
   like System-Preferences-Removable Drives and Media settings need
   changing to *not* mount when hot-plugged.
 
 
 At the risk of repeating myself: this is a fixed hard drive; it is NOT
 a removable drive nor a removable media drive.  That is why this issue
 is so puzzling to me

BTW. Determination of device type/class is contained within the HAL/udev
data bases (script, configs, hardware lists, ...). If your device is not
there, or is there erroneously identified, ISTM that it could cause the
system to believe it was removable media.

 
 mhr
 snip sig stuff

-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread Ross S. W. Walker
William L. Maltby wrote:
 On Tue, 2008-04-29 at 13:15 -0700, MHR wrote:
  On Tue, Apr 29, 2008 at 12:59 PM, William L. Maltby
  [EMAIL PROTECTED] wrote:
You mean regardless of if desktop is started up? In that case, it sounds
like System-Preferences-Removable Drives and Media settings need
changing to *not* mount when hot-plugged.
  
  
  At the risk of repeating myself: this is a fixed hard drive; it is NOT
  a removable drive nor a removable media drive.  That is why this issue
  is so puzzling to me
 
 Repeating is not an issue. Long threads promote forgetfulness. But I
 didn't forget. I'm just hazarding a guess that whatever the root cause
 is, changing those settings might get rid of the extra icon. That, in
 turn, gives a hint that might be useful. If it doesn't fix it, it also
 provides some help by eliminating some things... I hope.
 
 I'm still hoping that the scan of the dmesg or messages log, in
 conjunction with a look a udev stuff might reveal the cause.
 
 The settings suggestion was just a stab at getting rid of the icon,
 which was your stated goal.

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.

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= and HAL announces it as /dev/sdXX then it would be
listed as twice.

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

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
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  ext2defaults,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= 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@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread Ross S. W. Walker
William L. Maltby wrote:
 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  ext2defaults,noatime 0 0

Hmmm, and if the mount point were outside of /media?

 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)

Is that fixed or removable media?

 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.

There could be, could you give it a try with another mount point
outside of /media and with a fixed disk if it isn't already?

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 17:32 -0400, Ross S. W. Walker wrote:
 William L. Maltby wrote:
  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  ext2defaults,noatime 0 0
 
 Hmmm, and if the mount point were outside of /media?

My suspicion is it won't matter. But Give me a couple and I'll try this
and the other suggestions below.

  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)
 
 Is that fixed or removable media?

It is an external. Got 2 at a deal from Tosh because I own one of their
nice 17 Satellites.

 
  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.
 
 There could be, could you give it a try with another mount point
 outside of /media and with a fixed disk if it isn't already?

Will do. Give me a couple and I'll post again.

 
 -Ross
 snip sig stuff

-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 17:32 -0400, Ross S. W. Walker wrote:
 William L. Maltby wrote:
  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  ext2defaults,noatime 0 0
 
 Hmmm, and if the mount point were outside of /media?

Drat! Changed that one to noauto. I'll have to ribit and try that
one again.

 
  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)
 
 Is that fixed or removable media?
 
  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.
 
 There could be, could you give it a try with another mount point
 outside of /media and with a fixed disk if it isn't already?

]$ grep OLDh /etc/fstab
# /dev/sda7/mnt/OLDhardtolove   ext2noauto  0 0
LABEL=OLDhardtolove /mnt/OLDhardtolove   ext2   defaults,ro 0 0

$ mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sdb1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda7 on /mnt/OLDhardtolove type ext2 (ro)

No icon on the desktop.

BTW. On the previous test, I could not umount the device from the
desktop. That would be because it was mounted prior to GUI instantiation
and so the GUI user was not the owner I guess.

 
 -Ross
 snip

-- 
Bill

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


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-29 Thread William L. Maltby
On Tue, 2008-04-29 at 17:32 -0400, Ross S. W. Walker wrote:
 William L. Maltby wrote:
  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  ext2defaults,noatime 0 0
 
 Hmmm, and if the mount point were outside of /media?

$ grep -i bk /etc/fstab
LABEL=BkUp_4_5  /mnt/sdc1  ext2defaults,noatime 0 0

$ mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sdb1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda7 on /mnt/OLDhardtolove type ext2 (ro)
/dev/sdc1 on /mnt/sdc1 type ext2 (rw,noatime)

Only 1 icon on desktop. Again, I can't umount it, as expected.

As root, I can umount it, as expected. Icon then disappears.

 snip

 -Ross
 snip sig stuff

-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread MHR
On Thu, Apr 24, 2008 at 3:36 PM, William L. Maltby
[EMAIL PROTECTED] wrote:

  I see that you have solved. If for some reason you wish to keep both
  definitions (there may be reasons), just add noauto (no quotes) to one
  or both of the entries. This might be useful when you want to mount a
  different volume, e.g. as a temp mount for backup or copy purposes.
  This is handy when you have, e.g., a couple identical looking external
  usb drives that are used for different purposes on multiple machines.

  With label and noauto, it keeps me from accidentally mounting the
  wrong one. No, external labels won't do - purposes change frequently.


I'm not sure I understand this - there are no duplicate entries in
fstab, and the /misc volume does not automount during the boot, or
didn't the last time I booted the machine.

The problem is that I still have two icons on the desktop for a single
mounted disk.

?

If I want to get rid of the label, how do I do that?  'man e2label'
doesn't say how to delete an existing label

Thanks.

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread Ross S. W. Walker
MHR wrote:
 On Thu, Apr 24, 2008 at 3:36 PM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 
   I see that you have solved. If for some reason you wish to keep both
   definitions (there may be reasons), just add noauto (no quotes) to one
   or both of the entries. This might be useful when you want to mount a
   different volume, e.g. as a temp mount for backup or copy purposes.
   This is handy when you have, e.g., a couple identical looking external
   usb drives that are used for different purposes on multiple machines.
 
   With label and noauto, it keeps me from accidentally mounting the
   wrong one. No, external labels won't do - purposes change frequently.
 
 
 I'm not sure I understand this - there are no duplicate entries in
 fstab, and the /misc volume does not automount during the boot, or
 didn't the last time I booted the machine.
 
 The problem is that I still have two icons on the desktop for a single
 mounted disk.
 
 ?
 
 If I want to get rid of the label, how do I do that?  'man e2label'
 doesn't say how to delete an existing label

tune2fs -L  /dev/XXX

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread William L. Maltby
On Mon, 2008-04-28 at 13:52 -0700, MHR wrote:
 On Thu, Apr 24, 2008 at 3:36 PM, William L. Maltby
 [EMAIL PROTECTED] wrote:
 
   I see that you have solved. If for some reason you wish to keep both
   definitions (there may be reasons), just add noauto (no quotes) to one
   or both of the entries. This might be useful when you want to mount a
   different volume, e.g. as a temp mount for backup or copy purposes.
   This is handy when you have, e.g., a couple identical looking external
   usb drives that are used for different purposes on multiple machines.
 
   With label and noauto, it keeps me from accidentally mounting the
   wrong one. No, external labels won't do - purposes change frequently.
 
 
 I'm not sure I understand this - there are no duplicate entries in
 fstab, and the /misc volume does not automount during the boot, or
 didn't the last time I booted the machine.

The entry in fstab will mount automatically unless noauto is specified.
With HAL, UDEV et al active on your system, it is safe to assume that
one of them is mounting the device. At the time X starts, devices that
are handled via this facility will be made available to the user of the
desktop (and ownership is assigned to that user too IIUC). I don't
recall seeing noauto in your fstab entry.

Before logging on via X, switch to a vt and type mount. You'll probably
see the device already mounted. Then after you log in via X, do mount
again. I expect you'll see two mounts on the device.

 
 The problem is that I still have two icons on the desktop for a single
 mounted disk.

AFAIK, that is not a problem except to the wetware. The system is
perfectly happy with it. See man mount and look for bind to see
evidence of this.

I'm not that knowledgeable about the desktop, but I think Gnome has some
stuff it starts up that comminucates with HAL or udev to locate
removable devices and make them available on the desktop. This goes
beyond mount, IIUC. Witness a CD or DVD that is a video or music media.
It has no file system, as we understand it, and can't be formally
mounted. I *think* that's correct. Those devices should get accessed
through the raw device interfaces.

Maybe Gnome has some preferences about this?

 snip

HTH
-- 
Bill

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread MHR
On Mon, Apr 28, 2008 at 2:36 PM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:

  tune2fs -L  /dev/XXX


Thank you!

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread Ross S. W. Walker

Boot and root should be ok, but misc is probably causing problems with file
managers querying fstab and hal.

-Ross


- Original Message -
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: CentOS mailing list centos@centos.org
Sent: Mon Apr 28 18:30:00 2008
Subject: Re: [CentOS] Slightly OT: Extra icons on desktop

On Mon, Apr 28, 2008 at 2:36 PM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:

  tune2fs -L  /dev/XXX


Thank you!

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-28 Thread MHR
On Mon, Apr 28, 2008 at 3:49 PM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:

 Boot and root should be ok, but misc is probably causing problems with file
  managers querying fstab and hal.

  -Ross


Must be something like that - if I su and umount it, both icons go
away.  Then I 'mount -a' and only one comes back.  But if I log out
and log back in, they both come back.  Must a new feature of gnome
2.20.0

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Slightly OT: Extra icons on desktop

2008-04-24 Thread Ross S. W. Walker
MHR wrote:
 
 I'm running FC8 with Gnome 2.20.0 at work and I have this 
 interesting situation.
 
 I have two disks on the system that are both configured to be mounted
 in /etc/fstab, but I'm seeing two things I believe are strange.
 
 One is that the second drive is not getting mounted at boot time.
 
 The other is that I see two icons for the disk on my desktop - one
 with the mount point of the drive, the other with the labvel, and they
 both refer to the same drive (but, e.g., if I use one icon to umount
 the drive, the other icon does not go away - this is secondary).
 
 Suggestions welcome.  Here is my /etc/fstab:
 
 LABEL=/ /   ext3defaults1 1
 LABEL=/boot /boot   ext3defaults1 2
 tmpfs   /dev/shmtmpfs   defaults0 0
 devpts  /dev/ptsdevpts  gid=5,mode=620  0 0
 sysfs   /syssysfs   defaults0 0
 proc/proc   procdefaults0 0
 /dev/sda2   swapswapdefaults0 0
 LABEL=/misc /misc   ext3defaults1 2
 
 The drive that is misbehaving is /misc.
 
 This is (more or less) my first experience with FC, so have 
 mercy.  :-)

Slightly OT?

Only way it could be more OT is if this were a Mac OS X or
Windows forum... ;-)

I suggest, forgoing disk labels...

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

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


Re: [CentOS] Slightly OT: Extra icons on desktop

2008-04-24 Thread MHR
On Thu, Apr 24, 2008 at 11:11 AM, Ross S. W. Walker
[EMAIL PROTECTED] wrote:

  Slightly OT?

  Only way it could be more OT is if this were a Mac OS X or
  Windows forum... ;-)


You mean slightly isn't a synonym for way?  :-)

  I suggest, forgoing disk labels...


I umounted the drive, changed /etc/fstab not to use the label, removed
the /dev/disk/by-label symlink and now I get one icon with the name
/misc.

That looks right, so I'll go with it.  Thanks!

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos