search for: mdu_disk_info_t

Displaying 4 results from an estimated 4 matches for "mdu_disk_info_t".

2006 May 08
1
create_dev and raid
...would have created it, it has been assembled by early-userland apps and is probably supposed to be overridden. --- do_mounts_md.c 2006-05-08 01:51:02.000000000 -0500 +++ do_mounts_md.old 2006-05-08 02:07:35.000000000 -0500 @@ -222,7 +222,6 @@ char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -231,8 +230,6 @@ snprintf(name, sizeof name, "/dev/md%s%d", parti...
2006 May 10
1
[patch] skip existing md devices
...that, the md device is further encrypted and/or is an lvm volume. Signed-off-by: Aaron Griffin <aaron@archlinux.org> --- a/usr/kinit/do_mounts_md.c 2006-05-08 12:59:42.000000000 -0500 +++ b/usr/kinit/do_mounts_md.c 2006-05-10 11:07:08.000000000 -0500 @@ -222,6 +222,7 @@ char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -230,6 +231,9 @@ snprintf(name, sizeof name, "/dev/md%s%d", partitioned?"_d":"", dev_minor); + if (stat(name,&st) ==...
2007 Dec 11
0
[git patch] kinit fix, header install cleanup
...ks Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/kinit/do_mounts_md.c b/usr/kinit/do_mounts_md.c index e5bbe21..c1c8b01 100644 --- a/usr/kinit/do_mounts_md.c +++ b/usr/kinit/do_mounts_md.c @@ -227,6 +227,7 @@ static void md_setup_drive(void) char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st_chk; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -235,6 +236,9 @@ static void md_setup_drive(void) snprintf(name, sizeof name, "/dev/md%s%d", partitioned ? "_d" : "",...
2008 Mar 25
2
bunch of small fixes
...ks Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/kinit/do_mounts_md.c b/usr/kinit/do_mounts_md.c index e5bbe21..c1c8b01 100644 --- a/usr/kinit/do_mounts_md.c +++ b/usr/kinit/do_mounts_md.c @@ -227,6 +227,7 @@ static void md_setup_drive(void) char *devname; mdu_disk_info_t dinfo; char name[16]; + struct stat st_chk; dev_minor = md_setup_args[ent].minor; partitioned = md_setup_args[ent].partitioned; @@ -235,6 +236,9 @@ static void md_setup_drive(void) snprintf(name, sizeof name, "/dev/md%s%d", partitioned ? "_d" : "",...