projects
/
grml-tips.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
75d5fd7
)
Use blkid instead of vol_id
author
Ulrich Dangel
<uli@spamt.net>
Sun, 14 Feb 2010 10:09:17 +0000
(11:09 +0100)
committer
Ulrich Dangel
<uli@spamt.net>
Sun, 14 Feb 2010 10:10:29 +0000
(11:10 +0100)
grml_tips
patch
|
blob
|
history
diff --git
a/grml_tips
b/grml_tips
index
c71c185
..
2b31c32
100644
(file)
--- a/
grml_tips
+++ b/
grml_tips
@@
-2106,38
+2106,38
@@
See also: http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html
Check filesystem's LABEL:
generic way:
Check filesystem's LABEL:
generic way:
-#
vol_id -l
/dev/sda1
+#
blkid
/dev/sda1
-ext2/3 without
vol_
id:
+ext2/3 without
blk
id:
# dumpe2fs /dev/sda1 | grep "Filesystem volume name"
# dumpe2fs /dev/sda1 | grep "Filesystem volume name"
-xfs without
vol_
id:
+xfs without
blk
id:
# xfs_admin -l /dev/sda1
# xfs_admin -l /dev/sda1
-reiserfs without
vol_
id:
+reiserfs without
blk
id:
# debugreiserfs /dev/sda1 | grep -i label
# debugreiserfs /dev/sda1 | grep -i label
-jfs without
vol_
id:
+jfs without
blk
id:
# jfs_tune -l /dev/sda1 | grep -i label
# jfs_tune -l /dev/sda1 | grep -i label
-reiser4 without
vol_
id:
+reiser4 without
blk
id:
# debugfs.reiser4 /dev/sda1 | grep -i label
--
Check filesystem's UUID:
generic way:
# debugfs.reiser4 /dev/sda1 | grep -i label
--
Check filesystem's UUID:
generic way:
-#
vol_id -u
/dev/sda1
+#
blkid
/dev/sda1
-ext2/3 without
vol_
id:
+ext2/3 without
blk
id:
# dumpe2fs /dev/sda1 | grep -i UUID
# dumpe2fs /dev/sda1 | grep -i UUID
-xfs without
vol_
id:
+xfs without
blk
id:
# xfs_admin -u /dev/sda1
# xfs_admin -u /dev/sda1
-reiserfs without
vol_
id:
+reiserfs without
blk
id:
# debugreiserfs /dev/sda1 | grep -i UUID
# debugreiserfs /dev/sda1 | grep -i UUID
-reiser4 without
vol_
id:
+reiser4 without
blk
id:
# debugfs.reiser4 /dev/sda1 | grep -i UUID
--
Change a filesystem's LABEL:
# debugfs.reiser4 /dev/sda1 | grep -i UUID
--
Change a filesystem's LABEL: