Skip to content

Commit

Permalink
Add btrfs-list for listing subvolumes
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Mason <[email protected]>
  • Loading branch information
chrismason-xx committed Feb 28, 2010
1 parent ab8fb4c commit 4ff9e2a
Show file tree
Hide file tree
Showing 4 changed files with 541 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ bindir = $(prefix)/bin
LIBS=-luuid

progs = btrfsctl mkfs.btrfs btrfs-debug-tree btrfs-show btrfs-vol btrfsck \
btrfs-map-logical
btrfs-map-logical btrfs-list

# make C=1 to enable sparse
ifdef C
Expand All @@ -36,6 +36,9 @@ all: version $(progs) manpages
version:
bash version.sh

btrfs-list: $(objects) btrfs-list.o
gcc $(CFLAGS) -o btrfs-list btrfs-list.o $(objects) $(LDFLAGS) $(LIBS)

btrfsctl: $(objects) btrfsctl.o
gcc $(CFLAGS) -o btrfsctl btrfsctl.o $(objects) $(LDFLAGS) $(LIBS)

Expand Down
Loading

0 comments on commit 4ff9e2a

Please sign in to comment.