[CentOS] Slightly OT: Extra icons on desktop
William L. Maltby
CentOS4Bill at triad.rr.com
Tue Apr 29 21:56:05 UTC 2008
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 ext2 defaults,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 ext2 noauto 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
More information about the CentOS
mailing list