search for: devstart

Displaying 5 results from an estimated 5 matches for "devstart".

Did you mean: udevstart
2013 Mar 21
4
[PATCH] btrfs-progs: make btrfs dev scan multi path aware
...--git a/cmds-device.c b/cmds-device.c index 41e79d3..b8d05fd 100644 --- a/cmds-device.c +++ b/cmds-device.c @@ -185,7 +185,7 @@ static const char * const cmd_scan_dev_usage[] = { static int cmd_scan_dev(int argc, char **argv) { - int i, fd, e; + int i, fd, e, ret = 0; int checklist = 1; int devstart = 1; @@ -197,6 +197,21 @@ static int cmd_scan_dev(int argc, char **argv) devstart += 1; } + fd = open("/dev/btrfs-control", O_RDWR); + e = errno; + if (fd < 0) { + FILE *mfd = popen("lsmod | grep btrfs", "r"); + char buf[16]; + + if (fread (buf, 1, sizeo...
2010 Dec 05
1
[PATCH 4/5][REPOST][BTRFS-PROGS] Avoid to scan cdrom and floppy
...* +# +# skip cdrom +# !/dev/sr* +# diff --git a/btrfs_cmds.c b/btrfs_cmds.c index 8031c58..a573008 100644 --- a/btrfs_cmds.c +++ b/btrfs_cmds.c @@ -529,11 +529,25 @@ int do_fssync(int argc, char **argv) int do_scan(int argc, char **argv) { int i, fd; - if(argc<=1){ + int checklist = 1; + int devstart = 1; + + if( argc >= 2 && !strcmp(argv[1],"--all-devices")){ + + if( argc >2 ){ + fprintf(stderr, "ERROR: too may arguments\n"); + return 22; + } + + checklist = 0; + devstart += 1; + } + + if(argc<=devstart){ int re...
2001 May 04
1
Compilation Error
On compiling wine from the cvs tree. I cant get past the make depend part of it. I get this error. This is the last segment of it. I dont know what is wrong. $./tools/wineinstall ......... make[2]: Entering directory `/usr/src/wine/dlls/msvcrt' ../../tools/makedep -I. -I. -I../../include -I../../include -C. console.c cpp.c ctype.c data.c dir.c environ.c errno.c except.c exit.c file.c heap.c
2001 Oct 01
2
FTP-to-CVS instructions
There's one section missing from the instructions for downloading a tarball via FTP and migrating it to cvs. I speak, of course, of the paragraph that explains that so many files end up missing this way that after three tries you will give up, rm -rf wine, do a full cvs -z 3 checkout wine, and kick youself hard for not just doing a full checkout in the first place because then you'd have
2001 Nov 12
3
CVS working now, but why?
I managed to update my CVS tree, but not by the method described on http://www.winehq.com/devstart.shtml, that is export CVSROOT=:pserver:cvs@cvs.winehq.com:/home/wine cvs login cvs update -PAd but rather by doing this cvs -d CVSROOT=:pserver:cvs@cvs.winehq.com:/home/wine login cvs -d CVSROOT=:pserver:cvs@cvs.winehq.com:/home/wine update -PAd which, if the documentation has anything to say,...