File test operator for subvols; possible bug in 'btrfs show <directory>'

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

 



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.

--
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