Changeset 9 in MondoRescue
- Timestamp:
- Sep 6, 2005, 5:28:03 PM (20 years ago)
- Location:
- trunk/mondo/mondo
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/mondo/mondo/common/libmondo-devices.c
r1 r9 2017 2017 sprintf(bkpinfo->isodir, "/tmp/isodir"); 2018 2018 run_program_and_log_output("mkdir -p /tmp/isodir", 5); 2019 sprintf(tmp, "mount %s -t nfs /tmp/isodir", bkpinfo->nfs_mount);2019 sprintf(tmp, "mount %s -t nfs -o nolock /tmp/isodir", bkpinfo->nfs_mount); 2020 2020 run_program_and_log_output(tmp, 5); 2021 2021 } -
trunk/mondo/mondo/common/libmondo-files.c
r1 r9 1248 1248 fprintf (fout, "ifconfig %s %s; # config client\n", nfs_dev, 1249 1249 nfs_client_ipaddr); 1250 fprintf (fout, " #ping -c1 %s; # ping server\n", nfs_server_ipaddr);1250 fprintf (fout, "ping -c1 %s; # ping server\n", nfs_server_ipaddr); 1251 1251 fprintf (fout, "mount -t nfs -o nolock %s /tmp/isodir\n", bkpinfo->nfs_mount); 1252 1252 fprintf (fout, "exit 0\n"); -
trunk/mondo/mondo/mondorestore/mondo-restore.c
r1 r9 3457 3457 sprintf(bkpinfo->isodir, "/tmp/isodir"); 3458 3458 run_program_and_log_output("mkdir -p /tmp/isodir", 5); 3459 sprintf(tmp, "mount %s -t nfs /tmp/isodir", bkpinfo->nfs_mount);3459 sprintf(tmp, "mount %s -t nfs -o nolock /tmp/isodir", bkpinfo->nfs_mount); 3460 3460 run_program_and_log_output(tmp, 1); 3461 3461 }
Note:
See TracChangeset
for help on using the changeset viewer.