Re: [PATCH 6/7] zramctl: fix mount point printout

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

 



On 4 August 2014 13:15, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Sun, Aug 03, 2014 at 03:17:42PM +0100, Sami Kerola wrote:
>> See sample belo how a device mount point was printed without and with
>> full <device> path.  This change adds the mount point markup to the short
>> device name printout.
>>
>> $ zramctl zram3
>> NAME  ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT
>> zram3 lz4             1M   4K   62B    4K       1
>
>  This is bug, it would be better improve zram_set_devname() to make it
>  more robust and always convert the path to the full path. I don't think
>  that any variability makes it more easy to use.

The following make device path to be always absolute.

https://github.com/kerolasa/lelux-utiliteetit/commit/5a093e4d11091c48580531fa88d1c64b564b57d3

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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