Displaying 5 results from an estimated 5 matches for "loop_fd".
Did you mean:
loop1d
2015 Jul 11
0
EXTLINUX - GCC 5
...s->best_pos[2] = key + 1;
#endif
Shall the index be [SWD_BEST_OFF - 1] ?
Shall this be done only if SWD_BEST_OFF > 2 ?
-----------------------------------------------------------------
Checking linux/syslinux.c: __KLIBC__...
[linux/syslinux.c:123]: (error) Uninitialized variable: loop_fd
Valid complaint:
/*
* If DO_DIRECT_MOUNT is 0, call mount(8)
* If DO_DIRECT_MOUNT is 1, call mount(2)
*/
#ifdef __KLIBC__
# define DO_DIRECT_MOUNT 1
#else
# define DO_DIRECT_MOUNT 0 /* glibc has broken losetup ioctls */
#endif
...
#if DO_DIRECT_MOUNT
{
if...
2015 Jul 11
3
EXTLINUX - GCC 5
> On Jul 10, 2015 5:29 PM, "poma via Syslinux" <syslinux at zytor.com> wrote:
>
> > The same as with the ISOLINUX, stable and git.
> > Only this time has nothing to do with the menu.
>
> 1) EXTLINUX is no longer a discrete variant. The installer extlinux now
> installs SYSLINUX.
> 2) William Kensington already saw a similar behavior wherein an
2009 Nov 14
2
[PATCH] btrfs-progs: Check mount status of multidevice filesystems
...+ * is safe to continue.
*/
int check_mounted(char *file)
{
struct mntent *mnt;
- struct stat st_buf;
- dev_t file_dev = 0;
- dev_t file_rdev = 0;
- ino_t file_ino = 0;
FILE *f;
int ret = 0;
- if ((f = setmntent ("/proc/mounts", "r")) == NULL)
- return -errno;
+ int loop_fd;
+ struct loop_info loopinfo;
- if (stat(file, &st_buf) < 0) {
+ if ((f = setmntent ("/proc/mounts", "r")) == NULL)
return -errno;
- } else {
- if (S_ISBLK(st_buf.st_mode)) {
- file_rdev = st_buf.st_rdev;
- } else {
- file_dev = st_buf.st_dev;
- file_ino = st...
2011 Jan 22
32
Bug in mkfs.btrfs?!
Hi,
I wanted to create a new btrfs fs for my backups.
When trying to mkfs.btrfs for that device, I''m getting
"error checking /dev/loop2 mount status"
With strace I see where the problem is:
lstat("/dev/disk/by-id/ata-INTEL_SSDSA2M160G2GC_CVPO939201JX160AGN-par",
0x7fffa30b3cf0) = -1 ENOENT (No such file or directory)
The problem is there is something missing
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello,
Happy New Year!
These patches make syslinux/linux support ext2/3/4, and it doesn't
require the root privilege, I'd like to add a separate e2fs/syslinux, if
that is more appropriate, it should be easy to do that.
I put these patches on github so that you can easily get them in case
you'd like to test them. (The repo's name is sys_tmp, which avoids
confusing others, I will