Andreas Florath
46a07de480
Fix /dev/pts mount options handling
...
The current implementation - as introduced in
Iee44703297a15b14c715f4bfb7bae67f613aceee - has some shortcomings / bugs,
like:
* the 'grep' check is too sloppy
* when /dev/pts is already mounted multiple times the current implementation
fails:
$ mount | grep devpts | sed 's/.*(\(.*\))/\1/'
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
* code duplication
* Using the undocumented and non-robust output
of 'mount'.
This patch fixed the above problems.
Change-Id: Ib0c7358772480c56d405659a6a32afd60c311686
Signed-off-by: Andreas Florath <andreas@florath.net>
2017-11-24 07:14:56 +00:00
..
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-06-21 12:01:31 +10:00
2016-11-01 17:27:41 -07:00
2017-05-31 14:36:30 +02:00
2017-08-28 17:01:03 +10:00
2017-06-28 22:14:55 +02:00
2017-07-17 14:47:31 +10:00
2017-06-21 12:02:27 +10:00
2016-11-01 17:27:41 -07:00
2017-02-09 13:35:53 +11:00
2017-05-31 14:36:30 +02:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-08-09 13:15:38 +10:00
2017-08-15 00:37:27 +00:00
2017-06-19 13:27:33 +10:00
2017-06-19 13:27:33 +10:00
2017-07-17 05:36:09 +00:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-02-02 11:20:00 +11:00
2017-08-25 15:51:23 +10:00
2017-03-11 14:04:13 +00:00
2017-05-31 14:36:30 +02:00
2017-05-31 11:17:05 +07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-04-05 13:11:22 +10:00
2017-07-06 22:54:08 -04:00
2017-05-31 08:36:56 +10:00
2017-06-11 09:30:34 +00:00
2017-09-15 13:52:35 +00:00
2017-02-02 11:20:00 +11:00
2017-01-31 14:14:19 +11:00
2017-02-02 11:20:00 +11:00
2017-06-28 12:26:24 +10:00
2017-09-15 04:05:51 +00:00
2017-08-04 14:18:05 +10:00
2017-10-08 12:02:46 -05:00
2016-11-01 17:27:41 -07:00
2017-02-11 18:44:18 +00:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-05-19 12:43:36 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-07-24 10:14:07 +10:00
2017-05-31 11:17:05 +07:00
2016-11-29 07:43:46 +11:00
2017-05-24 15:20:55 +10:00
2016-11-29 07:43:46 +11:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-10-08 12:02:46 -05:00
2017-07-17 10:54:03 +01:00
2017-07-26 08:56:02 +02:00
2017-07-26 08:56:02 +02:00
2017-04-07 13:48:53 +10:00
2017-11-13 23:00:52 +00:00
2017-02-02 11:20:00 +11:00
2017-05-31 11:17:05 +07:00
2016-11-29 07:43:46 +11:00
2017-11-01 07:22:03 +00:00
2017-02-03 11:49:45 +11:00
2017-02-09 13:35:53 +11:00
2017-05-19 12:43:36 -07:00
2017-05-19 12:43:36 -07:00
2016-11-01 17:27:41 -07:00
2017-09-01 17:29:15 -05:00
2017-06-29 15:44:26 +10:00
2017-05-31 08:28:09 +10:00
2017-07-26 18:57:25 +02:00
2017-02-02 20:36:23 +11:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-03-28 19:28:51 +11:00
2017-05-31 11:17:05 +07:00
2016-11-01 17:27:41 -07:00
2017-02-03 11:49:45 +11:00
2017-02-02 11:20:00 +11:00
2016-11-01 17:27:41 -07:00
2017-10-26 16:27:59 +11:00
2017-02-09 13:35:53 +11:00
2017-10-26 16:27:59 +11:00
2017-09-21 10:42:11 +02:00
2017-03-14 14:49:49 +11:00
2017-06-07 13:30:38 +10:00
2017-02-09 13:35:53 +11:00
2017-11-24 07:14:56 +00:00
2017-07-23 17:24:24 +02:00
2017-11-24 07:14:56 +00:00