Searched refs:write_it (Results 1 - 3 of 3) sorted by relevance

/netbsd-current/sbin/apmlabel/
H A Dapmlabel.c303 int write_it; /* update in-core label if changed */ local
308 write_it = 0;
321 write_it = 1;
332 if ((sd = opendisk(argv[0], write_it ? O_RDWR : O_RDONLY, name,
345 if (write_it) {
/netbsd-current/sbin/svhlabel/
H A Dsvhlabel.c297 int write_it; /* update in-core label if changed */ local
302 write_it = 0;
315 write_it = 1;
330 if ((sd = opendisk(argv[0], write_it ? O_RDWR : O_RDONLY, name,
343 if (write_it) {
/netbsd-current/sbin/mbrlabel/
H A Dmbrlabel.c291 int write_it; /* update in-core label if changed */ local
298 write_it = 0;
326 write_it = 1;
337 if ((sd = opendisk(argv[0], write_it ? O_RDWR : O_RDONLY, name,
350 if (write_it) {

Completed in 81 milliseconds