linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* File test operator for subvols; possible bug in 'btrfs show <directory>'
@ 2014-11-25  2:11 boris
  2014-11-25  5:33 ` Gui Hecheng
  2014-11-25  7:32 ` Goffredo Baroncelli
  0 siblings, 2 replies; 4+ messages in thread
From: boris @ 2014-11-25  2:11 UTC (permalink / raw)
  To: linux-btrfs

Hi all,

I was looking for a quick method of testing whether a working directory is a 
subvolume.

Couldn't see an obvious one, so tried 'btrfs show <somesubvol≥'. It printed 
a fail message as expected but returned 0 exit status. Bug?

Can I put in a feature request for a shell file test operator for subvols, 
please (or something of the kind)? http://tldp.org/LDP/abs/html/fto.html . 
The letter v (for volume, both upper and lower case forms; one for subvol, 
other for snapshots) is unused afaict. 

Have I missed the obvious? Or scored a false positive?

TIA.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-27 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-25  2:11 File test operator for subvols; possible bug in 'btrfs show <directory>' boris
2014-11-25  5:33 ` Gui Hecheng
2014-11-25  7:32 ` Goffredo Baroncelli
2014-11-27 17:21   ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).