Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncated names of subvolumes and/or snapshots containing spaces #20

Closed
SpiritInAShell opened this issue Feb 21, 2024 · 1 comment
Closed
Labels

Comments

@SpiritInAShell
Copy link

> btrfs-list --version
btrfs-list v2.2 using btrfs v5.4.1

Having a snapshot and a subvolume containing spaces in its name.

CAMERA_BACKUP/@2023-07-02                                                                                   subvol       -  
CAMERA_BACKUP/.@2023-07-02                                                                                  rosnap       -  

Original was something like CAMERA_BACKUP/.@2023-07-02 Some description

@speed47 speed47 added the bug label Apr 14, 2024
@speed47
Copy link
Owner

speed47 commented Apr 14, 2024

Indeed, this bug can be reproduced easily:

root@nas:/git# btrfs sub create "foo bar with space"
Create subvolume './foo bar with space'
root@nas:/git# btrfs-list /git
WARNING: to get refer/excl size information, please enable qgroups (btrfs quota enable /git)
NAME                                  TYPE     EXCL  MOUNTPOINT
git                                     fs   71.47G (single/dup, 22.52G/100.00G free, 22.52%)
   [main]                          mainvol       -  /git
   foo                              subvol       -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants