Home
last modified time | relevance | path

Searched refs:rdonly (Results 1 – 14 of 14) sorted by relevance

/plan9/sys/src/cmd/ext2srv/
H A Dxfssrv.c12 int rdonly; variable
59 rdonly = 1; in main()
H A Dxfile.c29 fd = open(name, rdonly ? OREAD : ORDWR); in getxfs()
H A Ddat.h222 extern int rdonly;
H A Dext2subs.c143 if( !rdonly && sizeof(SuperBlock) != in ext2fs()
/plan9/sys/src/libdisk/
H A Ddisk.c272 opendisk(char *disk, int rdonly, int noctl) in opendisk() argument
282 d->rdonly = rdonly; in opendisk()
291 if(rdonly == 0) { in opendisk()
294 d->rdonly = 1; in opendisk()
/plan9/sys/src/cmd/disk/prep/
H A Dprep.c22 static int rdonly; variable
134 rdonly++; in main()
137 rdonly++; in main()
152 disk = opendisk(argv[0], rdonly, file); in main()
H A Dfdisk.c28 static int rdonly; variable
117 rdonly++; in main()
135 edit.disk = opendisk(argv[0], rdonly, file); in main()
H A Dedit.c268 if(edit->disk->rdonly) in editwrite()
/plan9/sys/include/
H A Ddisk.h37 int rdonly; member
/plan9/sys/src/cmd/aux/
H A Ddisksim.c70 int rdonly; variable
287 if(fd == -1 || rdonly) in dirty()
647 rdonly = 1; in main()
665 if((fd = open(file, rdonly ? OREAD : ORDWR)) < 0) in main()
/plan9/sys/src/cmd/cifs/
H A Dmain.c829 rdonly(Session *s, Share *sp, char *path, int rdonly) in rdonly() function
841 if((rdonly && !(fi.attribs & ATTR_READONLY)) || in rdonly()
842 (!rdonly && (fi.attribs & ATTR_READONLY))){ in rdonly()
844 fi.attribs |= rdonly? ATTR_READONLY: 0; in rdonly()
886 rdonly(Sess, a->sp, mapfile(a->path), 0) == 0) in fsremove()
932 rdonly(Sess, a->sp, mapfile(a->path), 0); in fswstat()
1026 if(rdonly(Sess, a->sp, mapfile(a->path), fi.attribs & ATTR_READONLY) == -1){ in fswstat()
/plan9/sys/src/cmd/disk/
H A Dpartfs.c31 int rdonly; variable
540 rdonly = 1; in main()
564 if((fd = open(file, rdonly? OREAD: ORDWR)) < 0) in main()
/plan9/sys/man/
H A Dsearchindex326 …tion partition's partitioning partitions pc plain prefix prevent provide rdonly reading reads real…
/plan9/sys/lib/man/lookman/
H A Dindex48685 rdonly /sys/man/2/disk