~ubuntu-branches/debian/jessie/btrfs-tools/jessie

« back to all changes in this revision

Viewing changes to cmds-subvolume.c

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-10-11 16:54:05 UTC
  • mfrom: (1.2.14) (6.1.39 sid)
  • Revision ID: package-import@ubuntu.com-20141011165405-zvdemnhzw41f2doj
Tags: 3.16.2-1
* New upstream release.
* Drop patches (not needed, or upstremed), but unaligned memory access.
* Update upstream location in uscan, to pull release by kdave.
* Use upstream fsck.btrfs script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
372
372
        "-o           print only subvolumes below specified path",
373
373
        "-u           print the uuid of subvolumes (and snapshots)",
374
374
        "-q           print the parent uuid of the snapshots",
 
375
        "-R           print the uuid of the received snapshots",
375
376
        "-t           print the result as a table",
376
377
        "-s           list snapshots only in the filesystem",
377
378
        "-r           list readonly subvolumes (including snapshots)",
414
415
        optind = 1;
415
416
        while(1) {
416
417
                c = getopt_long(argc, argv,
417
 
                                    "acdgopqsurG:C:t", long_options, NULL);
 
418
                                    "acdgopqsurRG:C:t", long_options, NULL);
418
419
                if (c < 0)
419
420
                        break;
420
421
 
455
456
                case 'q':
456
457
                        btrfs_list_setup_print_column(BTRFS_LIST_PUUID);
457
458
                        break;
 
459
                case 'R':
 
460
                        btrfs_list_setup_print_column(BTRFS_LIST_RUUID);
 
461
                        break;
458
462
                case 'r':
459
463
                        flags |= BTRFS_ROOT_SUBVOL_RDONLY;
460
464
                        break;