search for: ext2_file_stat

Displaying 2 results from an estimated 2 matches for "ext2_file_stat".

2011 May 29
1
febootstrap: what am I doing wrong?
...in.d/init.img | $ febootstrap-supermin-helper -f ext2 supermin.d x86_64 kernel initrd root | febootstrap-supermin-helper: ext2: parent directory not found: /lib/modules: File not found by ext2_lookup `---- Running febootstrap-supermin-helper with -vv produces these lines before the error: ,---- | ext2_file_stat /var/tmp 041777 | supermin helper [06516ms] visiting supermin.d/init.img | cpio header 070701016E4031000081ED000003E8000003E8000000014DE27BEC00000030000000090000000000000000000000000000000500000000 | ext2 read_file init 100755 | ext2 read_file dirname init basename init | cpio header 07070100000000...
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...0, - "error: file has changed size unexpectedly: %s", filename); - n += r; - p += r; - } - - if (close (fd) == -1) - error (EXIT_FAILURE, errno, "close: %s", filename); - - return buf; -} - -/* Add a file (or directory etc) from the host. */ -static void -ext2_file_stat (const char *orig_filename, const struct stat *statbuf) -{ - errcode_t err; - - if (verbose >= 2) - fprintf (stderr, "ext2_file_stat %s 0%o\n", - orig_filename, statbuf->st_mode); - - /* Sanity check the path. These rules are always true for the paths - * passed...