View previous topic :: View next topic |
Author |
Message |
canduc17 l33t


Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Sun Nov 20, 2005 9:08 pm Post subject: [RISOLTO] Dov'è la mia penna in /dev? [RISOLTO] |
|
|
Scusatemi, sicuramente la domanda è da novellino, ma come faccio a sapere che device è la mia penna usb in /dev (ce sono più di un centinaio!), per poterla montare da shell (non ho ancora su l'interfaccia grafica).
So che deve essere un dispositivo a blocchi, ma cmq i device sono sempre un'enormità...help! _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito)
Last edited by canduc17 on Tue Nov 22, 2005 4:55 pm; edited 2 times in total |
|
Back to top |
|
 |
.:chrome:. Advocate


Joined: 19 Feb 2005 Posts: 4588 Location: Brescia, Italy
|
Posted: Sun Nov 20, 2005 9:14 pm Post subject: Re: Dov'è la mia penna in /dev? |
|
|
prima di tutto:
cambia, in /etc/conf.d/rc, la voce RC_DEVICE_TARBALL da yes a no. in questo modo /dev viene ripulita al boot e vengono creati solo i devices che hai (pochi se il sistema è ben configurato)
per sapere che device viene assegnato basta che guardi i log del kernel. inserisci la penna e poi da un dmesg | tail -n 10 |
|
Back to top |
|
 |
canduc17 l33t


Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Sun Nov 20, 2005 9:27 pm Post subject: |
|
|
Fatto. Quello che mi restituisce e che mi sembra interessante è:
Code: |
cs: IO port probe 0xc00-0xcff: clean
...
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
|
E adesso? _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
 |
canduc17 l33t


Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Sun Nov 20, 2005 9:33 pm Post subject: [RISOLTO] Dov'è la mia penna in /dev? [RISOLTO] |
|
|
Grazie, ce l'ho fatta! _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
 |
lopio Veteran


Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Sun Nov 20, 2005 9:35 pm Post subject: |
|
|
ciao ricontrolla in dmesg ma come primo tentativo guarda cosa hai in /dev/sdXXX con XXX=a oppure b oppure c ... |
|
Back to top |
|
 |
thewally l33t


Joined: 12 May 2005 Posts: 703 Location: Genova
|
Posted: Sun Nov 20, 2005 11:38 pm Post subject: |
|
|
lopio wrote: | ciao ricontrolla in dmesg ma come primo tentativo guarda cosa hai in /dev/sdXXX con XXX=a oppure b oppure c ... |
Si, qualcosa del tipo:
 _________________ Proudly Member of GeCHI |
|
Back to top |
|
 |
nick_spacca l33t


Joined: 29 May 2004 Posts: 689 Location: Paris/France
|
Posted: Mon Nov 21, 2005 1:37 am Post subject: Re: [RISOLTO] Dov'è la mia penna in /dev? [RISOLTO] |
|
|
canduc17 wrote: | Grazie, ce l'ho fatta! |
Se hai realmente risolto, devi editare il titolo DEL PRIMO POST e non uno qualsiasi in modo che cambi il titolo del thread
PS: se magari ci spieghi anche come sei riuscito a far funzionare il tutto, potrebbe essere di aiuto in futuro a qualcun altro nelle tue stesse condizioni... _________________ I can resist anything but temptation.
(O. Wilde) |
|
Back to top |
|
 |
canduc17 l33t


Joined: 11 Oct 2005 Posts: 795 Location: Ferrara, Italy
|
Posted: Tue Nov 22, 2005 4:45 pm Post subject: |
|
|
Ah, ok...volevo in effetti modificare il titolo per fare sapere che avevo risolto il problema, ma non avendolo mai fatto ho sbagliato post...chiedo venia.
Ho fatto in questo modo:
Dopo aver inserito la penna usb ho digitato:
col quale ho ottenuto:
Code: |
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 499712 512-byte hdwr sectors (256 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
sda: sda1
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
usb-storage: device scan complete
|
La penna è quindi in /dev/sda1.
Allora per montarla ho digitato:
Code: |
mkdir /mnt/penna
mount /dev/sda1 /mnt/penna
|
Ciaooo! _________________ A cow enters a supermarket, does an handstand and dies. (Public toilet graffito) |
|
Back to top |
|
 |
|