Commit Graph

16 Commits

Author SHA1 Message Date
Hiltjo Posthuma 35e3f401ab Major mount(8) refactor 2014-03-15 13:27:02 +00:00
sin 4879ea07b4 Implement mount -a
This code needs refactoring.
2014-03-11 19:47:08 +00:00
sin d0dc4dc2b7 Fix some more instances of enprintf(EXIT_FAILURE, ...); 2014-02-27 15:10:39 +00:00
sin 3f98a7abc8 Convert mount(8) to mntent and kill grabmntinfo.[ch] 2014-02-24 13:44:15 +00:00
Hiltjo Posthuma f8f4a96cc1 mount: siz variable can potentially be used uninitialized
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-02-14 14:10:45 +00:00
sin 5b0d03acc6 Free minfo table 2014-01-25 22:34:30 +00:00
sin 0476f601b2 Fix alignment for table `optnames[]' 2013-10-28 16:53:21 +00:00
s-p-k e340e1373e exit with EXIT_SUCCESS/EXIT_FAILURE 2013-10-07 19:15:00 +01:00
sin 713f1cfdb2 Handle correctly the -n option for mount and umount 2013-09-06 11:01:03 +01:00
sin 65e02d66b5 We do not update /etc/mtab for mount/umount - update usage 2013-09-04 10:55:44 +01:00
sin 80c3bdae3d Keep a list of all mount options
This makes it easier to parse all other options as well.
2013-09-03 14:34:15 +01:00
sin 818794af45 Set target to argv[0] - this is a bit more clear 2013-09-03 14:01:01 +01:00
sin 7afa5b8791 Make mount(8) work based on device id and inode number 2013-08-31 17:39:17 +01:00
sin f6cf690aa2 Fix usage lines 2013-08-14 14:40:49 +01:00
sin 97cbad7eef Remove OpenBSD support
This is becoming a nightmare.  Just support Linux.
2013-08-14 14:40:47 +01:00
sin 92c3390657 Add mount(8) 2013-08-14 13:51:50 +01:00