public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question on the removable flag of USB devices
@ 2009-05-25 16:45 Rogério Brito
  2009-05-25 18:48 ` Matthew Dharm
  0 siblings, 1 reply; 4+ messages in thread
From: Rogério Brito @ 2009-05-25 16:45 UTC (permalink / raw)
  To: Alan Stern; +Cc: linux-kernel, linux-usb

Dear Alan,

Since we're talking about USB devices, I would like to ask you one
thing: I have some USB HD enclosures and I want to mount them with
pmount, for instance.

Unfortunately, pmount won't allow the user to mount devices if it has
the removable flag set to 0.

For instance, here is one of my external drives:

rbrito@chagas:~$ cat /sys/block/sda/removable 
0
rbrito@chagas:~$ 

The question is: how are devices determined to be removable or not?
Sorry if this question is too naive.


Thanks,

-- 
Rogério Brito : rbrito@{mackenzie,ime.usp}.br : GPG key 1024D/7C2CAEB8
http://www.ime.usp.br/~rbrito : http://meusite.mackenzie.com.br/rbrito
Projects: algorithms.berlios.de : lame.sf.net : vrms.alioth.debian.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-26 17:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25 16:45 Question on the removable flag of USB devices Rogério Brito
2009-05-25 18:48 ` Matthew Dharm
2009-05-26 16:36   ` Stefan Richter
2009-05-26 17:34     ` Matthew Dharm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox