search for: print_mount

Displaying 6 results from an estimated 6 matches for "print_mount".

2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
...iew first. may be interchanged again later.. Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/utils/mount_main.c b/usr/utils/mount_main.c index 89e75d7..ee08720 100644 --- a/usr/utils/mount_main.c +++ b/usr/utils/mount_main.c @@ -31,9 +31,9 @@ static __noreturn print_mount(char *type) FILE *mfp; struct mntent *mnt; - mfp = setmntent(_PATH_MOUNTED, "r"); + mfp = setmntent(_PATH_PROC_MOUNTS, "r"); if (!mfp) - mfp = setmntent(_PATH_PROC_MOUNTS, "r"); + mfp = setmntent(_PATH_MOUNTED, "r"); if (!mfp) perror("setm...
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...iew first. may be interchanged again later.. Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/utils/mount_main.c b/usr/utils/mount_main.c index 89e75d7..ee08720 100644 --- a/usr/utils/mount_main.c +++ b/usr/utils/mount_main.c @@ -31,9 +31,9 @@ static __noreturn print_mount(char *type) FILE *mfp; struct mntent *mnt; - mfp = setmntent(_PATH_MOUNTED, "r"); + mfp = setmntent(_PATH_PROC_MOUNTS, "r"); if (!mfp) - mfp = setmntent(_PATH_PROC_MOUNTS, "r"); + mfp = setmntent(_PATH_MOUNTED, "r"); if (!mfp) perror("setm...
2019 Jan 18
0
[klibc:master] mount_main: Fix empty string check
...rung <benjamin.drung at profitbricks.com> AuthorDate: Wed, 13 Jun 2018 11:48:39 +0200 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Wed, 2 Jan 2019 03:08:04 +0000 [klibc] mount_main: Fix empty string check gcc 7.3.0 complains: ``` usr/utils/mount_main.c: In function ?print_mount?: usr/utils/mount_main.c:46:46: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (mnt->mnt_type != NULL && mnt->mnt_type != '\0') ^~ usr/utils/mount_main.c:46:32: note: did you mean to deref...
2018 Jun 18
1
[PATCH v3 1/2] Implement classless static routes
Implement classless static routes support as specified in RFC3442. Bug-Debian: https://bugs.debian.org/884716 Bug-Ubuntu: https://launchpad.net/bugs/1526956 Signed-off-by: Benjamin Drung <benjamin.drung at profitbricks.com> --- usr/kinit/ipconfig/bootp_proto.c | 109 +++++++++++++++++++++++++++++++ usr/kinit/ipconfig/dhcp_proto.c | 1 + usr/kinit/ipconfig/main.c | 54
2011 Jul 07
5
[PATCH 0/5] checkpatch cleanups
It seems checkpatch errors krept in, this is a first go. Next run will go into usr/kinit directory. No code changes, just codingstyle fixes (verified with size(3)). maximilian attems (5): [klibc] sleep: have argument on next line [klibc] readklink: remove unneeded braces [klibc] mount: whitespace policy [klibc] ls: fix various checkpatch complaints [klibc] tests: checkpatch fixlets
2004 Nov 12
2
Boot from CD -> system + data on USB storage
Hi, I am looking for a solution to boot MY system on any PC. To store most of the system and all of my data I want to use an USB storage (in my case an external USB harddisk (2.0 capable)). Since booting off an USB device is not an universal thing I would prefer to have a boot disk with a minimal system - just enough to load most (all?) of the system from the attached USB device. Is this an