LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-25-2009, 11:36 AM   #1
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85
Blog Entries: 3

Rep: Reputation: 17
9.04 usb automount


Hi All,

I just finished loading 9.04 on a Dell Vostro 420 desktop and I have no automount of usb devices. Output of dmesg follows:
Quote:
[ 120.748514] usb 2-2: new high speed USB device using ehci_hcd and address 2
[ 120.891676] usb 2-2: configuration #1 chosen from 1 choice
[ 120.912066] scsi10 : SCSI emulation for USB Mass Storage devices
[ 120.925020] usb-storage: device found at 2
[ 120.925022] usb-storage: waiting for device to settle before scanning
[ 125.928010] usb-storage: device scan complete
[ 125.929015] scsi 10:0:0:0: Direct-Access Patriot Memory PMAP PQ: 0 ANSI: 0 CCS
[ 127.184877] sd 10:0:0:0: [sdb] 62554112 512-byte hardware sectors: (32.0 GB/29.8 GiB)
[ 127.185374] sd 10:0:0:0: [sdb] Write Protect is off
[ 127.185376] sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 127.185378] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[ 127.186874] sd 10:0:0:0: [sdb] 62554112 512-byte hardware sectors: (32.0 GB/29.8 GiB)
[ 127.187373] sd 10:0:0:0: [sdb] Write Protect is off
[ 127.187375] sd 10:0:0:0: [sdb] Mode Sense: 23 00 00 00
[ 127.187376] sd 10:0:0:0: [sdb] Assuming drive cache: write through
[ 127.187378] sdb: sdb1
[ 127.187938] sd 10:0:0:0: [sdb] Attached SCSI removable disk
[ 127.187985] sd 10:0:0:0: Attached scsi generic sg2 type 0
This looks normal from what I can tell. This was after I inserted the usb stick after booting. The drive with the volume label appears in 'places' but I cannot launch a file browser. I suspect it's because the volume is not mounted.

I have also added 'usb_storage' to /etc/modules as it was not there which made absolutely no difference whatsoever.

I have also read the bug 366296. The threads stop on July 23rd. What's up with that? There is a post that seems to indicate that if I downgrade "hal, libhal1, and libhal-storage1", auto-mounting will work once again. Can anyone verify this? Also, how do you do a force downgrade?

In the meantime, I have to learn how to manually mount fat32 devices. I got the device to mount but not r/w from a non-root user. I am still trying to figure out how to mount giving read/write permissions to non-root users.

Rick
 
Old 08-25-2009, 11:55 AM   #2
mushroomboy
Member
 
Registered: Jan 2006
Distribution: Debian Testing ALWAYS!!!
Posts: 363

Rep: Reputation: 43
manual mount should be just:

mount -t fat32 /dev/hdxx /mnt/somefolder

If your editing fstab to mount you might want to look into mount permissions? Though if your manually typing in the mount like above and you don't get rw then manually set mount permissions. umask=220 or something, I don't remember but you'll have to set the proper umask I think
 
Old 08-25-2009, 12:12 PM   #3
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85

Original Poster
Blog Entries: 3

Rep: Reputation: 17
Quote:
Originally Posted by mushroomboy View Post
manual mount should be just:

mount -t fat32 /dev/hdxx /mnt/somefolder

If your editing fstab to mount you might want to look into mount permissions? Though if your manually typing in the mount like above and you don't get rw then manually set mount permissions. umask=220 or something, I don't remember but you'll have to set the proper umask I think
I figured out how to manually mount vfat with rw permissions to non-root users (assume device is 'sdb1' based on output from 'fdisk -l'):
Code:
mount -t vfat -o noauto,users,rw,umask=0 /dev/sdb1 /media/usb0
Which will mount as /media/usb0 (directory must have already been created).

Rick
 
  


Reply

Tags
automount, usb



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Automount: /media/USB Disk morxy Linux - Hardware 3 10-20-2006 08:08 AM
USB automount in KDE 3.5.5? rothchild Ubuntu 0 10-17-2006 07:47 AM
usb automount: how does it work? iam whoiam Linux - General 1 08-12-2006 02:44 AM
usb stick automount mfrangos79 Linux - Hardware 9 09-19-2005 09:55 AM
USB automount delta_simon Linux - Software 2 04-09-2005 04:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration