summaryrefslogtreecommitdiff
path: root/mount/fsprobe.c
AgeCommit message (Collapse)AuthorFilesLines
2007-11-28mount: cleanup usage of _PATH_*Karel Zak1-11/+11
The macros MOUNTED and MNTTAB are deprecated. This patch standardize and consolidate all path macros and remove mount_paths.h. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-08mount: use blkdev_get_size()Karel Zak1-1/+0
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-10-25mount: remove redundant fflushKarel Zak1-3/+1
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-10-25mount: cleanup canonicalize() usageKarel Zak1-0/+1
This patch renames canonicalize() to canonicalize_mountpoint() and moves this function to realpath.c where is all cannonicalize code. The canonicalize_mountpoint() function checks for special "none", "proc", "swap" pseudo mointpoint. The patch also adds a new generic canonicalize() function. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-28mount: needs to handle special mountprog even on guessed file systems.Karel Zak1-4/+5
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-05-17mount: fsprobe: make fsprobe_get_devname functions more genericKarel Zak1-0/+61
The blkid supports NAME=value parsing, but use the library for this simple task is overkill. (The libblkid requires initialized blkid cache all time, for all calls.) This patch makes the fsprobe_get_devname_for_mounting() and fsprobe_get_devname() generic for all fsprobe implementations. Signed-off-by: Karel Zak <kzak@redhat.com>
2007-05-17mount: fsprobe: remove mount_guess_fstype.{c,h}Karel Zak1-0/+164
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Karel Zak <kzak@redhat.com>