/dragonfly/sbin/fsck_msdosfs/ |
H A D | main.c | 41 int rdonly; /* device is opened read only (supersedes above) */ variable 125 if (alwaysyes || alwaysno || rdonly) in ask() 126 def = (alwaysyes && !rdonly && !alwaysno); in ask() 137 if (alwaysyes || alwaysno || rdonly) { in ask()
|
H A D | check.c | 50 rdonly = alwaysno; in checkfilesys() 54 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0); in checkfilesys() 55 if (dosfs < 0 && !rdonly) { in checkfilesys() 61 rdonly = 1; in checkfilesys()
|
H A D | ext.h | 47 extern int rdonly; /* device is opened read only (supersedes above) */
|
H A D | fat.c | 501 if (rdonly) { in fat_set_cl_next() 629 PROT_READ | (rdonly ? 0 : PROT_WRITE), in _readfat()
|
/dragonfly/sys/kern/ |
H A D | vfs_lookup.c | 77 int rdonly; /* lookup read-only flag bit */ in relookup() local 89 rdonly = cnp->cn_flags & CNP_RDONLY; in relookup() 117 if (rdonly) { in relookup() 138 if (rdonly && (cnp->cn_nameiop == NAMEI_DELETE || in relookup()
|
/dragonfly/sys/vfs/nfs/ |
H A D | nfs_serv.c | 217 int error = 0, rdonly, getret; in nfsrv3_access() local 290 int error = 0, rdonly; in nfsrv_getattr() local 444 if (rdonly || (mp->mnt_flag & MNT_RDONLY)) { in nfsrv_setattr() 686 int error = 0, rdonly, i, tlen, len, getret; in nfsrv_readlink() local 1010 int error = 0, rdonly, len, forat_ret = 1; in nfsrv_write() local 1228 int error = 0, rdonly, len, forat_ret = 1; in nfsrv_writegather() local 1390 nfsd->nd_nam, &rdonly, in nfsrv_writegather() 3739 int error = 0, rdonly, getret = 1; in nfsrv_statfs() local 3822 int error = 0, rdonly, getret = 1, pref; in nfsrv_fsinfo() local 3900 int error = 0, rdonly, getret = 1; in nfsrv_pathconf() local [all …]
|
H A D | nfs_subs.c | 997 int error, rdonly; in nfs_namei() local 1057 nam, &rdonly, kerbflag, pubflag); in nfs_namei() 1078 if (rdonly) { in nfs_namei()
|
/dragonfly/sbin/hammer2/ |
H A D | ondisk.c | 204 hammer2_add_volume(const char *path, int rdonly) in hammer2_add_volume() argument 212 fd = open(path, rdonly ? O_RDONLY : O_RDWR); in hammer2_add_volume() 492 hammer2_init_volumes(const char *blkdevs, int rdonly) in hammer2_init_volumes() argument 509 hammer2_init_volumes(devpath, rdonly); in hammer2_init_volumes() 511 hammer2_add_volume(devpath, rdonly); in hammer2_init_volumes()
|
H A D | hammer2_subs.h | 101 void hammer2_init_volumes(const char *blkdevs, int rdonly);
|
/dragonfly/libexec/makewhatis.local/ |
H A D | makewhatis.local.sh | 50 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
|
/dragonfly/etc/periodic/daily/ |
H A D | 100.clean-disks | 44 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
|
/dragonfly/nrelease/root/etc/rc.d/ |
H A D | pfi | 67 if mount_msdos -o rdonly /dev/$try_device /mnt ; then
|
/dragonfly/sbin/hammer/ |
H A D | hammer_util.h | 82 int rdonly; member
|
H A D | ondisk.c | 96 volume->rdonly = (oflags == O_RDONLY); in __alloc_volume() 987 if (volume->rdonly) in __write()
|