[27314] in Athena Bugs

home help back first fref pref prev next nref lref last post

Re: attach-usb uses wrong device name

daemon@ATHENA.MIT.EDU (Jonathan Reed)
Fri Jun 12 14:09:16 2009

From: Jonathan Reed <jdreed@mit.edu>
To: belmonte@mit.edu (Matthew Belmonte)
In-Reply-To: <200906121757.n5CHvVt6018095@contents-vnder-pressvre.mit.edu>
Message-Id: <A6D0E513-04BD-4244-AF6E-5C1F7C451348@mit.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v919.2)
Date: Fri, 12 Jun 2009 14:03:31 -0400
X-Spam-Flag: NO
X-Spam-Score: 0.00
Cc: bugs@mit.edu, consultdev@mit.edu
Reply-To: consultdev@mit.edu
Errors-To: bugs-bounces@mit.edu

This is maintained by Athena Consulting and is not part of the  
release, so after this message, I'll drop bugs from the CC and add  
consultdev.

Most flash drives do in fact have their only filesystem in /dev/sdb1.   
attach-usb tries to be as clever as possible to deal with the myriad  
flash drives out there and their unusual partitioning schemes.  It  
seems you have an unusual flash drive.  Can you send us the make and  
model of your flash drive, as well as the output of fdisk -l /dev/ 
sdb?   Additionally, can you let us know whether the flash drive was  
ever reformatted/repartitioned by you, or if it is using the vendor's  
original format and partitioning scheme?

-Jon


On Jun 12, 2009, at 1:57 PM, Matthew Belmonte wrote:

> On w20-575-13.mit.edu, the script "/mit/consult/attach-usb" fails  
> because it
> tries to use non-existent device /dev/sdb1 instead of /dev/sdb.   
> Running
> "mount /dev/sdb /mnt/usb" after the script fails does the right  
> thing; all
> directories on the USB drive are visible.
>
> The need for a solution to this problem should be obviated by the  
> release
> of Athena 10.  Nevertheless, I thought it worth reporting in case  
> similar
> questions arise in the interim.
>
> w20-575-13.mit.edu 2.6.9-78.0.8.ELsmp #1 SMP Wed Nov 5 07:10:44 EST  
> 2008 i686 i686 i386 GNU/Linux

--
Jonathan Reed
Client Support Services
Information Services & Technology
Massachusetts Institute of Technology
jdreed@mit.edu

MIT will never require you to reveal your password to anyone.  Do not  
respond to any communication requesting that you reveal your password.






home help back first fref pref prev next nref lref last post