2
votes
1answer
16 views

Formatting filesystem in partitioned loop file corrupts partition table

I created an approximately 3 gig file named test and partitioned it with fdisk. I then setup a loop device with that file (and an offset) in order to format an ext4 filesystem in the second partition. ...
0
votes
2answers
60 views

Mounting a unionfs hides ALL lower-layer files

I have partitions in /dev/mmcblk0p5 and /dev/mmcblk0p7. I would like to union them together such that p5 is read-only and p7 holds the changes. I'm mounting p5 on /ro-root and p7 on /root-overlay. / ...
0
votes
1answer
22 views

Symlink two real directories with files in both

I have two directories, with files in both of them: ./read/pub/ |- file1 and ./write/pub/ |- dir1/ |- file2 |- file3 I need to create a symlink so that all the ...
1
vote
0answers
20 views

partitioning and subvol strategy with btrfs

I'm new to btrfs and I'd like some advice on partitioning and subvolume strategy. The system is a light-duty web server, and assume it only has a single disk. With ext filesystems, I've always ...
0
votes
0answers
41 views

An inaccessible folder with a random name has appeared in my ~/Pictures folder

Today I noticed a folder within my Pictures folder, that I did not create, and can't access even with root privileges, it is named "3TNksAEHqX" and I can't use ls on it, though I can stat it, as seen ...
0
votes
0answers
14 views

df -h shows usedspace differnt from what reported on the wire

I created a 450G ufs64 file system, created an exported and mounted on linux. df -h show like below khawk-dev-yyan:/test # df -h /test/TC_UNITY_28940_FileAsyncOps_NFS Filesystem ...
0
votes
0answers
9 views

Detect symlink errors in installation

It is my understanding that the Linux Filesystem Hierarchy is supposed to be structured like this: /usr/lib/prog-ver - contains the actual installation of prog (e.g., java) version ver (e.g., ...
0
votes
1answer
41 views

Linux - How do I make a single folder RW and the rest of the filesystem RO?

I have successfully configured my Debian Linux's file system to be read-only. I made several changes, however the file relevant to this question is /etc/fstab: proc /proc proc ...
0
votes
1answer
48 views

Difference in opening a file in Python in Linux versus Windows

What are the differences, if any, in how Python deals with opening/closing a file in Windows versus doing the same in Linux? I understand that in Linux the kernel acts as an interface between the ...
0
votes
2answers
58 views

Recover Partition Table After Remove Partition (parted)

I deleted a partition using (parted) rm 3, so I could extend my ext4 partition. Here was my partition table before I removed it: Disk /dev/sda: 250GB Sector size (logical/physical): 512B/512B ...
3
votes
1answer
35 views

Linux suitable filesystem with large metadata

I got know here the following: Most unices do not have a concept of file creation time. You can't make ls print it because the information is not recorded. If you need creation time, use a version ...
2
votes
0answers
24 views

Difficulty removing corrupt directory

I have two disks in raid 0. I ran fsck on them and long story short, didn't fix it completely. I found it is all in a single directory. I dont mind losing this dir completely so i tried to rm it. I ...
4
votes
2answers
49 views

Union filesystem with “versioned” filenames?

Do you know if there is a unioned fs for GNU/Linux that shows also "shadowed" files with slightly different names? I.E. if I have two fs like: root1 +dir1 +dir2 +file1 +file2 +file3 root2 +dir1 ...
0
votes
1answer
38 views

chmod: WARNING: Circular directory structure

I can't delete or change permissions in a partition. I tried to delete some files through the command line, the result: rm: cannot remove 'path-to-files' : Read-only file system Next thing: sudo ...
0
votes
2answers
41 views

Does `dd` work on physical level or on filesystem level?

When you delete a file from a device, let's say an USB stick, then (without doing any further stuff) only the entry in the filesystem is deleted, the raw bytes of this file are still on the device ...
1
vote
0answers
24 views

Ext4 allocation pattern with random writes in sparse file

If I create a large (a few GB) sparse file in ext4, and then write randomly throughout the length until all 4k blocks have been "touched", in the absence of other heavy write load, can I expect that ...
1
vote
5answers
72 views

How to find a very latest created file in current directory on linux machine?

How do I find a the last created file in the current directory on a Linux machine? Note: I don't know the mtime.
0
votes
0answers
41 views

Integrity check for the backup

I thought of different ways of integrity check for the backup and look for the fastest approach to start programming. in all these approaches randomness is used. I would appreciate if someone give ...
0
votes
1answer
74 views

Unknown Filesystem Type vboxsf

I am trying to run the command sudo mount -t vboxsf SharedUbuntuWindows SharedUbuntuWindows but I get the error unknown filesystem type 'vboxsf' on my guest Ubuntu machine. I am following these ...
-1
votes
1answer
13 views

Linux - conserving a partition through installation

When installing Linux, how can I preserve one drive (or a partition, or any area of the storage space on my machine) and all it's contents? Coming from Windows, all I had to do was to format the C:\ ...
0
votes
1answer
35 views

How to change label of an ext3 partition under Windows 7 or Tomato Linux?

I have several hard drives hooked up to a router running Tomato and shared over the network. I have mapped the drives to everyone's computer as M:, T:, etc. which also shows the label as if it were a ...
1
vote
1answer
43 views

ACL On Linux like Windows Permissions

Is there something for Linux where you have more advanced controls for linux permissions on users and groups like Windows. Is that what SeLinux is about?
0
votes
0answers
7 views

Sending files to play to media center

I have a linux box with XBMC installed that I use as a media center. Now imagine I bring my laptop home with a film I want to watch on TV (but I don't want to keep it). I could copy it to the server ...
0
votes
0answers
51 views

Unrecognized mount option “fmask=0111” or missing value

I'm using a mostly clean Ubuntu 14.04 install. I can mount the device successfully, using sudo mount -t ext4 /dev/sda4 /mnt/share. However, when I run sudo mount -a, I get the error mount: wrong fs ...
0
votes
1answer
33 views

Prevent user to read files from vfat filesystems - but allow to write

Its possible do that? I want to mount a flash drive(vfat) in linux and the user be able to write to it but not to read. I've tried: mount /dev/sdb1 /media/mpoint -o fmask=0444 but no results. ...
5
votes
1answer
564 views

Meaning of . and .. directories in linux [duplicate]

When display hidden file and directory in terminal using ls -la it show two directory i.e. . and .. and when list the content of dot(.) directory it contain all file and directories that is in it's ...
0
votes
1answer
17 views

what is the difference between /var/lib and /var/run

I am studying unix-like filesystem structure especially FHS. Anyways i know in the recent FHS /var/run is moved to /run I can't understand the difference between lib and run. Can someone elaborate ...
0
votes
0answers
12 views

Filesystem vs Object Store

Few months ago I created a PHP storage service, that serves as a bridge between our filesystem and web applications via its REST api. File metadata and file path (and "clustering" per storage type) is ...
0
votes
1answer
94 views

What is the correct way to configure a linux installation's partition system?

FIRST Sorry if this is technically a duplicate. i Have searched for the information and was unable to find it in any of the answers or forums. SECOND Since SE likes to close questions that don't get ...
1
vote
3answers
56 views

Caching a file system over the internet

I store all my files on my private server (DSL line, /28 network but still slow, especially the up-stream which is 512kBit). This works well for my smaller files, all my emails, Zarafa etc. But for ...
1
vote
1answer
25 views

Mountpoint for static mounts

I have a new Server with multiple hard drives (four of them). It's running Debian and I am currently installing it. Now I want to mount the HDDs according to the FHS. I found two possible locations: ...
0
votes
0answers
35 views

overlayfs, merging upperdir and lowerdir

After un-mounting the overlayfs, would it be possible to apply changes saved in the upperdir (rw dir) to the lowerdir? (merging changes)
0
votes
0answers
33 views

Userspace manipulation of partition and disk images

On a Linux system, is it possible to use only user-space tools to create and manipulate partition images (which will probably only have ext2 filesystems on them) and then take those partition images ...
3
votes
1answer
64 views

Hidden Files in Linux

In Linux (specifically), what's the difference between making files hidden by adding a "." before the name, or adding a "~" after the name. I know that both work for files, and that only the period ...
1
vote
2answers
60 views

Will a big RAM improve filesystem write IO?

We have hundreds of millions of small files on our server, totally about 500 GB. I'm looking for a way to speed up their creation. Would there be any difference if I get more RAM for that purpose? ...
0
votes
0answers
33 views

edited file not saved, while root, with mounted image

My problem is editing a file in the file system of and Android device. I have provided a short synopsis of how I got the file system off the Android device and mounted it on a Ubuntu PC - but the ...
0
votes
1answer
40 views

Fast splitting of list of files in chunks of the same size (memory)

See title. Assume I have the following list of files and relatives sizes: cat list_of_files.txt: 1243 001.txt 124 002.txt 4132 003.txt 3000 004.txt I want to be able to split into multiple chunks ...
1
vote
0answers
22 views

ext4 superblock checksum?

I'm reading the ext4 superblock, but its s_checksum (offset 0x3FC) is always zero. Also the s_checksum_type (offset 0x175) field is zero as well, however according to ...
1
vote
1answer
26 views

Is there a method of pre-pending one text file to another much larger text file without cat?

I have a 330 Gb file and 10 lines of text I'd like to pre-pend to the file. I don't particularly want to write out all 330 Gb again, just for 10 lines of text. Is there some low level command that ...
1
vote
0answers
43 views

Linux LUKS and choice of filesystem

Which filesystem displays the best performance when running on a LUKS encrypted partition? Does it make sense to use f2fs when the LUKS partition is on an SSD, or does the device-mapper abstraction ...
0
votes
1answer
61 views

Why does Windows lock the files during installation while linux doesnt lock the files

I noticed when a file is executed on Windows (.exe or .dll)for installation, it is locked and cannot be modified, whereas Linux allows user to modify them by delete/edit. Why does Windows lock when ...
0
votes
0answers
24 views

What directory is '//'? [duplicate]

I accidentally typed a couple of backslashes instead of a couple of periods: jwalton@debian-q500:~/openssl-1.0.1f$ cd // jwalton@debian-q500://$ pwd // jwalton@debian-q500://$ What directory is ...
1
vote
1answer
107 views

create a very small filesystem 4k or smaller

I'm trying to create a very small Linux filesystem. Something 4k or smaller. It's for an experiment with backup software that does block level backups. I've got a Linux logical volume that's 4K in ...
1
vote
0answers
451 views

USB disk not auto-mounting in Ubuntu 12.04

It used to, but suddenly now it doesn't. The device shows up in the following: dmesg | tail -1 [394191.758315] usb 2-1.3: new high-speed USB device number 9 using ehci_hcd ...which I know is the ...
0
votes
1answer
31 views

Best way to access ext partion in windows?

What is the most stable and easiest way to get readable access of linux partitions in windows? All software and drivers I´ve found seem to have been dead/inactive for at least 4 years. Native ...
0
votes
1answer
50 views

USB Filesystem that can run executables and can mount on Linux and OS X

I'm looking for a filesystem that I can format a USB drive with that can run C++ executables. Tried FAT32: $ ./main bash: ./main: Permission denied Tried NTFS: $ ./main bash: ./main: Permission ...
0
votes
1answer
2k views

Change GPT partition file system type with parted

When I created my GPT partitions using parted, I was using ext2 file system type perviously: $ parted /dev/sdc print | grep ^12 12 961GB 1118GB 157GB ext2 msftdata Now I ...
0
votes
0answers
76 views

copying files from linux mint filesystem to ntfs ridiculously slow

Any ideas why file transfer in linux mint is very slow? I'm simply copying from the linux filesystem in the same drive that is partitioned. If it helps I have set the ntfs partition to auto-mount ...
2
votes
1answer
126 views

Case (in)sensitivity issues on a NAS connected to from both Linux and Windows machines

Scenario I have a NAS (Synology DS1813+ based on DSM 4.3). It runs a version of linux, so the file system is (supposedly) case sensitive. I access the NAS with 2 computers. One of them runs Windows 7 ...
1
vote
1answer
128 views

Can I find files through the extended attributes

In Linux can I find files through the extended attributes I define? Since I can find files through its basic attributes like the file's type and others, I wonder if this is possible (because in ...