[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: precisazione per riconoscimento hd



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

Il giorno Sat, 07 Nov 2009 08:35:56 +0100
Nic <nic666@gmail.com> 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-----

Reply to: