Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for mkdir (0.19 sec)

  1. cmd/os-instrumented.go

    	defer updateOSMetrics(osMetricRemoveAll, dirPath)(err)
    	return os.RemoveAll(dirPath)
    }
    
    // Mkdir captures time taken to call os.Mkdir
    func Mkdir(dirPath string, mode os.FileMode) (err error) {
    	defer updateOSMetrics(osMetricMkdir, dirPath)(err)
    	return os.Mkdir(dirPath, mode)
    }
    
    // MkdirAll captures time taken to call os.MkdirAll
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 01:09:38 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  2. cmd/os_unix.go

    	}
    
    	if j > 1 {
    		// Create parent.
    		if err := osMkdirAll(dirPath[:j-1], perm, baseDir); err != nil {
    			return err
    		}
    	}
    
    	// Parent now exists; invoke Mkdir and use its result.
    	if err := Mkdir(dirPath, perm); err != nil {
    		if osIsExist(err) {
    			return nil
    		}
    		return err
    	}
    
    	return nil
    }
    
    // The buffer must be at least a block long.
    // refer https://github.com/golang/go/issues/24015
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. Makefile

    	@echo "Installing minio binary with -race to '$(GOPATH)/bin/minio'"
    	@mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio
    
    install: build ## builds minio and installs it to $GOPATH/bin.
    	@echo "Installing minio binary to '$(GOPATH)/bin/minio'"
    	@mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio
    	@echo "Installation successful. To learn more, try \"minio --help\"."
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 10.3K bytes
    - Viewed (1)
  4. buildscripts/verify-build.sh

    	return "$rv"
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    	mkdir -p "$MINT_DATA_DIR"
    
    	MC_BUILD_DIR="mc-$RANDOM"
    	if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    		echo "failed to download https://github.com/minio/mc"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  5. buildscripts/verify-healing.sh

    		v2=$?
    		[ $v1 == 0 -a $v2 == 0 ] && return 0
    		sleep 10
    	done
    	return 1
    }
    
    function purge() {
    	rm -rf "$1"
    }
    
    function __init__() {
    	echo "Initializing environment"
    	mkdir -p "$WORK_DIR"
    	mkdir -p "$MINIO_CONFIG_DIR"
    
    	## version is purposefully set to '3' for minio to migrate configuration file
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:55:41 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  6. docs/bucket/replication/sio-error.sh

    #!/bin/bash
    
    echo "Running $0"
    
    set -e
    set -x
    
    export CI=1
    
    make || exit 255
    
    killall -9 minio || true
    
    rm -rf /tmp/xl/
    mkdir -p /tmp/xl/1/ /tmp/xl/2/
    
    export MINIO_KMS_SECRET_KEY="my-minio-key:OSMM+vkKUTCvQs9YL/CVMIMt43HFhkUpqJxTmGl6rYw="
    
    NODES=4
    
    args1=()
    args2=()
    for i in $(seq 1 $NODES); do
    	args1+=("http://localhost:$((9000 + i))/tmp/xl/1/$i ")
    	args2+=("http://localhost:$((9100 + i))/tmp/xl/2/$i ")
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. .github/workflows/mint.yml

    jobs:
      mint-test:
        runs-on: mint
        timeout-minutes: 120
        steps:
          - name: cleanup #https://github.com/actions/checkout/issues/273
            run: |
              sudo -S rm -rf ${GITHUB_WORKSPACE}
              mkdir ${GITHUB_WORKSPACE}
          - name: checkout-step
            uses: actions/checkout@v4
    
          - name: setup-go-step
            uses: actions/setup-go@v5
            with:
              go-version: 1.21.x
    
    Others
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  8. buildscripts/heal-inconsistent-versions.sh

    	export MINIO_ROOT_PASSWORD=minio123
    	export MC_HOST_minio="http://minio:minio123@127.0.0.1:${start_port}/"
    	unset MINIO_KMS_AUTO_ENCRYPTION # do not auto-encrypt objects
    	export MINIO_CI_CD=1
    
    	mkdir ${WORK_DIR}
    	C_PWD=${PWD}
    	if [ ! -x "$PWD/mc" ]; then
    		MC_BUILD_DIR="mc-$RANDOM"
    		if ! git clone --quiet https://github.com/minio/mc "$MC_BUILD_DIR"; then
    			echo "failed to download https://github.com/minio/mc"
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri May 26 05:07:25 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  9. docs/sts/etcd.md

    ### 2. Start etcd
    
    etcd uses [gcr.io/etcd-development/etcd](https://console.cloud.google.com/gcr/images/etcd-development/GLOBAL/etcd) as a primary container registry.
    
    ```
    rm -rf /tmp/etcd-data.tmp && mkdir -p /tmp/etcd-data.tmp && \
      podman rmi gcr.io/etcd-development/etcd:v3.3.9 || true && \
      podman run \
      -p 2379:2379 \
      -p 2380:2380 \
      --mount type=bind,source=/tmp/etcd-data.tmp,destination=/etcd-data \
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 3.4K bytes
    - Viewed (0)
  10. docs/docker/README.md

    ```
    
    To create a MinIO container with persistent storage, you need to map local persistent directories from the host OS to virtual config. To do this, run the below commands
    
    ### GNU/Linux and macOS
    
    ```sh
    mkdir -p ~/minio/data
    
    docker run \
      -p 9000:9000 \
      -p 9001:9001 \
      --name minio1 \
      -v ~/minio/data:/data \
      -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
Back to top