You are not logged in.

#1 2007-04-05 23:38:02

rbrownclown
Member
Registered: 2006-12-29
Posts: 125

(Still Unsolved) Tying up loose ends...

1.  In "Computer," there are more drives then there should be.  fl, cd, DVD, Filesystem, and Network.  Obviously, I need Filesystem and Network.  I only have one DVD drive, and no floppy.  Can someone explain to me whether or not these extra things serve a purpose, and how to get rid of them if they don't?

2.  When I insert a CD/DVD, it seems to mount fine by itself.  When I click on it in Computer, a disk icon pops up on the desktop.  It's like I have to wake it up before the desktop realizes that it's mounted.  When I right click on that icon and hit Eject, I get an error.  Something about not being able to run the command.

3.  How do I make it auto mount thumb drives and cameras?

4.  How do I add my NTFS Windows partition (hda1) and FAT32 Data partition (hda2) to the fstab, and mount it?  Write support on both of them would be nice.

I'm using Arch 64 and Gnome.

Edit - updates on this below.

Last edited by rbrownclown (2007-04-07 00:19:25)

Offline

#2 2007-04-06 02:38:40

vogt
Member
From: Toronto, Canada
Registered: 2006-11-25
Posts: 389

Re: (Still Unsolved) Tying up loose ends...

not so sure about the gnome stuff, but:
for the ntfs stuff follow
the wiki

fstab format is pretty well commented, the filesystem type for fat32 is vfat last time I checked

# <file system>        <dir>         <type>    <options>          <dump> <pass>

/dev/hda1 /Where/You/Want/It vfat rw,<other options> 0 0

spoonfed console command something like (as root)

echo "/dev/hda1 /Where/You/Want/It vfat rw,<other options> 0 0" >> /etc/fstab

Offline

#3 2007-04-06 03:14:14

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: (Still Unsolved) Tying up loose ends...

1. Make sure you have both dbus and hal running before starting GNOME.

Offline

#4 2007-04-06 03:58:17

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: (Still Unsolved) Tying up loose ends...

rbrownclown wrote:

When I right click on that icon and hit Eject, I get an error.  Something about not being able to run the command.

Don't know for sure, but you might need to install 'eject':  pacman -S eject

4.  How do I add my NTFS Windows partition (hda1) and FAT32 Data partition (hda2) to the fstab, and mount it?  Write support on both of them would be nice.

Write support to fat32 - no problem - just follow the post previous.  Write support to ntfs is going to be touch-and-go afaik.  I'm using ntfs-3g to mount my ntfs partitions, but I don't dare try to write to them.  Just add lines to /etc/fstab with the fstype set to 'ntfs-3g' and install the ntfs-3g package: pacman -S ntfs-3g

For example, relevant parts of my fstab look like this:

/dev/hda1  /mnt/windows    ntfs-3g  noauto,ro,umask=002         0      0
/dev/hdb6  /mnt/video      vfat     user,rw,uid=500,umask=002   0      0

I use the umask option because ntfs and fat32 don't support unix permissions, so everything on those drives will be chmodded 775.

Last edited by Cerebral (2007-04-06 03:59:25)

Offline

#5 2007-04-06 21:22:19

rbrownclown
Member
Registered: 2006-12-29
Posts: 125

Re: (Still Unsolved) Tying up loose ends...

The partitions are mounted and working.  Thanks for helping me clear that up.

I'm still having problems with CD's, though.  After adding dbus and hal to the daemons, they seem to mount fine.  The icon appears on the desktop.  The problem is - I can't browse the files on it.  I'll double click on it and nothing will come up.

Will dbus and hal mount thumb drives as well?

I'm still curious about the extra drives in Computer.  If someone has an explanation for it, I'd love to hear it.

Offline

#6 2007-04-06 22:21:12

matahari
Member
From: Bandung, Indonesia
Registered: 2007-04-04
Posts: 59

Re: (Still Unsolved) Tying up loose ends...

try add yourself to storage group :

gpasswd -a YOURUSERNAME storage

or you could manually edit /etc/dbus-1/system.d/hal.conf looks for policy setings ...

Offline

#7 2007-04-06 22:44:37

rbrownclown
Member
Registered: 2006-12-29
Posts: 125

Re: (Still Unsolved) Tying up loose ends...

matahari wrote:

try add yourself to storage group :

gpasswd -a YOURUSERNAME storage

or you could manually edit /etc/dbus-1/system.d/hal.conf looks for policy setings ...

That did the trick.  I can now browse CD's.

Offline

#8 2007-04-07 00:22:45

rbrownclown
Member
Registered: 2006-12-29
Posts: 125

Re: (Still Unsolved) Tying up loose ends...

I take that back.  Turns out, I wasn't browsing a CD.  I accidentally clicked on one of my partitions.  Here's where that leaves me:

1.  Right click -> Eject still doesn't work.  I already installed eject via pacman.

2.  CD's now mount and appear on the desktop.  Apps such as Sound Juicer and Xine-UI can access the files, but I can't double click on it and browse it with the file manager.  I get no error messages.

Offline

#9 2007-04-07 08:48:02

matahari
Member
From: Bandung, Indonesia
Registered: 2007-04-04
Posts: 59

Re: (Still Unsolved) Tying up loose ends...

After you add yourself to storage group try to comment /mnt/cdrom line @ /etc/fstab something like this :

#/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0

that will solve your eject problem.
i dont know why you cant browse w/ file manager though (its look like nautilus thingies).. anyway im using xfce4 w/ thunar and it works fine smile

Offline

#10 2007-04-07 14:28:01

rbrownclown
Member
Registered: 2006-12-29
Posts: 125

Re: (Still Unsolved) Tying up loose ends...

matahari wrote:

After you add yourself to storage group try to comment /mnt/cdrom line @ /etc/fstab something like this :

#/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0

that will solve your eject problem.
i dont know why you cant browse w/ file manager though (its look like nautilus thingies).. anyway im using xfce4 w/ thunar and it works fine smile

I figured out why I can't browse CD's.  Audio CD's don't have a file system, so I can't browse them like regular CD's.

I already commented that line in fstab.  Eject still doesn't work.

Offline

#11 2007-04-07 15:07:31

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: (Still Unsolved) Tying up loose ends...

You need the optical group, not the storage group (at least for eject).

Offline

#12 2007-04-07 15:11:19

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: (Still Unsolved) Tying up loose ends...

Cerebral wrote:

For example, relevant parts of my fstab look like this:

/dev/hda1  /mnt/windows    ntfs-3g  noauto,ro,umask=002         0      0
/dev/hdb6  /mnt/video      vfat     user,rw,uid=500,umask=002   0      0

I use the umask option because ntfs and fat32 don't support unix permissions, so everything on those drives will be chmodded 775.

You might wanna do more than that, this is from my fstab:

/dev/disk/by-label/Windows /mnt/win ntfs-3g defaults,gid=100,dmask=0007,fmask=0117 0 0

This allow all users from the "users"(gid 100 here) group to write to the ntfs partition. All files will have the rights 660, all directories will have 770 (664 and 775 could be useful as well, depends).

Offline

#13 2007-04-07 19:22:58

rbrownclown
Member
Registered: 2006-12-29
Posts: 125

Re: (Still Unsolved) Tying up loose ends...

brain0 wrote:

You need the optical group, not the storage group (at least for eject).

My user is already in the optical group.

Offline

#14 2007-04-08 02:32:20

matahari
Member
From: Bandung, Indonesia
Registered: 2007-04-04
Posts: 59

Re: (Still Unsolved) Tying up loose ends...

anyway this is my groups :

groups=10(wheel),92(audio),95(storage),98(power),1000(me)

this is my fstab :

#/dev/cdrom /mnt/cdrom   iso9660   ro,user,noauto,unhide   0      0
#/dev/fd0 /mnt/fd0   vfat   user,noauto   0      0
/dev/hda3 /boot ext2 defaults 0 1
/dev/hda5 swap swap defaults 0 0
/dev/hda6 / ext3 defaults 0 1
/dev/hda7 /tmp ext3 defaults 0 1
/dev/hda8 /var ext3 defaults 0 1
/dev/hda9 /home ext3 defaults 0 1
/dev/hda2 /mnt/data ext2 defaults 0 1

my daemon:

DAEMONS=(syslog-ng network iptables ip6tables crond tor privoxy hal fam alsa)

after that pacmanting thunar-volman (coz im using xfce, ups.. maybe you need gnome-volume-manager) and all my auto-mounting-eject drama ends smile

Offline

Board footer

Powered by FluxBB