Home
last modified time | relevance | path

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

/freebsd/sbin/fsck_msdosfs/
H A Dmain.c47 int rdonly; /* device is opened read only (supersedes above) */ variable
136 if (alwaysyes || alwaysno || rdonly) in ask()
137 def = (alwaysyes && !rdonly && !alwaysno); in ask()
148 if (alwaysyes || alwaysno || rdonly) { in ask()
H A Dcheck.c58 rdonly = alwaysno; in checkfilesys()
62 dosfs = open(fname, rdonly ? O_RDONLY : O_RDWR, 0); in checkfilesys()
63 if (dosfs < 0 && !rdonly) { in checkfilesys()
69 rdonly = 1; in checkfilesys()
H A Dext.h46 extern int rdonly; /* device is opened read only (supersedes above) */
H A Dfat.c507 if (rdonly) { in fat_set_cl_next()
715 PROT_READ | (rdonly ? 0 : PROT_WRITE), in _readfat()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/off/
H A Ddosmode.ksh148 log_must $changeflags rdonly $testfile
149 log_must hasflag rdonly $testfile
158 log_mustnot user_run $other $changeflags rdonly $testfile
161 log_must hasflag rdonly $testfile
/freebsd/libexec/makewhatis.local/
H A Dmakewhatis.local.sh49 localdirs=`find -H $dirs -fstype local \! -fstype rdonly -type d -prune -print`
/freebsd/usr.sbin/periodic/etc/daily/
H A D100.clean-disks43 rc=$(find / \( ! -fstype local -o -fstype rdonly \) -prune -o \
/freebsd/sys/kern/
H A Dvfs_lookup.c1026 int rdonly; /* lookup read-only flag bit */ in vfs_lookup() local
1055 rdonly = cnp->cn_flags & RDONLY; in vfs_lookup()
1317 if (rdonly) { in vfs_lookup()
1425 if (rdonly && in vfs_lookup()
1498 int rdonly; /* lookup read-only flag bit */ in vfs_relookup() local
1508 rdonly = cnp->cn_flags & RDONLY; in vfs_relookup()
1553 if (rdonly) { in vfs_relookup()
1575 if (rdonly && in vfs_relookup()
/freebsd/contrib/netbsd-tests/dev/fss/
H A Dt_fss.sh55 mount -o rdonly /dev/fss0 ./m2
/freebsd/cddl/usr.sbin/dtrace/tests/common/scripting/
H A DMakefile10 err.D_OP_LVAL.rdonly.d \
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dproperty_alias_001_pos.ksh99 readonly|rdonly )
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_set/
H A Dproperty_alias_001_pos.ksh112 readonly|rdonly )
/freebsd/tools/tools/sysbuild/
H A DREADME109 REMOTEDISTFILES=fs:/rdonly/distfiles
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c1001 uint64_t rdonly; in zfs_check_global_label() local
1004 zfs_prop_to_name(ZFS_PROP_READONLY), &rdonly, NULL)) in zfs_check_global_label()
1006 return (rdonly ? 0 : SET_ERROR(EACCES)); in zfs_check_global_label()
/freebsd/tests/sys/cddl/zfs/include/
H A Dlibtest.kshlib2829 rdonly) prop=readonly ;;