findmnt (2.18): Truncates the options column by 3 characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Using the command 'findmnt -krnu -o SOURCE,TARGET,FSTYPE,OPTIONS', the
"options" column is truncated if it is long. However, it is not
truncated to a specific length, but exactly 3 characters are cut off:

proc /proc proc rw,relatime
sys /sys sysfs rw,relatime
udev /dev devtmpfs rw,nosuid,relatime,size=10240k,nr_inodes=473071,mode=
/dev/mapper/evey-root / ext4 rw,relatime,barrier=1,data=orde
devpts /dev/pts devpts rw,relatime,mode=
shm /dev/shm tmpfs rw,nosuid,nodev,relatime
/dev/sda1 /boot ext3
rw,relatime,errors=continue,commit=5,barrier=0,data=writeb

... and so on. See how the short lines are okay, but the others are cut
(one misses "755", another misses "red", and another misses "ack"). I
had a short look at the source, but couldn't quite figure out where to look.

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux