touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #44573
[Bug 1406133] Re: findmnt: libsmartcols ASCII art problem [patch]
The attachment "libsmartcols-art-fix.diff" seems to be a patch. If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1406133
Title:
findmnt: libsmartcols ASCII art problem [patch]
Status in util-linux package in Ubuntu:
New
Bug description:
The libsmartcols component used by findmnt to draw the filesystem tree
is smart enough to wrap lines in case the output doesn’t fit into the
screen. However, it fails to draw the lines correctly in this case.
Attached patch fixes the problem. Someone more knowledgeable in
libsmartcols internals might want to change the buffer size from an
arbitrary 1024 to something taken from actual data, the best way to do
that eludes me.
Sample of incorrect output:
--%<----
├─/boot /dev/sda1 ext3 rw,relatime,data=ordered
├─/usr /dev/mapper/vgshadow-ubuntu_usr
ext4 rw,noatime,data=ordered
├─/var /dev/mapper/vgshadow-ubuntu_var
ext4 rw,noatime,data=ordered
├─/home /dev/mapper/vgshadow-home
ext4 rw,noatime,data=ordered
└─/srv /dev/mapper/vgshadow-srv
reiserfs rw,noatime,notail
--%<----
Patch adds missing vertical lines at any level necessary.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/1406133/+subscriptions
References