Re: [PATCH 22/29] Remove the unused mountNfsImage and all code that was only called by it.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/13/2010 05:11 PM, Chris Lumens wrote:
---
  loader/method.c     |   71 -------------------
  loader/method.h     |    2 -
  loader/nfsinstall.c |  193 ---------------------------------------------------
  loader/nfsinstall.h |    7 --
  4 files changed, 0 insertions(+), 273 deletions(-)

Ack, one comment.

-/**
- * Test whether the mounted stage2 path is an uncompreseed image, not a squashfs.
- *
- * Asusme path is readable.
- */
-static int isNfsMountDirect(const char * path) {
-    struct stat stat_info;
-    if (stat(path,&stat_info))
-        return 0;
-
-    if (!S_ISDIR(stat_info.st_mode))
-        /* if it's not a directory, then it's not an uncompressed image */
-        return 0;
-
-    char * buildstamp;
-    checked_asprintf(&buildstamp, "%s/%s", path, ".buildstamp");
-    if (access(buildstamp, F_OK))
-        /* if it doesn't contain buildstamp, then it's not an uncompressed image */
-        return 0;
-    free(buildstamp);
-
-    return 1;
-}
-

Does someone else beside me use uncompressed NFS install.img?

I never realized until now this will no longer be possible. Maybe we could introduce a feature later that mounts remote read write NFS (a suitable initrd.img, uncompressed) over /, if that's even possible.


Ales

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux