Red Hat Bugzilla – Bug 597118
A warning should be given in the help of mke2journal-L for the length of label
Last modified: 2011-07-14 15:11:47 EDT
Description of problem:
For the mke2journal-L, label is limited to 16 bytes. So if you set label longer than that length, it will be truncated. Thus the label set may not be as what you expect. So it is better to add some warning in the help of mke2journal-L to let people know this limitation.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.><fs> mke2journal-L 1024 "1234567890abcdefg" /dev/VG/jounal
2.><fs> get-e2label /dev/VG/jounal
At least a warning should be given in the help to inform people this limitation.
*** Bug 597116 has been marked as a duplicate of this bug. ***
Confirmed from the Linux sources that the volume name is
limited to 16 bytes, even for ext4.
Confirmed also that Linux swap labels are 16 bytes long.
Patch posted upstream:
libguestfs-1.2.9-1.el5 has been submitted as an update for Fedora EPEL 5.
libguestfs-1.2.9-1.fc13 has been submitted as an update for Fedora 13.
This patch has been pushed upstream.
If this needs to be fixed for RHEL 5 / 6, please clone
this bug and adjust the Product accordingly.
libguestfs-1.2.9-1.el5.1 has been submitted as an update for Fedora EPEL 5.