Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [read-write]

The tag has no usage guidance.

0
votes
0answers
19 views

Slow Read/Write SSD Speed After Suspend

When I first boot on the system (it's a laptop), everything is AMAZING! But if it sits idle and suspends to ram or if I manually STR then when I wake the system, it is very very sluggish. Commands run ...
1
vote
0answers
44 views

A more permanent change to readonly squashfs mounted /etc

I have an IP-camera with the BusyBox v1.22.1 operating system that has some accounts either without or with public known passwords that I want to change to make it more secure. I have managed to log ...
1
vote
1answer
194 views

/sys/kernel/debug/dynamic_debug/control not writable, follow xhci_hcd debug guide

I want to follow this tutorial. But I can't write to /sys/kernel/debug/dynamic_debug/control- or [debugfs]/dynamic_debug/control-file as suggested by the guide, even tough I am root, the special ...
1
vote
1answer
116 views

Saving terminal output to file line-by-line (writing and closing file after every print)

I have a Python script running on a Linux machine which is printing output out to the terminal. Currently, I'm logging this output to a file using the script command. However, the problem with this ...
1
vote
3answers
4k views

Write access to NTFS drives

Never had this problem before. The drives will not give me write access Drives are ntfs. Fstab was set on default, now tried rw option and nothing. Using Manjaro. How can I get write access to drives?...
2
votes
2answers
3k views

Under what conditions exactly does SIGPIPE happen?

Say we have a named pipe called fifo, and we're reading and writing to it from two different shells. Consider these two examples: shell 1$ echo foo > fifo <hangs> shell 2$ cat fifo foo shell ...
0
votes
0answers
222 views

Comparing I/O schedulers

I intend to compare different three I/O schedulers: "noop", "cfq", and "deadline" and I plan to compare them for both random reads and writes. So far, the only meaningful cases that I have identified ...
0
votes
1answer
19 views

Having multiple computers on network access file?

Say I have a program being run on multiple computers all on the same network (and all on the same account). Every once in a while the program needs to read/write a file save.dat. The actual file ...
2
votes
0answers
316 views

Can't set filesystem to rw after crash

My Mint crashed twice yesterday. Googling for frozen system with flashing caps and scroll-lock LEDs made me believe it was a hardware problem. I carefully cleaned everything, and the hardware seems to ...
1
vote
0answers
572 views

Unable to write to partition

I have a dual boot system: Kali Linux + Windows 10, on two different partitions. There are two other partitions I use for storage. They are accessible. I can mount them, but I'm unable to write to ...
0
votes
3answers
1k views

Can't format USB Stick

Ok so here's what happened. I had been using a USB stick to re-install Windows 10 and quickly reformat my dads laptop. Now I used the existing Windows 10 to create the live USB drive and I guess it ...
0
votes
1answer
48 views

Why is the write rate to the disk being up to several GB/s, while no process reports any writing?

I use Ubuntu 17.04, though this problem was persistent in many previous versions. Long ago (a year or two, I think) I started to spot it. Immediately (no more than a couple of minutes) after the ...
1
vote
0answers
2k views

Cannot write to/ cannot create directory (Read-only file system)

I have a dual boot system with Kali Linux and Windows. I have 4 four partitions, one with a Windows install, another with the Kali Linux installation and the other two left aside for storage of other ...
-2
votes
1answer
104 views

How to write on a second hard disk?

New Linux (Debian) installation. Two hard disks, A and B. On A I have the whole system, on B I just have the lost+found directory. Only root has read/write access to B. How can I create a directory in ...
0
votes
2answers
2k views

I can't -o “remount,rw” a usb drive

I have a usb drive. It mounts as "ro." When I mount -o "remount,rw" I see this in dmesg. hfsplus: filesystem was not cleanly unmounted, running fsck.hfsplus is recommended. leaving read-only. The ...
2
votes
0answers
4k views

checkPermissions Missing write access to /usr/local/lib/node_modules

I tried to install the npm install pug, could not because of the permisions, got this: checkPermissions Missing write access to /usr/local/lib/node_modules However im logged in as as root Linards:~ ...
1
vote
2answers
440 views

How to get read-write access (safe) to ext4 filesystem used by second OS running from virtualbox

I run Ubuntu 16 Desktop as host and on VirtualBox running Ubuntu 16 Server as guest which is using raw partition on another disk different from the one used by the host. I am searching for a solution ...
-1
votes
1answer
121 views

Read file and write output in another file using shell script

My input file is: Employee e_id e_name 100 abc 101 xyz 102 pqr Salary e_id e_salary 100 12345 101 67890 Dependents e_id depp1 depp2 100 qwer tyui 102 asdf ghjkl I want the output line by line as ...
2
votes
1answer
1k views

Remounting is not supported at present. You have to umount volume and then mount it once again

I was not able to chmod a file in my /dev/sda3 on my Ubuntu12.04 system. This is what I get when I try to see its information: $ mount | grep 'media' /dev/sda2 on /media/sda2 type fuseblk (rw,...
1
vote
1answer
273 views

How can the read/write speed of a partition or drive be measured? [duplicate]

How can I preferable from the terminal measure the read and write speeds of /dev/sdx?
8
votes
5answers
64k views

USB Disk Read-only, cannot format - Turn off write-protection

I have a USB disk which does not allow me to format/mount/unmount or created partitions on it. Using dmesg | tail gives me the following result: I found this post on AskUbuntu and tried using the ...
1
vote
1answer
188 views

SWAP write protection on SSD

When using SWAP on an SSD, does the filesystem offer any write-cycle protection? i.e. randomizing or otherwise managing writes to avoid "flash wear-out" since modern SSDs are generally rated in the ...
1
vote
2answers
2k views

Need write permissions to install themes on Linux Mint 17 “Rebecca” Mate

Just installed Linux Mint 17 "Rebecca" Mate. I'm trying to install a new theme and am directed to http://gnome-look.org/index.php?xcontentmode=167 I've downloaded a couple and their instructions ...
1
vote
0answers
85 views

How can we measure performance overhead resulting from writing to files or folders?

I have a tool which takes as input a folder or a file and then it logs operations done on that file or folder (modifying,deletion,creating new folders or files, etc). I was looking for a way to ...
1
vote
2answers
20k views

mounting iso image: message “block device is write protected, mounting read-only”! [duplicate]

I want to delete a few files from my iso image on hard disk. So, I did: ravbholua@ravbholua-Aspire-5315:/media/ravbholua/f34890dd-20d2-4d78-92c9-1de7c0957f00$ sudo mount -o loop check_bholua99.iso /...
2
votes
5answers
422 views

AWK Search massive file and write to variable name

I want to pull data that I will need to reformat from a simulation file I am working with to prepare it as input for running other simulations. The target data is an optimized chemical z-matrix. The ...
5
votes
2answers
2k views

Overwriting an input file

Solutions that I have come across for replacing the contents of an input file with converted output involve using a temp file or the sponge utility. Stephane Chazelas's answer here indicates another ...
0
votes
1answer
570 views

How do I set up proper ownership of these files?

I need the directory /var/www/ (and everything inside it) to be modifiable by only authorized users. The way I tried to do this was: sudo groupadd webmasters sudo usermod -G webmasters pi # My user ...
41
votes
4answers
103k views

Mounting a squashfs filesystem in read-write

I have a Clonezilla installation on a USB stick and I'd like to make some modifications to the operating system. Specifically, I'd like to insert a runnable script into /usr/sbin to make it easy to ...