dot

packages and services management
Log | Files | Refs | README

commit 1d2e6d6f3e5590f52ae53843814a333d351aefe8
parent bb4d85dbd574158eede5987cba4525b3f043b13d
Author: Josuah Demangeon <mail@josuah.net>
Date:   Sun, 22 Jul 2018 19:03:54 +0200

fix /fs

Diffstat:
Mbin/fs-make | 0
Mbin/fs-mount | 8++++----
Mbin/fs-umount | 0
Mfs/key/dev | 2+-
Mfs/key/fstype | 2+-
5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/bin/fs-make b/bin/fs-make diff --git a/bin/fs-mount b/bin/fs-mount @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh -ex if test $# != 1 then echo 'usage: fs-mount name' @@ -7,8 +7,8 @@ then echo 'usage: fs-mount name' exit 1 fi -IFS='' read -r fstype </fs/$1/fstype -IFS='' read -r opts </fs/$1/opts -IFS='' read -r dev </fs/$1/dev +read -r fstype </fs/$1/fstype +read -r opts </fs/$1/opts +read -r dev </fs/$1/dev exec mount -t "$fstype" -o "$opts" "$dev" "/fs/$1/mount" diff --git a/bin/fs-umount b/bin/fs-umount diff --git a/fs/key/dev b/fs/key/dev @@ -1 +1 @@ -/dev/sdb +UUID=0AF6-D62A diff --git a/fs/key/fstype b/fs/key/fstype @@ -1 +1 @@ -fat +vfat