Changeset 142 in MondoRescue for trunk/mondo/mondo/common
- Timestamp:
- Nov 27, 2005, 10:38:41 PM (18 years ago)
- Location:
- trunk/mondo/mondo/common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-fifo.c
r45 r142 9 9 #include <unistd.h> 10 10 #include <stdio.h> 11 #ifndef S_SPLINT_S 11 12 #include <signal.h> 13 #endif 12 14 #include <fcntl.h> 13 15 #include <stdio.h> … … 20 22 #include <sys/sem.h> 21 23 #include <sys/wait.h> 24 #ifndef S_SPLINT_S 22 25 #include <pthread.h> 26 #endif 23 27 24 28 #include "my-stuff.h" -
trunk/mondo/mondo/common/libmondo-files.c
r127 r142 1233 1233 } 1234 1234 fprintf(fout, "ifconfig lo 127.0.0.1 # config loopback\n"); 1235 fprintf(fout, "ifconfig %s %s ;# config client\n", nfs_dev,1235 fprintf(fout, "ifconfig %s %s # config client\n", nfs_dev, 1236 1236 nfs_client_ipaddr); 1237 fprintf(fout, "ping -c 1 %s ;# ping server\n", nfs_server_ipaddr);1237 fprintf(fout, "ping -c 1 %s # ping server\n", nfs_server_ipaddr); 1238 1238 fprintf(fout, "mount -t nfs -o nolock %s /tmp/isodir\n", 1239 1239 bkpinfo->nfs_mount); -
trunk/mondo/mondo/common/my-stuff.h
r127 r142 61 61 #include <time.h> 62 62 #include <unistd.h> 63 #ifndef S_SPLINT_S 63 64 #include <signal.h> 65 #endif 64 66 //#include <curses.h> 65 67 #include <newt.h> 66 68 #include <ctype.h> 67 69 #include <string.h> 70 #ifndef S_SPLINT_S 68 71 #include <pthread.h> 72 #endif 69 73 #include <assert.h> 70 74 … … 338 342 #define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE "/dev/md" 339 343 #define RAID_DEVICE_STUB DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE 340 #define SANE_FORMATS "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm "344 #define SANE_FORMATS "swap image vfat ext2 ext3 xfs vfs jfs reiserfs dos minix coda nfs ntfs hpfs raid lvm cifs" 341 345 #define ALT_TAPE "/dev/ht0" 342 346 #define MKE2FS_OR_NEWFS "mke2fs"
Note:
See TracChangeset
for help on using the changeset viewer.