0
votes
0answers
16 views

How to change the filesystem type of a cryptmount loopback file?

I have a cryptmount volume as a file, not a partition, and I would like to change its filesystem type from ext3 to something else (ext4, btrfs, ...).How would I do that?I could always create a ...
-2
votes
1answer
87 views

How do I determine what is the best block size for a 960 PRO M.2?

I have a Samsung NVMe SSD 960 PRO M.2.I was in the process of installing Gentoo on it. gparted notified me that the physical block size, is different than what the kernel reports. I thought the ...
0
votes
0answers
31 views

Corrupt ext4 file system without root access

I am working on docker container where sudo is not allowed. But I want to test disk corruption scenario inside this container.dd if=/dev/urandom of=/dev/sda1 bs=4096 command can corrupt the ...
0
votes
0answers
17 views

Varying foler size in linux

I know that Linux doesn't show the total size of the contents in a folder as the folder size as Windows systems do.The following screenshot shows what I mean:Unlike shown in the image, the total ...
0
votes
1answer
16 views

Add Joliet after burning ISO9660 disc

I made multiple copies of a data disk using the following commands:genisoimage -r -f -o dvd.iso folder/wodim -eject dvd.isowodim -eject dvd.iso# ...wodim -eject dvd.isoAs far as I can tell, ...
0
votes
0answers
10 views

UnionFS set where each file ends

Is there a way to set the place of each file on the unionFS. I mean if the unionfs is composed of 2 other fs, Is there a way to specifiy where each file ends.
2
votes
1answer
41 views

What is the folder location of dev boot mnt home folders in the disk?

When I was installing Arch Linux, even before I create the partitions if I type lsblk I getloop0Sda (no sub partitions)Sr0 (CD ROM is mounted)Now in the terminal when I type pwdI get /root...
0
votes
2answers
42 views

Linux, list files being actively accessed (RW)

Is there any Linux command that can list what files are being actively accessed (actively being read/written)? E.g., while watching a video from web browser, I want to know where the cache file ...
0
votes
2answers
50 views

how does the “move to trash” or delete option copy files to the trash folder usually?

Here are what i tried :If a file is deleted , it is copied to Trash/files folder and then it is deleted and its info is stored in the Trash/info in Nautilus.So i thought if I make the file non ...
0
votes
0answers
118 views

Mounting Linux LVM on Live Ubuntu

I want to mount LVM partitions on my Ubuntu LiveCD.The problem is that when I do, all the process in all I get the following error.# mount /dev/ssd/xmpp /mnt/xmppmount: you must specify the ...
0
votes
1answer
25 views

Is it possible to create a file that gets its contents from a program?

In Linux, is it possible to make a file that upon being read from, gets its contents from an executable program?Specifically, say I have program date. Is it possible to get the output of that ...
20
votes
4answers
5k views

Is it safe to open a file that is being written by a running script?

I am running a shell script that is writing to a file.This script may take a long time to complete and I would like to monitor the partial output rather than wait for the whole script to finish. Is ...
1
vote
1answer
60 views

'ls' output timestamps different for files in /tmp versus in home directory

I'm ssh'd into my university Linux servers (RHEL 7). Here's the deal. It has to do with 'ls' and "old" files.Home directory:$ touch -d '1918-11-11 11:00 GMT' wwi-armistice$ touch now$ sleep 1$ ...
0
votes
0answers
25 views

How do I log the execution of programs within a directory regardless of shell?

I'm curious when exactly a particular directory is being used and when it is loaded into memory. Is there a way to place a low level hook in the linux file system that says when a file with execution ...
0
votes
1answer
30 views

ecryptfs - Encrypting identical files with the same key leads to different results

My understanding so far has been that ecryptfs uses a wrapped passphrase to encrypt files.When I mount two pairs of encrypted/decrypted directories using the same key I expect the same result when ...

153050per page