]> git.proxmox.com Git - pve-container.git/commitdiff
fix spelling: 'mountpoint' 'mount point'
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 14 Oct 2016 10:51:04 +0000 (12:51 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 3 Nov 2016 09:50:36 +0000 (10:50 +0100)
src/PVE/API2/LXC.pm
src/PVE/CLI/pct.pm
src/PVE/LXC.pm
src/PVE/LXC/Config.pm
src/PVE/LXC/Migrate.pm
src/PVE/VZDump/LXC.pm

index d0e558a41d02cbdffa06c843f0f2cd1490a63fcb..38b1feb3a19bf1010fe70c0a7b161fdaf0df83a2 100644 (file)
@@ -276,7 +276,7 @@ __PACKAGE__->register_method({
            }
        }
 
-       die "mountpoints configured, but 'rootfs' not set - aborting\n"
+       die "mount points configured, but 'rootfs' not set - aborting\n"
            if !$storage_only_mode && !defined($mp_param->{rootfs});
 
        # check storage access, activate storage
@@ -358,8 +358,8 @@ __PACKAGE__->register_method({
 
                                if ($mountpoint->{backup}) {
                                    warn "WARNING - unsupported configuration!\n";
-                                   warn "backup was enabled for $type mountpoint $ms ('$mountpoint->{mp}')\n";
-                                   warn "mountpoint configuration will be restored after archive extraction!\n";
+                                   warn "backup was enabled for $type mount point $ms ('$mountpoint->{mp}')\n";
+                                   warn "mount point configuration will be restored after archive extraction!\n";
                                    warn "contained files will be restored to wrong directory!\n";
                                }
                                delete $mp_param->{$ms}; # actually delay bind/dev mps
@@ -1254,7 +1254,7 @@ __PACKAGE__->register_method({
                        if ($fullclone->{$opt}) {
                            die "fixme: full clone not implemented\n";
                        } else {
-                           print "create linked clone of mountpoint $opt ($volid)\n";
+                           print "create linked clone of mount point $opt ($volid)\n";
                            my $newvolid = PVE::Storage::vdisk_clone($storecfg, $volid, $newid, $snapname);
                            push @$newvollist, $newvolid;
                            $mp->{volume} = $newvolid;
@@ -1300,7 +1300,7 @@ __PACKAGE__->register_method({
     method => 'PUT',
     protected => 1,
     proxyto => 'node',
-    description => "Resize a container mountpoint.",
+    description => "Resize a container mount point.",
     permissions => {
        check => ['perm', '/vms/{vmid}', ['VM.Config.Disk'], any => 1],
     },
@@ -1373,7 +1373,7 @@ __PACKAGE__->register_method({
            my (undef, undef, $owner, undef, undef, undef, $format) =
                PVE::Storage::parse_volname($storage_cfg, $volid);
 
-           die "can't resize mountpoint owned by another container ($owner)"
+           die "can't resize mount point owned by another container ($owner)"
                if $vmid != $owner;
 
            die "can't resize volume: $disk if snapshot exists\n"
@@ -1411,7 +1411,7 @@ __PACKAGE__->register_method({
                        $mp->{mp} = '/';
                        my $use_loopdev = (PVE::LXC::mountpoint_mount_path($mp, $storage_cfg))[1];
                        $path = PVE::LXC::query_loopdev($path) if $use_loopdev;
-                       die "internal error: CT running but mountpoint not attached to a loop device"
+                       die "internal error: CT running but mount point not attached to a loop device"
                            if !$path;
                        PVE::Tools::run_command(['losetup', '--set-capacity', $path]) if $use_loopdev;
 
index cc06926fa2bd8088c26b7259584bd8498f778bec..2d3a7a1afd4e3fde55949a0b2e63ba6ff4777b44 100755 (executable)
@@ -228,7 +228,7 @@ __PACKAGE__->register_method ({
            my $conf = PVE::LXC::Config->load_config($vmid);
            my $storage_cfg = PVE::Storage::config();
 
-           defined($conf->{$device}) || die "cannot run command on unexisting mountpoint $device\n";
+           defined($conf->{$device}) || die "cannot run command on non-existing mount point $device\n";
 
            my $mount_point = $device eq 'rootfs' ? PVE::LXC::Config->parse_ct_rootfs($conf->{$device}) :
                PVE::LXC::Config->parse_ct_mountpoint($conf->{$device});
index bb577faa58f1db2c1127d7111d0b0dd3fc21c0c0..3a284f7772140b6b33151716baa265d42db8442f 100644 (file)
@@ -881,7 +881,7 @@ sub check_ct_modify_config_perm {
            return if $delete;
            my $data = $opt eq 'rootfs' ? PVE::LXC::Config->parse_ct_rootfs($newconf->{$opt})
                                        : PVE::LXC::Config->parse_ct_mountpoint($newconf->{$opt});
-           raise_perm_exc("mountpoint type $data->{type}") if $data->{type} ne 'volume';
+           raise_perm_exc("mount point type $data->{type}") if $data->{type} ne 'volume';
        } elsif ($opt eq 'memory' || $opt eq 'swap') {
            $rpcenv->check_vm_perm($authuser, $vmid, $pool, ['VM.Config.Memory']);
        } elsif ($opt =~ m/^net\d+$/ || $opt eq 'nameserver' ||
index 0ef03dcea7677afe9cf1f6c2ad8cb62a8731c2df..d4d973bdaeca4f9e01f181b0ea596ce4e2f82287 100644 (file)
@@ -237,7 +237,7 @@ my $rootfs_desc = {
     },
     ro => {
        type => 'boolean',
-       description => 'Read-only mountpoint',
+       description => 'Read-only mount point',
        optional => 1,
     },
     quota => {
@@ -439,7 +439,7 @@ my $valid_lxc_conf_keys = {
     'lxc.rootfs' => 'lxc.rootfs is auto generated from rootfs',
     'lxc.rootfs.mount' => 1,
     'lxc.rootfs.options' => 'lxc.rootfs.options is not supported' .
-                            ', please use mountpoint options in the "rootfs" key',
+                            ', please use mount point options in the "rootfs" key',
     # lxc.cgroup.*
     'lxc.cap.drop' => 1,
     'lxc.cap.keep' => 1,
@@ -585,18 +585,18 @@ my $mp_desc = {
     %$rootfs_desc,
     backup => {
        type => 'boolean',
-       description => 'Whether to include the mountpoint in backups.',
-       verbose_description => 'Whether to include the mountpoint in backups '.
-                              '(only used for volume mountpoints).',
+       description => 'Whether to include the mount point in backups.',
+       verbose_description => 'Whether to include the mount point in backups '.
+                              '(only used for volume mount points).',
        optional => 1,
     },
     mp => {
        type => 'string',
        format => 'pve-lxc-mp-string',
        format_description => 'Path',
-       description => 'Path to the mountpoint as seen from inside the container '.
+       description => 'Path to the mount point as seen from inside the container '.
                       '(must not contain symlinks).',
-       verbose_description => "Path to the mountpoint as seen from inside the container.\n\n".
+       verbose_description => "Path to the mount point as seen from inside the container.\n\n".
                               "NOTE: Must not contain any symlinks for security reasons."
     },
 };
index 10b2b691da5dca307277a1c8e0ae83243a2fbfe6..73af6d4bf9134fd3b1b181e77b01e1d45dd67468 100644 (file)
@@ -62,7 +62,7 @@ sub prepare {
        }
 
        my ($storage, $volname) = PVE::Storage::parse_volume_id($volid, 1) if $volid;
-       die "can't determine assigned storage for mountpoint '$ms'\n" if !$storage;
+       die "can't determine assigned storage for mount point '$ms'\n" if !$storage;
 
        # check if storage is available on both nodes
        my $scfg = PVE::Storage::storage_check_node($self->{storecfg}, $storage);
@@ -78,7 +78,7 @@ sub prepare {
            # only activate if not shared
            push @$need_activate, $volid;
 
-           die "unable to migrate local mountpoint '$volid' while CT is running"
+           die "unable to migrate local mount point '$volid' while CT is running"
                if $running;
        }
 
index 7062bf3b6dec745c0ac5cfe9540c0564bca68a7b..81f25884da12134a3ca1acde53be956a3ff12fe1 100644 (file)
@@ -87,12 +87,12 @@ sub vm_status {
 my $check_mountpoint_empty = sub {
     my ($mountpoint) = @_;
 
-    die "mountpoint '$mountpoint' is not a directory\n" if ! -d $mountpoint;
+    die "mount point '$mountpoint' is not a directory\n" if ! -d $mountpoint;
 
     PVE::Tools::dir_glob_foreach($mountpoint, qr/.*/, sub {
        my $entry = shift;
        return if $entry eq '.' || $entry eq '..';
-       die "mountpoint '$mountpoint' not empty\n";
+       die "mount point '$mountpoint' not empty\n";
     });
 };
 
@@ -126,7 +126,7 @@ sub prepare {
 
        if (!PVE::LXC::Config->mountpoint_backup_enabled($name, $data)) {
            push @$exclude_dirs, $mount;
-           $self->loginfo("excluding $type mountpoint $name ('$mount') from backup");
+           $self->loginfo("excluding $type mount point $name ('$mount') from backup");
            return;
        }