diff --git a/mount.c b/mount.c index c51562a..5d54cfa 100644 --- a/mount.c +++ b/mount.c @@ -137,14 +137,14 @@ static int nfsmount(char *dev, char *location) if ((sep = strchr(dev, ':'))) { *sep = '\0'; } else { - log_message("nfsmount: directory to mount not in host:dir format"); + log_message("mount.nfs: directory to mount not in host:dir format"); return -1; } saddr.sin_family = AF_INET; if (!inet_aton(dev, &saddr.sin_addr) && mygethostbyname(dev, &saddr.sin_addr)) { - log_message("nfsmount: can't get address for %s", dev); + log_message("mount.nfs: can't get address for %s", dev); *sep = ':'; return -1; } @@ -153,10 +153,10 @@ static int nfsmount(char *dev, char *location) strcpy(spec, inet_ntoa(saddr.sin_addr)); n = strlen(spec); strncpy(spec + n, sep, sizeof(spec) - n); - log_message("nfsmount %s %s", spec, location); + log_message("mount.nfs %s %s", spec, location); if (!(pid = fork())) { - char * argv[] = {"/bin/nfsmount", spec, location, NULL}; + char * argv[] = {"/sbin/mount.nfs", "-onolock", spec, location, NULL}; close(0); close(1); close(2); diff --git a/propagator.spec b/propagator.spec index 1b203ef..d050ab1 100644 --- a/propagator.spec +++ b/propagator.spec @@ -2,7 +2,7 @@ %def_with splash Name: propagator -Version: 20121002 +Version: 20121109 Release: alt1 Summary: 'Early userspace' set of binaries @@ -37,6 +37,9 @@ make \ %_sbindir/propagator %changelog +* Fri Nov 09 2012 Anton V. Boyarshinov 20121109-alt1 +- use /sbun/mount.nfs instead of /bin/nfsmount + * Tue Oct 02 2012 Anton V. Boyarshinov 20121002-alt1 - no more initfs