Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems with Gnome and mounted Drives
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
-=$4$UK!=-
n00b
n00b


Joined: 25 May 2005
Posts: 14

PostPosted: Sun Jun 12, 2005 1:13 pm    Post subject: Problems with Gnome and mounted Drives Reply with quote

hello,

I have two problem with the latest version of Gnome(2.10) and drive handling.

I have many partitions, one ext 3 and the others are all vfat.
On startup they are all mounted automatically, and when I open the computer place (computer://),
i can see all vfat drives with their Windows-Name.
But I never see them in the nautilus-tree or on the desktop, does anyone else have a problem like this??

Here the fstab entry of one of the drives
Code:
/dev/hda1       /windows/C      vfat    users,gid=users,umask=0002,exec,iocharset=utf8  0       2



The other problem is when I use gamin, the removable devices like CD or USB-Stick are always mounted automatically by the volume-manager, but they arent available neither in the Nautlius-tree nor on the desktop. In the Computer-Place i can see the devices as unmounted, when I click on them to mount, i got an error message that they are already mounted( and they are), and suddenly the drives appear in the tree and on the desktop, and then I also can open them from the Computer-Place.
Before gamin I have used fam, but fam always causes problem like 100% CPU usage(xosview)

Does anyone have a solution for the two Problems??

thanks

sasuki
Back to top
View user's profile Send private message
vishnoo
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2005
Posts: 119
Location: Antony (France)

PostPosted: Sun Jun 12, 2005 2:04 pm    Post subject: Reply with quote

hello,

I don't really understand your first problem (do you mean you can't access /windows/C in nautilus??)

But for your second problem maybe I can help :

I encountered a similar problem when I could only access my usb disk in root, and I corrected it through the configuration of HAL (the program which mounts the drives automatically). If you use HAL (as I think) look what i did (i already posted it on the french forum https://forums.gentoo.org/viewtopic-p-2483954.html#2483954)

added a user who will have access to pluggable disks :
Code:
 # useradd plugdev

add your user to this group through modifying /etc/group:
Code:
 plugdev:x:NNN:your_user_here


and finally adding a config file to have your fat and ntfs drives mounted with right options (which you can change from mine naturelly) :
/usr/share/hal/fdi/95userpolicy/mystorage-policy.fdi :
Code:


<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">

 <!-- External disks with ms file systems:
        Match volumes from an external USB harddisk enclosure by file system
        If fat or ntfs (see section 'should_mount' in 90defaultpolicy) mount  with
        'plugdev' group rights
       
        vishnoo  -->
 <device>
    <match key="block.is_volume" bool="true">
      <match key="volume.fsusage" string="filesystem">
        <match key="@block.storage_device:storage.no_partitions_hint" bool="false">
          <match key="volume.partition.msdos_part_table_type" exists="true">
            <match key="volume.policy.should_mount" exists="true">
               <merge key="volume.policy.mount_option.dmask=0007" type="bool">true</merge>
               <merge key="volume.policy.mount_option.umask=0117" type="bool">true</merge>
               <merge key="volume.policy.mount_option.gid=plugdev" type="bool">true</merge>
               <merge key="volume.policy.mount_option.defaults" type="bool">true</merge>
               </match>
            </match>
          </match>
       </match>
    </match>
 </device>


</deviceinfo>


Hope it was this ...


Last edited by vishnoo on Sun Jun 12, 2005 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
-=$4$UK!=-
n00b
n00b


Joined: 25 May 2005
Posts: 14

PostPosted: Sun Jun 12, 2005 2:13 pm    Post subject: Reply with quote

1. I can acces /windows/C with nautilus, but there isnt any drive shown in the tree, you know where the Filesystem and home directory are accesable. And the drives arent schown at the desktop too.


2. I think the problem have s.th. to do with gamin.The drives are mounted automatically by hal or volume manager, but nautilus isnt updating neither the desktop nor the nautilus tree and the computer-place, but my usb stick is accesable through /media/usb. (this problem appears after changing from fam to gamin)


thanks

sasuki
Back to top
View user's profile Send private message
vishnoo
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jun 2005
Posts: 119
Location: Antony (France)

PostPosted: Sun Jun 12, 2005 2:23 pm    Post subject: Reply with quote

Ha, so it was not this, excuse me ^_^'
I thought it was maybe a rights problem
(ps i changed the line of the hal config file in the previous post before i saw your answer)
This time i don't know, gamin is masked so I didn't tried it....
Back to top
View user's profile Send private message
heedless
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 86

PostPosted: Sun Jun 12, 2005 2:24 pm    Post subject: Reply with quote

Just for the sake of it...

After gnome has been started, open a root terminal, and try unmounting and remounting the Windows drives.
See if they get updated now on the desktop/tree.

I suspect it might have something to do with the drives being mounted on Boot and gnome not being aware of it.
Back to top
View user's profile Send private message
-=$4$UK!=-
n00b
n00b


Joined: 25 May 2005
Posts: 14

PostPosted: Sun Jun 12, 2005 2:30 pm    Post subject: Reply with quote

deosnt help. I have also tried this and a lot of other things, but it only doesnt help.

But there is a thing I have noticed:
First I have unmounted /windows/C
then i opened computer://, and C still is there
when I click on C, it should be mounted automatically or not(C is user-mountable),
but nautlius is only opening /windows C without mounting anything

Is there a way to edit the drives in computer:// or even better in the tree??

thanks

sasuki
Back to top
View user's profile Send private message
CNaylor
n00b
n00b


Joined: 03 Sep 2004
Posts: 53
Location: Central Illinois (USA)

PostPosted: Sun Jun 12, 2005 6:59 pm    Post subject: Reply with quote

At the beginning you mention that you have many partitions, but later reffer to drives. It's confusing me a litter, but here's how I understand how Nautillus and Gnome Volume Manager work:

1) Partitions as a hard disk will appear at there mount points in the file system, but not as separate devices. I only have one harddrive some
I'm not entirely sure how multiple drives are handled, but I suspect that they are treated as part of the file system and just show up as their
mount point.

2) Removable media and network drives should appear as separate devices.

Like I said, I'm a little confused about what you are saying, but your partitions should not be shown as separtate devices in computer://. Mount points are edited in /etc/fstab, but I don't know of anyway to edit the setup of computer://.
Back to top
View user's profile Send private message
-=$4$UK!=-
n00b
n00b


Joined: 25 May 2005
Posts: 14

PostPosted: Sun Jun 12, 2005 7:19 pm    Post subject: Reply with quote

oh sorry, i haven't payed attention to this.

in 1 I mean partition of the same hard drive (hda) in gnome, on debian and at the first when I installed gentoo they were shown on the desktop and in the tree, then they disappear. In the computer:/// dialog they are shown just like they should. (like before in debian gnome 2.8).

in 2 I mean removable devices like usb sticks, which are automatically mounted by the volume manager but the dialogs arent refreshed by gamin, so it is a gamin proble, after i changed to it from fam.

sasuki
Back to top
View user's profile Send private message
CNaylor
n00b
n00b


Joined: 03 Sep 2004
Posts: 53
Location: Central Illinois (USA)

PostPosted: Mon Jun 13, 2005 1:19 am    Post subject: Reply with quote

I think I understand now, though I still don't remember different partitions on a HD ever showing up on the desktop and in computer://. Anyhow did a quick search on the forum and found this:

https://forums.gentoo.org/viewtopic-t-344418-highlight-gamin.html

In summation there are a couple of bug reports on gamin (I'm still using fam for now):

http://bugzilla.gnome.org/show_bug.cgi?id=171201
https://bugs.gentoo.org/show_bug.cgi?id=74285

Maybe that will help.
Back to top
View user's profile Send private message
-=$4$UK!=-
n00b
n00b


Joined: 25 May 2005
Posts: 14

PostPosted: Mon Jun 13, 2005 1:54 pm    Post subject: Reply with quote

on the gnome bugtracker stands that the bug have already been fixed,
how long do you think it will take the fix to get into gentoo??
Because I can wait, and if it wont take a long time it is no problem.

But maybe somebody knows a solution for Problem one??

thanks

sasuki
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum