Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help with usb automount in KDE [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Zubziro
Apprentice
Apprentice


Joined: 21 Sep 2005
Posts: 248
Location: Sweden

PostPosted: Fri Feb 10, 2006 10:22 am    Post subject: help with usb automount in KDE [solved] Reply with quote

Hi all !

I have some problems with mount usb pen drive.

When I insert drive icons appears on desktop but it's impossible to mount when I try to mount I get:
"mount: can't find /dev/sdc3 in /etc/fstab or /etc/mtab"

any ideas how to get mount working (without putting /dev/* in fstab) ???

Thanks


Last edited by Zubziro on Fri Feb 10, 2006 2:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
bitpicker
Apprentice
Apprentice


Joined: 28 Dec 2005
Posts: 163
Location: Germany

PostPosted: Fri Feb 10, 2006 10:34 am    Post subject: Reply with quote

Without an entry in fstab there is no place to mount this pen drive to. You can mount it manually: as root, create a directory called 'pendrive' (for example) in /mnt, then enter the command 'mount /dev/sdc3 /mnt/pendrive' - that should do the trick.

If you add a line like

Code:

/dev/sdc3       /mnt/pendrive      auto      users,noauto    0   0


to fstab, the icon should work, too.

Robin
Back to top
View user's profile Send private message
Zubziro
Apprentice
Apprentice


Joined: 21 Sep 2005
Posts: 248
Location: Sweden

PostPosted: Fri Feb 10, 2006 11:35 am    Post subject: Reply with quote

bitpicker wrote:
Without an entry in fstab there is no place to mount this pen drive to. You can mount it manually: as root, create a directory called 'pendrive' (for example) in /mnt, then enter the command 'mount /dev/sdc3 /mnt/pendrive' - that should do the trick.

If you add a line like

Code:

/dev/sdc3       /mnt/pendrive      auto      users,noauto    0   0


to fstab, the icon should work, too.

Robin


Thanks for replay !

isn't there any package that would do it for me ? for example in "/media" and create mountpoint automaticly ??

For example when I used "knoppix" I didn't have to write anything in fstab ... everything was created automaticly, I'v inserted USB HD/pendrive
and clicked mount on it then folders for respective drive for ex (sdc2, sdc3) was created automaticly in "/mnt"
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Fri Feb 10, 2006 11:49 am    Post subject: Reply with quote

Yes, Hal and/or dbus does that. I'm not sure what it takes to configure it, but you should be able to find that.

But note that there is a problem with how the kernel handles vfat filesystems. You have to make a modifcation to hal. This thread explains it. This is my post in it with an eloquent solution :)
Back to top
View user's profile Send private message
Zubziro
Apprentice
Apprentice


Joined: 21 Sep 2005
Posts: 248
Location: Sweden

PostPosted: Fri Feb 10, 2006 2:55 pm    Post subject: Solved Reply with quote

hehe it' was really easy to fix :-)
basicly I fount this http://gentoo-wiki.com/HOWTO_D-BUS,_HAL,_KDE_media:/ guide...
the only thing I needed was pmount... as I alredy have hal and dbus working...

so "emerge pmount" solved problem !
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Fri Feb 10, 2006 3:25 pm    Post subject: Reply with quote

Don't forget what I said about vfat filesystems, unless you want to throw away your pendrive next week.
Back to top
View user's profile Send private message
Zubziro
Apprentice
Apprentice


Joined: 21 Sep 2005
Posts: 248
Location: Sweden

PostPosted: Fri Feb 10, 2006 5:23 pm    Post subject: Reply with quote

halfgaar wrote:
Don't forget what I said about vfat filesystems, unless you want to throw away your pendrive next week.


Thanks for warning !

I don't use vfat and other nasty stuff related to Microsoft as I'm truly Linux user.
For any stuff that I need to get from home to W$ndows I use "sftp".

p.s. For 2 monts ago I'v get Windows XP source code just wanted to see... after that I been seen nightmares - it stinks,
there is thre cotegories of source code:
1. source code - then you look at it nothings happend
2. source code - then you look at it you cry becouse of happines
3. source code - you just cry (Microsoft case)
Back to top
View user's profile Send private message
halfgaar
l33t
l33t


Joined: 22 Feb 2004
Posts: 781
Location: Netherlands

PostPosted: Fri Feb 10, 2006 11:33 pm    Post subject: Reply with quote

Quote:
Thanks for warning !

I don't use vfat and other nasty stuff related to Microsoft as I'm truly Linux user.
For any stuff that I need to get from home to W$ndows I use "sftp".


Still, I'd follow my advice and disable the sync option for mobile storage, to prevent destroying friend's hardware.

Quote:
p.s. For 2 monts ago I'v get Windows XP source code just wanted to see... after that I been seen nightmares - it stinks,
there is thre cotegories of source code:
1. source code - then you look at it nothings happend
2. source code - then you look at it you cry becouse of happines
3. source code - you just cry (Microsoft case)


Not really relevant here, but let me just say that be cautious about mentioning that. I doubt that Microsoft likes what you're doing. And, I would guess a forum admin here, is going to delete that part of your message. It's kind of illegal material...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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