aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-baselayout/0001-mount-media-usb-as-ro-by-default.patch
blob: af8b1944ef848f74cc687a79d086afc66660bd97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 0c788d44a3acd686019bd7a276fca014b0aac584 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Mon, 17 Dec 2012 15:17:22 +0000
Subject: [PATCH] mount /media/usb as ro by default

---
 fstab | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fstab b/fstab
index 83743d1..d1202d5 100644
--- a/fstab
+++ b/fstab
@@ -1,4 +1,4 @@
 /dev/cdrom	/media/cdrom	iso9660	noauto,ro 0 0
 /dev/fd0	/media/floppy	vfat	noauto	0 0
-/dev/usbdisk	/media/usb	vfat	noauto	0 0
+/dev/usbdisk	/media/usb	vfat	noauto,ro 0 0
 usbfs		/proc/bus/usb	usbfs 	noauto 0 0
-- 
1.8.0.2