Re: [gentoo-user] Balky mounting of external devices

2011-10-22 Thread Neil Bothwick
On Fri, 21 Oct 2011 20:03:21 -0400, Walter Dnes wrote:

 * Attach a device to the PC's USB port, and you'll see a bunch of stuff
   spewing out.  In my case, the last 3 lines are...
 
 Oct  7 20:50:23 localhost kernel: [114416.426175] scsi 26:0:0:0:
 Direct-Access HTC  Android Phone0100 PQ: 0 ANSI: 2 Oct  7
 20:50:23 localhost kernel: [114416.426336] sd 26:0:0:0: Attached scsi
 generic sg3 type 0 Oct  7 20:50:23 localhost kernel: [114416.432119] sd
 26:0:0:0: [sdc] Attached SCSI removable disk
 
 * If I try mounting /dev/sdc1 (either as ordinary user or root), it's
   not found
 * fdisk -l doesn't even see /dev/sdc

This came up recently with a different subject. Your device does not have
a partition table, instead the filesystem occupies the whole device
(sometimes referred to as a superfloppy format). There's nothing wrong
with this, I have a couple of USB sticks like it, and my Nexus S is the
same.

Your automounter should still pick it up.


-- 
Neil Bothwick

Top Oxymorons Number 33: American history


signature.asc
Description: PGP signature


[gentoo-user] Balky mounting of external devices

2011-10-21 Thread Walter Dnes
  This has happened to me with a few different external devices (USB
keys, etc) on multiple computers, so it seems to be a generic problem.
Right now, I have an HTC Desire HD with the smae problem...

* Either hit {CTRL}{ALT}{F12} to switch to tty12 or else (as root) execute
  tail -f /var/log/messages

* Attach a device to the PC's USB port, and you'll see a bunch of stuff
  spewing out.  In my case, the last 3 lines are...

Oct  7 20:50:23 localhost kernel: [114416.426175] scsi 26:0:0:0: Direct-Access  
   HTC  Android Phone0100 PQ: 0 ANSI: 2
Oct  7 20:50:23 localhost kernel: [114416.426336] sd 26:0:0:0: Attached scsi 
generic sg3 type 0
Oct  7 20:50:23 localhost kernel: [114416.432119] sd 26:0:0:0: [sdc] Attached 
SCSI removable disk

* If I try mounting /dev/sdc1 (either as ordinary user or root), it's
  not found
* fdisk -l doesn't even see /dev/sdc

***BUT***

* as root fdisk /dev/sdc, and quit immediately

and now fdisk -l sees /dev/sdc, and regular user can mount it.  Has
anyone seen this before... and more importantly, found a solution?

-- 
Walter Dnes waltd...@waltdnes.org