summaryrefslogtreecommitdiff
path: root/mount/fstab.h
AgeCommit message (Collapse)AuthorFilesLines
2010-02-11mount: warn users that mtab is read-onlyKarel Zak1-0/+1
In repair mode the root filesystem is read-only and mtab file is not up to date. Addresses: http://bugzilla.redhat.com/show_bug.cgi?id=427183 Signed-off-by: Karel Zak <kzak@redhat.com>
2009-01-07umount: cleanup gefs_by_specdir()Karel Zak1-1/+1
fix: - don't call canonicalize_spec() for LABELs/UUIDs - simplify the code - rename to getfs_by_devdir(), because we use it only for device names and not for SPECes (see umount.c). Signed-off-by: Karel Zak <kzak@redhat.com>
2008-02-14mount: "can't create lock file" message sometimes means failure, sometimes notMark McLoughlin1-0/+1
What the patch does is goes from the situation where: 1) If /etc/mtab doesn't exist and /etc is read-only, you get the "can't create lock file" message and the mount fails 2) If /etc/mtab does exist and /etc is read-only,you get the same message but the mount succeeds Clearly, the failure to update /etc/mtab should either cause the mount to fail or not ... sometimes causing it to fail, and sometimes not (each with the same message) is not useful. This patch sets the same behaviour for create and update mtab. In both cases it prints error message and the mount succeeds. Signed-off-by: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Karel Zak <kzak@redhat.com>
2007-05-25mount: clean up getfs* (fstab.c) interfaceKarel Zak1-5/+11
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-01-04build-sys: remove DEFAULT_INCLUDES workaroundKarel Zak1-1/+1
The automake stuff uses "-I.". as a default gcc option for includes. This is a problem for source code where is local includes with a same name like system includes (e.g. mntent.h, paths.h). Possible workaround is overwrite the automake DEFAULT_INCLUDES variable. But this solution produces warnings. The best way (this patch) is probably rename the files and remove DEFAULT_INCLUDES. Signed-off-by: Karel Zak <kzak@redhat.com>
2006-12-07Imported from util-linux-2.13-pre5 tarball.Karel Zak1-1/+0
2006-12-07Imported from util-linux-2.12h tarball.Karel Zak1-14/+3
2006-12-07Imported from util-linux-2.12a tarball.Karel Zak1-1/+3
2006-12-07Imported from util-linux-2.12pre tarball.Karel Zak1-3/+1
2006-12-07Imported from util-linux-2.12 tarball.Karel Zak1-1/+3
2006-12-07Imported from util-linux-2.10s tarball.Karel Zak1-5/+3
2006-12-07Imported from util-linux-2.10f tarball.Karel Zak1-0/+1
2006-12-07Imported from util-linux-2.9v tarball.Karel Zak1-0/+5
2006-12-07Imported from util-linux-2.9i tarball.Karel Zak1-1/+4
2006-12-07Imported from util-linux-2.7.1 tarball.Karel Zak1-21/+24
2006-12-07Imported from util-linux-2.5 tarball.Karel Zak1-1/+2
2006-12-07Imported from util-linux-2.2 tarball.Karel Zak1-0/+25