Displaying 4 results from an estimated 4 matches for "mnttype_swap".
2011 Aug 30
0
[PATCH] include: [mntent.h] Add MNTTYPE_SWAP definition
It is used by util-linux mount code:
mount.c:1004:30: error: ?MNTTYPE_SWAP? undeclared (first use in this function)
..
Signed-off-by: maximilian attems <max at stro.at>
---
usr/include/mntent.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/usr/include/mntent.h b/usr/include/mntent.h
index 210610c..104f35e 100644
--- a/usr/include/mntent...
2008 Jul 23
2
[RFC] klibc add minimal mntent.h
...ount
diff --git a/usr/include/mntent.h b/usr/include/mntent.h
new file mode 100644
index 0000000..e1eaf60
--- /dev/null
+++ b/usr/include/mntent.h
@@ -0,0 +1,18 @@
+#ifndef _MNTENT_H
+#define _MNTENT_H 1
+
+#define MNTTYPE_IGNORE "ignore" /* Ignore this entry. */
+#define MNTTYPE_SWAP "swap" /* Swap device. */
+
+/* Structure describing a mount table entry. */
+struct mntent
+{
+ char *mnt_fsname; /* Device or server for filesystem. */
+ char *mnt_dir; /* Directory mounted on. */
+ char *mnt_type; /* Type of filesystem: ufs, nfs, etc. */
+ char *mnt_...
2012 May 31
1
klibc 2.0 release
...maximilian attems (36):
[klibc] 1.5.25 released, next version is 1.5.26
[klibc] include: [sys/socket.h] Fix bind and connect attributes
[klibc] include: [sched.h] fix POSIX conformance
[klibc] include: [sched.h] misssing pid_t definition
[klibc] include: [mntent.h] Add MNTTYPE_SWAP definition
Merge remote-tracking branch 'origin/stdio' into maks/stdio
[klibc] f{open,read,write}: Retire the older sources
[klibc] stdio: Add feof()
[klibc] stdio: fix ferror()
[klibc] Next version is 2.0
[klibc] include: [sys/stat.h] add mkfifo declarat...
2007 Jul 17
3
Small problem with src/lib/mountpoint.c [now with patch attached!]
Greetings -
[SIGH: I hit the "Send" button instead of "Attach". Here's Take 2...]
Whilst playing with getting quotas from NFS-mounted filestores I've
just discovered a slight problem with src/lib/mountpoint.c
I had things working on a Solaris 10 test machine which had the
mailstore mounted 'normally' using an entry in /etc/vfstab.
However when I changed