Re: RFE: btrfs subvolume list -t, include marker for snapshots, and whether they are ro

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

 



On Fri, Apr 15, 2016 at 12:51 AM, Satoru Takeuchi
<takeuchi_satoru@xxxxxxxxxxxxxx> wrote:

> sample output:
> ================================================================
> # ./sub-list-with-ro.rb /
> ID      gen     top level       path    ro
> --      ---     ---------       ----    --
> 257     48672   5               root    false
> 259     48623   257             var/lib/machines        false
> 452     36540   257             root/snaps/root-2016-03-18      true
> 457     45676   257             root/snaps/root-2016-04-08      true
> ================================================================


Yeah it's a good start. I'm not sure what the UI should be exactly.
Maybe it could be an ro column that's blank for rw and ro if it's ro.
Something that's easy to parse visually? Also have it line up in a
straight column, probably before the path column?

-- 
Chris Murphy
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux