Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[FDISK] renommer partition (résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
nOps34
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2006
Posts: 105
Location: France - Montpellier

PostPosted: Fri Jan 05, 2007 12:29 pm    Post subject: [FDISK] renommer partition (résolu) Reply with quote

je n'arrive pas à changer le petit nom d'une partition et j'ai donc sur mon bureau un austère "44.4 GB Volume"... :?
une idée?


Last edited by nOps34 on Fri Jan 05, 2007 11:12 pm; edited 2 times in total
Back to top
View user's profile Send private message
Mickael
Advocate
Advocate


Joined: 05 Sep 2005
Posts: 2387
Location: ~Belfort! - France - EU

PostPosted: Fri Jan 05, 2007 12:31 pm    Post subject: Reply with quote

Nomme le correctement dans ton fstab, non?

EDIT : Enlève non-résolu, un problème est résolu ou ne l'est pas, donc pas la peine de spécifier qu'il n'est pas encore résolu :wink:
_________________
À LIRE : COMMENT POSTER ET OBTENIR DE L'AIDE ?
Qui suis-je ? Bon j'ai relu, comme d'habitude, je suis bon a rien le vendredi
Qui suis-je ? Je ne serai jamais modo
Back to top
View user's profile Send private message
Magic Banana
Veteran
Veteran


Joined: 13 Dec 2005
Posts: 1912
Location: Belo Horizonte, Minas Gerais, Brasil

PostPosted: Fri Jan 05, 2007 12:34 pm    Post subject: Reply with quote

Définir le nom de volume d'un système de fichiers:
# tune2fs -L nom_du_volume périphérique


La prochaine fois, s'il te plaît, n'écrit pas "(non résolu)" car ton sujet sera trouvé lors d'une recherche avec le mot clé "résolu" (exactement le contraire de ce que l'on veut).
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Fri Jan 05, 2007 12:43 pm    Post subject: Reply with quote

@Magic Banana, oui ça c'est pour les ext bro, mais en règle générale, tous les mkfs ont une option -L, et pour un re-nommage faut voir les outils spécifiques au fs.
Back to top
View user's profile Send private message
Farnsworth
Guru
Guru


Joined: 04 Feb 2003
Posts: 355
Location: Aix en Pce, France

PostPosted: Fri Jan 05, 2007 1:41 pm    Post subject: Reply with quote

si c'est de la fat ca m'interesse, j'avais eu le meme souci et j'etais alle chez un pote renommer mes partoches, j'avais pas trouve d'outil qui permettait de modifier le label d'une fat, juste trouve de quoi le definir au formatage.
_________________
Good news everyone!
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Fri Jan 05, 2007 2:51 pm    Post subject: Reply with quote

pas moyen avec un outil du genre Parted ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Fri Jan 05, 2007 3:03 pm    Post subject: Reply with quote

"Si j'avais un marteau, je cognerais ...". Pourquoi utiliser une usine à gaz alors que la lecture d'un manuel peut suffire ??

man mkfs.vfat :arrow: option -n :
Code:
-n volume-name
         Sets the volume name (label) of the filesystem.  The volume name
         can be up to 11 characters long.   The default is no label.


EDIT : voici la signature qui a inspirée mes premiers mots :
=> Abraham Maslow : Lorsque votre seul outil est un marteau, vous avez tendance à traiter tous les problèmes comme un clou.
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8708
Location: ~Brussels - Belgique

PostPosted: Fri Jan 05, 2007 3:28 pm    Post subject: Reply with quote

Salut,
Code:
mkfs.${votre_fs_prefere} -n
n'est donc pas destructif ?
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
nOps34
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2006
Posts: 105
Location: France - Montpellier

PostPosted: Fri Jan 05, 2007 7:16 pm    Post subject: Reply with quote

tu as raison yoyo, j'aurai du regarder le man mkfs.ext3 avant de poster :?
ceci-dit, j'ai résolu mon pb en formatant ma partition avec l'option -L "nom de la partition"; j'ai donc perdu toutes les données (ok, il n'y avait rien! :lol:)
peut-on changer le nom sans formater?
PS: cette fois j'ai regardé les man mais j'ai pas trouvé! :wink:
Back to top
View user's profile Send private message
nemo13
Veteran
Veteran


Joined: 08 Oct 2004
Posts: 1016
Location: France/Istres

PostPosted: Fri Jan 05, 2007 10:12 pm    Post subject: Reply with quote

XavierMiller wrote:
Salut,
Code:
mkfs.${votre_fs_prefere} -n
n'est donc pas destructif ?

Ayant la même interrogation et n'ayant jamais eu envie de "sacrifier" une partition j'utilise tune2fs mais si ...
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Fri Jan 05, 2007 11:00 pm    Post subject: Reply with quote

tune2fs -L ... pour ext2/ext3 et xfs_admin -l ... pour XFS, le reste je sais pas :P
Back to top
View user's profile Send private message
nOps34
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2006
Posts: 105
Location: France - Montpellier

PostPosted: Fri Jan 05, 2007 11:12 pm    Post subject: Reply with quote

parfait, merci geekounet :D
on peut dire que c'est résolu!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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