aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-06 18:14:38 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-08-06 18:14:38 +0000
commitfb5902ca5cf802557eb1e3c56502a2f5e27242f4 (patch)
treeb7270a59ca4639255067d7a6bc0a965d4ab6b0fe /util-linux
parent1dbc643dd34df4daafe5a1835e325d0d74c8b70f (diff)
downloadbusybox-w32-fb5902ca5cf802557eb1e3c56502a2f5e27242f4.tar.gz
busybox-w32-fb5902ca5cf802557eb1e3c56502a2f5e27242f4.tar.bz2
busybox-w32-fb5902ca5cf802557eb1e3c56502a2f5e27242f4.zip
- support relatime / norelatime
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/mount.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 2288e2c7f..4cc1d4bee 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -137,6 +137,8 @@ static const int32_t mount_options[] = {
137 /* "nodiratime" */ MS_NODIRATIME, 137 /* "nodiratime" */ MS_NODIRATIME,
138 /* "mand" */ MS_MANDLOCK, 138 /* "mand" */ MS_MANDLOCK,
139 /* "nomand" */ ~MS_MANDLOCK, 139 /* "nomand" */ ~MS_MANDLOCK,
140 /* "relatime" */ MS_RELATIME,
141 /* "norelatime" */ ~MS_RELATIME,
140 /* "loud" */ ~MS_SILENT, 142 /* "loud" */ ~MS_SILENT,
141 143
142 // action flags 144 // action flags
@@ -189,6 +191,8 @@ static const char mount_option_str[] =
189 "nodiratime" "\0" 191 "nodiratime" "\0"
190 "mand" "\0" 192 "mand" "\0"
191 "nomand" "\0" 193 "nomand" "\0"
194 "relatime" "\0"
195 "norelatime" "\0"
192 "loud" "\0" 196 "loud" "\0"
193 197
194 // action flags 198 // action flags