precisazione per riconoscimento hd

View: New views
3 Messages — Rating Filter:   Alert me  

precisazione per riconoscimento hd

by Nic-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Buon fine settimana a tutta la lista.
Tempo fa mi avevate aiutato ad indentificare gli hd esterni usb con i
comandi da shell per fare in modo di assegnare ad ognuno un mount point
in modo da non incasinarli. :-)
La settimana scorsa ho acquistato un hub per porte usb e ora ho notato
che in Lenny,se eseguo il comando:
>  ls -l /dev/disk/by-uuid/
mi viene rilevato solo l'hd del portatile mentre con

> ls -l /dev/disk/by-id/
ottengo
> lrwxrwxrwx 1 root root  9  7 nov 08:22
> usb-WDC_WD50_00AAJS-22YFA0_FDC0FD500000000FD0FCAF8116902-0:0 -> ../../sda
la sintassi che usavo in fstab era la seguente:
> UUID=uuid_tua_partizione /media/sda1 ext3 rw,user,noauto  0 0
>  
ora al posto di UUID posso mettere ID e poi successivamente il risultato
di ls -l /dev/disk/by-id/?
Grazie a tutti

--
-= Nic =-
Amico di Emergency_2009
Linux registered user # 380338
Linux registered machine # 283289
Msn:nicbrigante@...
Skype:nicbrigante


--
Per REVOCARE l'iscrizione alla lista, inviare un email a
debian-italian-REQUEST@... con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a listmaster@...

To UNSUBSCRIBE, email to debian-italian-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Re: precisazione per riconoscimento hd

by skizzhg-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il giorno Sat, 07 Nov 2009 08:35:56 +0100
Nic <nic666@...> ha scritto:

> >  ls -l /dev/disk/by-uuid/
> mi viene rilevato solo l'hd del portatile mentre con
>
> > ls -l /dev/disk/by-id/
> ottengo
> > lrwxrwxrwx 1 root root  9  7 nov 08:22
> > usb-WDC_WD50_00AAJS-22YFA0_FDC0FD500000000FD0FCAF8116902-0:0
> > -> ../../sda
> la sintassi che usavo in fstab era la seguente:
> > UUID=uuid_tua_partizione /media/sda1 ext3 rw,user,noauto  0 0
> >  
> ora al posto di UUID posso mettere ID e poi successivamente il
> risultato di ls -l /dev/disk/by-id/?

le opzioni sono UUID o LABEL
per impostare una label puoi usare

mlabel per fat (pacchetto mtools)
ntfslabel per ntfs (pacchetto ntfsprogs)
e2label per ext* (pacchetto e2fsprogs)

ciao
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEUEARECAAYFAkr1LtcACgkQ4D1DBes7RtFh+gCgreRSP+B19RNSymkzzYxOqkEh
F1QAlRHU6c9kyMqDhUF+kBa1C177eRI=
=WiBs
-----END PGP SIGNATURE-----

Re: precisazione per riconoscimento hd

by Nic-18 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

skizzhg ha scritto:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Il giorno Sat, 07 Nov 2009 08:35:56 +0100
> Nic <nic666@...> ha scritto:
>
>  
>>>  ls -l /dev/disk/by-uuid/
>>>      
>> mi viene rilevato solo l'hd del portatile mentre con
>>
>>    
>>> ls -l /dev/disk/by-id/
>>>      
>> ottengo
>>    
>>> lrwxrwxrwx 1 root root  9  7 nov 08:22
>>> usb-WDC_WD50_00AAJS-22YFA0_FDC0FD500000000FD0FCAF8116902-0:0
>>> -> ../../sda
>>>      
>> la sintassi che usavo in fstab era la seguente:
>>    
>>> UUID=uuid_tua_partizione /media/sda1 ext3 rw,user,noauto  0 0
>>>  
>>>      
>> ora al posto di UUID posso mettere ID e poi successivamente il
>> risultato di ls -l /dev/disk/by-id/?
>>    
>
> le opzioni sono UUID o LABEL
> per impostare una label puoi usare
>
> mlabel per fat (pacchetto mtools)
> ntfslabel per ntfs (pacchetto ntfsprogs)
> e2label per ext* (pacchetto e2fsprogs)
>
> ciao
>  
Grazie mille!!!
Ciao

--
-= Nic =-
Amico di Emergency_2009
Linux registered user # 380338
Linux registered machine # 283289
Msn:nicbrigante@...
Skype:nicbrigante


--
Per REVOCARE l'iscrizione alla lista, inviare un email a
debian-italian-REQUEST@... con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a listmaster@...

To UNSUBSCRIBE, email to debian-italian-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...