IsReadOnly
bool IsReadOnly() const;
bool IsReadOnly() const {
bool IsReadOnly() const;
bool IsReadOnly() const;
bool IsReadOnly() const
geometry->read_only = remoteDisk->IsReadOnly();
if (volume->IsReadOnly()) {
if (GetVolume()->IsReadOnly()) {
if (GetVolume()->IsReadOnly())
if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly())
if (fVolume->IsReadOnly())
if (opener.IsReadOnly())
block_cache_delete(fBlockCache, !IsReadOnly());
if (opener.IsReadOnly())
bool IsReadOnly() const;
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (!volume->IsReadOnly() && !volume->IsCheckingThread()) {
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
| (volume->IsReadOnly() ? B_FS_IS_READONLY : 0)
if (volume->IsReadOnly())
if (!volume->IsReadOnly() && !volume->IsCheckingThread()
if (volume->IsReadOnly())
if (io_request_is_write(request) && volume->IsReadOnly()) {
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly())
if (opener.IsReadOnly())
if (opener.IsReadOnly())
block_cache_delete(fBlockCache, !IsReadOnly());
bool IsReadOnly() const
| (volume->IsReadOnly() ? B_FS_IS_READONLY : 0);
if (volume->IsReadOnly())
if (io_request_is_write(request) && volume->IsReadOnly()) {
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (!fVolume->IsReadOnly())
if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly())
if (opener.IsReadOnly())
block_cache_delete(fBlockCache, !IsReadOnly());
bool IsReadOnly() const
| (volume->IsReadOnly() ? B_FS_IS_READONLY : 0);
if (io_request_is_write(request) && volume->IsReadOnly()) {
if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly())
if (opener.IsReadOnly())
if (!IsReadOnly() && _UnsupportedReadOnlyFeatures(fSuperBlock) != 0)
if (!IsReadOnly()) {
if (!IsReadOnly() && HasJournalFeature()) {
if (!IsReadOnly()) {
block_cache_delete(fBlockCache, !IsReadOnly());
if (IsReadOnly())
if (IsReadOnly())
bool IsReadOnly() const
if (volume->IsReadOnly())
if (volume->IsReadOnly())
| (volume->IsReadOnly() ? B_FS_IS_READONLY : 0);
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly()) {
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
bool IsReadOnly() const;
if ((flags & B_MOUNT_READ_ONLY) != 0 || DeviceOpener(device, O_RDWR).IsReadOnly())
IsReadOnly());
fBlockCache = block_cache_create(device, length, blockSize, IsReadOnly());
bool IsReadOnly() { return true; }
if (opener.IsReadOnly())
bool IsReadOnly() const
| (volume->IsReadOnly() ? B_FS_IS_READONLY : 0);
if ((accessMode & W_OK) != 0 && fVolume->IsReadOnly())
if (opener.IsReadOnly())
bool IsReadOnly() const
if (device.HasMedia() && !device.IsReadOnly()) {
if (IsReadOnly())
if (IsReadOnly())
if (IsReadOnly())
bool IsReadOnly() const { return fIsReadOnly; }
return !fEditor.IsReadOnly()
fReadOnly = volume.IsReadOnly();
fWriteMenuItem->SetEnabled(!disk->IsReadOnly());
bool writable = !partition->IsReadOnly()
if (disk->IsReadOnly()) {
if (disk->IsReadOnly()) {
if (disk->IsReadOnly()) {
if (disk->IsReadOnly()) {
if (volume.IsReadOnly()) {
if (partition->IsReadOnly()) {
fReadOnly = volume.IsReadOnly();
printf("\tIsReadOnly(): %s\n", partition->IsReadOnly() ? "true" : "false");
if (entry.GetVolume(&volume) != B_OK || volume.IsReadOnly()) {
&& !partition->IsReadOnly()
if (partition->IsReadOnly()
if (volume.SetTo(device) == B_OK && !volume.IsReadOnly()
if (volume.IsReadOnly() || !volume.IsPersistent()
editable = editable && !volume.IsReadOnly();
message->AddBool("canUnlock", !volume.IsReadOnly());
if (partition->IsReadOnly()) {
if (partition->IsReadOnly()) {
if (!volume.IsReadOnly() && volume.IsPersistent())
if (volume.IsReadOnly() || !volume.IsPersistent())
bool sourceIsReadOnly = volume.IsReadOnly();
if (volume.IsReadOnly() || !volume.IsPersistent())
if (volume.IsReadOnly() || !volume.IsPersistent())
if (volume.IsReadOnly() || !volume.IsPersistent() || volume.Capacity() == 0)
if (volume.IsReadOnly()) {
if (result == B_OK && volume.IsReadOnly())
if (result == B_OK && volume.IsReadOnly())
if (dstVol->IsReadOnly())
if (volume.IsReadOnly() || !volume.IsPersistent() || volume.Capacity() == 0)
|| (fWritable && fVol.IsReadOnly()));
if (strcmp(info.fsh_name, "cdda") != 0 && !volume->IsReadOnly()) {
if (destVolume.InitCheck() == B_OK && destVolume.IsReadOnly()) {
if (volume.IsReadOnly()) {
&& (volume.IsReadOnly() || !volume.KnowsAttr())) {
if (volume.InitCheck() == B_OK && volume.IsReadOnly())
return volume.InitCheck() == B_OK && volume.IsReadOnly();
|| (volume.InitCheck() == B_OK && volume.IsReadOnly());
if (volume.IsReadOnly() || !volume.IsPersistent()
if (volume.IsReadOnly() || !volume.IsPersistent() || volume.Capacity() == 0)
if (volume.IsReadOnly() || !volume.IsPersistent() || volume.Capacity() == 0)
if (!vol.IsPersistent() || vol.IsReadOnly() || vol.IsRemovable()
if (!vol.IsPersistent() || vol.IsReadOnly() || vol.IsRemovable()
if (!vol.IsPersistent() || vol.IsReadOnly()
return partition->IsReadOnly();
if (partition->IsReadOnly())
} else if (bootPartition->IsReadOnly()
printf("%s read only: %d\n", prefix, partition->IsReadOnly());
if (fDevice->IsReadOnly()) {
if (fDevice->IsReadOnly())
if (fDevice->IsReadOnly())
CHK(volume.IsReadOnly() == bool(info.flags & B_FS_IS_READONLY));
CHK(volume.IsReadOnly() == false);
printf("%s read only: %d\n", prefix, partition->IsReadOnly());
IsReadOnly());
if (!IsReadOnly()) {
if (IsReadOnly())
inline bool IsReadOnly() const;
if (io_request_is_write(request) && volume->IsReadOnly()) {
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())
if (volume->IsReadOnly())