Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Cambiare etichetta disco
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Thu Oct 15, 2009 4:26 pm    Post subject: [RISOLTO] Cambiare etichetta disco Reply with quote

Una domanda semplice semplice (dovrebbe esserlo)...

Nel mio notebook ho diverse partizioni e quando devo procedere al backup non so mai quale sia cosa, quindi volevo dare un'etichetta alle varie partizioni del disco (in realtà da kde avevo già assegnato dei nomi, ma in realtà realizzo ora che l'etichetta è un'altra cosa).

Per etichetta intendo il campo che viene visualizzato ad esempio Gparted (nella colonna etichetta appunto) oppure anche da cfdisk, sempre nella colonna etichetta.

Come faccio ad assegnare appunto un valore a quel campo ?


Last edited by lsegalla on Fri Oct 16, 2009 2:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tigerwalk
Guru
Guru


Joined: 15 May 2007
Posts: 475
Location: Napoli

PostPosted: Thu Oct 15, 2009 4:43 pm    Post subject: Re: Cambiare etichetta disco Reply with quote

lsegalla wrote:
Una domanda semplice semplice (dovrebbe esserlo)...

Nel mio notebook ho diverse partizioni e quando devo procedere al backup non so mai quale sia cosa, quindi volevo dare un'etichetta alle varie partizioni del disco (in realtà da kde avevo già assegnato dei nomi, ma in realtà realizzo ora che l'etichetta è un'altra cosa).

Per etichetta intendo il campo che viene visualizzato ad esempio Gparted (nella colonna etichetta appunto) oppure anche da cfdisk, sempre nella colonna etichetta.

Come faccio ad assegnare appunto un valore a quel campo ?

dipende dal filesystem
per ext puoi utilizzare
tune2fs -L volume_name /dev/device
per fat:
mkdosfs -n volume_name /dev/device
_________________
Linux user N°447789
Carpe diem (quam minimum credula postero) -Orazio (I,11)
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Thu Oct 15, 2009 4:52 pm    Post subject: Reply with quote

non è necessario riformattare no ?
non perdo i dati dentro no giusto?
Back to top
View user's profile Send private message
Tigerwalk
Guru
Guru


Joined: 15 May 2007
Posts: 475
Location: Napoli

PostPosted: Thu Oct 15, 2009 5:02 pm    Post subject: Reply with quote

lsegalla wrote:
non è necessario riformattare no ?
non perdo i dati dentro no giusto?

no, comunque è una operazione che è consigliabile fare su partizioni smontate.
_________________
Linux user N°447789
Carpe diem (quam minimum credula postero) -Orazio (I,11)
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Thu Oct 15, 2009 5:54 pm    Post subject: Reply with quote

C'è anche e2label. Conta che comunque ogni filesystem ha il suo tool per effettuare l'operazione.
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
xdarma
l33t
l33t


Joined: 08 Dec 2003
Posts: 719
Location: tra veneto e friuli (italy)

PostPosted: Thu Oct 15, 2009 8:50 pm    Post subject: Re: Cambiare etichetta disco Reply with quote

lsegalla wrote:
quindi volevo dare un'etichetta alle varie partizioni del disco

Per reiserfs vale:

reiserfstune -l volume_name /dev/device

Senza riformattare ma con partizione non montata.
_________________
proud user of faKeDE-4.7.3 -> back to windowmaker -> moved to LXQt
Back to top
View user's profile Send private message
lordalbert
l33t
l33t


Joined: 26 Nov 2006
Posts: 840
Location: Italy

PostPosted: Thu Oct 15, 2009 9:24 pm    Post subject: Reply with quote

xfs? :) interesserebbe pure a me
Back to top
View user's profile Send private message
pierino_89
Guru
Guru


Joined: 03 Oct 2009
Posts: 522

PostPosted: Thu Oct 15, 2009 11:57 pm    Post subject: Reply with quote

lordalbert wrote:
xfs? :) interesserebbe pure a me

xfs-admin -L
_________________
Linux registered user 461710
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri Oct 16, 2009 9:08 am    Post subject: Reply with quote

ma con le partizioni smontate potenzialmente potrei farlo anche da Gparted?
perchè vedo che mi lascia ma non mi son ancora fidato a dare il comando APPLICA dall'apposito pulsante

ps - per l'ntfs come posso far eventualmente ?
pps - anche per la swap si puo' ?
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Fri Oct 16, 2009 10:38 am    Post subject: Reply with quote

lsegalla wrote:
ps - per l'ntfs come posso far eventualmente ?
pps - anche per la swap si puo' ?

Ellamiseria,tra poco dovremo anche darti la sgrullata finale dopo che l'hai fatta :roll:

X NTFS:
Code:

# emerge ntfsprogs
...
# man ntfslabel


X Swap:
Code:

man mkswap

_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri Oct 16, 2009 12:57 pm    Post subject: Reply with quote

1. chiedevo per ntfslabel perchè da cfdisk vedevo che non funzionava (in realtà cfdisk non vede il nome appena assegnato mentre gparted sì, quindi funziona)
2. chiedevo perchè pensavo non ci fosse il bisogno di rifare la swap per assegnare una label, altrimenti rifaccio sta swap e buonanotte, son un paio di comandi, ma non so io se questo potrebbe avere qualche risvolto di qualche tipo

Quindi se chiedo, c'è anche qualche spiegazione oltre alla grullaggine.

Grazie ancora
Back to top
View user's profile Send private message
oRDeX
Veteran
Veteran


Joined: 19 Oct 2003
Posts: 1325
Location: Italy

PostPosted: Fri Oct 16, 2009 1:58 pm    Post subject: Reply with quote

Rifare la swap non comporta alcun problema, ovviamente prima "spegnila" :P (magari quando non è in uso)
Back to top
View user's profile Send private message
lsegalla
l33t
l33t


Joined: 27 Jun 2007
Posts: 796

PostPosted: Fri Oct 16, 2009 2:18 pm    Post subject: Reply with quote

oRDeX wrote:
Rifare la swap non comporta alcun problema, ovviamente prima "spegnila" :P (magari quando non è in uso)

si ho già provveduto a farlo, in ogni caso, non dà nessun messaggio d'errore ma la stringa poi nell'etichetta non appare
poco male comunque perchè di solito la swap si vede quale è, mi interessavano di piu' le altre e le ho fatte tutte
io marco come risolto, se poi arriva la soluzione anche per questa tanto meglio per me ed altri che seguiranno

-- edit --
mi correggo, anche l'etichetta nella swap viene vista, solo che poi fuori non tutti i programmi la vedono (acronis nel mio caso, che uso per farmi i backup al volo), mentre gparted vede tutto, per esempio
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Fri Oct 16, 2009 5:29 pm    Post subject: Reply with quote

vado di fretta ma se provi da quell'altro OS a formattare prima fat e poi ntfs anche cfdisk riporterà un nome partizione, limitato ad 8+3 però.
Provare per credere.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum