aboutsummaryrefslogtreecommitdiff
path: root/src/rc/fstabinfo.c
AgeCommit message (Collapse)Author
2022-04-06migrate fully to meson build systemWilliam Hubbs
- drop old build system - move shared include and source files to common directory - drop "rc-" prefix from shared include and source files - move executable-specific code to individual directories under src - adjust top-level .gitignore file for new build system This closes #489.
2021-12-20use HEAD in git URIs to point to the default branchMike Frysinger
This makes the URIs shorter and dynamic: whatever the default branch the repo uses will be used.
2021-12-20change getopt definition to elide pointer storageMike Frysinger
Make this a const pointer to the storage directly instead of a pointer variable that points to the storage. Makes the code slightly smaller.
2018-02-26fstabinfo: fix an error messageWilliam Hubbs
2017-07-24fix ENT macro usageJason Graham
X-Gentoo-Bug: 624796 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624796
2016-06-10fstabinfo/mountinfo: ensure /etc/fstab exists before calling setmntentWilliam Hubbs
This is based on a patch by A. Wilcox <awilfox.gentoo@foxkit.us>. X-Gentoo-Bug: 478226 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226 X-Gentoo-Bug: 478226 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=478226
2016-01-12Remove multicall binary structure from OpenRCWilliam Hubbs
This eliminates the need for the selinux-specific wrapper scrript we were installing in /lib*/rc/{bin,sbin}.
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2014-10-23Bundle <sys/queue.h> from NetBSDAnthony G. Basile
We are bundling this to allow building on musl-based systems since musl does not include <sys/queue.h>.
2014-01-18fstabinfo: fix mount and remountWilliam Hubbs
The mount and remount options should always be processed. They were only being processed if -q was not on the command line. X-Gentoo-Bug: 498206 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=498206
2012-09-14Typo: emtpy -> emptyChristian Ruppert
Reported-by: Walter <walter@pratyeka.org> X-Gentoo-Bug: 430146 X-Gentoo-Bug-URL: https://bugs.gentoo.org/430146
2012-01-31fstabinfo: add --remount optionWilliam Hubbs
This adds a --remount/-R option to fstabinfo. This new option works like --mount, but it adds the necessary options to remount a file system that is already mounted. Reported-by: Piotr Karbowski <piotr.karbowski@gmail.com> X-Gentoo-Bug: 401573 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401573
2011-11-19rc: fix style around case_RC_COMMON_GETOPTMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-17Clean up all trailing whitespace in src/.Robin H. Johnson
2010-01-08random spelling fixesMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-23Improve style for KNFRoy Marples
2008-11-03Fix fstabinfo for mounting /dev/shm, Gentoo #245367.Roy Marples
2008-09-18Clean up some compile warnings.Roy Marples
2008-06-30If filtering fstab, only match additional mounts asked for.Roy Marples
2008-05-12Fix help text, #75.Roy Marples
2008-05-12Don't report fstab passno of 0 when using greater or less than, #76.Roy Marples
2008-04-19Add help for mountargs, #63Roy Marples
2008-03-26Add license blurb to a few files and append my email to my name.Roy Marples
2008-03-16Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ ↵Roy Marples
from queue(3). Refactor code style around the BSD KNF.
2008-03-11mount may not be in /sbinRoy Marples
2008-03-11Add a --mount command to fstabinfo so it can mount specific mount points, as ↵Roy Marples
mount can get confused with binded mounts, bug #36.
2008-02-22Welcome to 2008.Roy Marples
2008-02-11Just use the extern applet var.Roy Marples
2008-02-01Constantise as much as possible so that it reduces COW usage.Roy Marples
2008-01-22Quiet some more lint warnings.Roy Marples
2008-01-14strip trailing newlinesMike Frysinger
2008-01-11Re-indent to a standard tw of 8.Roy Marples
2008-01-06Set include paths in Makefile instead of .c filesRoy Marples
2008-01-05Add the missing changes from the recent Makefile updatesRoy Marples
2008-01-05Add some .mk stubs to impersonate bsk .mk files to make writing our ↵Roy Marples
Makefiles easier. libeinfo, librc and rc now have their own seperate directories. More work is needed to tidy this up though.