A filesystem is a method of storing and organizing computer files and their data.
2
votes
1answer
35 views
Is it Safe to write to linux Partition from Windows?
I do tasks some of which require Windows while some require Ubuntu and thus I sometime need to access linux from windows, though the reverse is easily possible.
So, I searched in google and got an ...
0
votes
1answer
39 views
File system CRC check
I know that before running the kernel, u-boot (the boot loader) will check the kernel image CRC. Only if it is correct it will go further, else it will give a "Bad CRC" error.
I want to do same thing ...
3
votes
1answer
42 views
Why aren't CD image files listed when mounted in current directory?
When mounting a disk image in the current directory using :
sudo mount -o loop -t iso9660 wall.iso ./
Listing files in current directory only returns wall.iso .
To view the actual files on the disk ...
3
votes
1answer
67 views
Where to put scripts only to be called by another script?
I've written a basic command line application composed of multiple bash scripts. One of these is intended to be run by any user of the computer, so I understand the correct location for this would be ...
3
votes
1answer
27 views
Ubuntu filesystem buffers/cache always empty
I have a virtual server with ubuntu 10.04.4 LTS and plesk (preinstalled by hosting company).
Now i have seen that the buffers/cache are always empty.
Current uptime is 22 days. free and htop shows the ...
0
votes
0answers
17 views
Query an overlayfs
I'm looking for a way to query a mounted overlay filesystem [overlayfs] in order to check it's upper and lower dir but till now I didn' find any suitable command.
Please , someone in the list know is ...
17
votes
4answers
755 views
What doesn't need defragmentation? Linux or the ext2 ext3 FS?
Why don't you have to defrag a Linux system? Because it's using the ext2/ext3 file system or because it's Linux?
That's relevant, because a have a double boot system (W7 / Ubuntu) and a common ...
4
votes
3answers
36 views
Why does mcedit recommend removing hardlinks when saving a file?
Whenever I use mcedit to edit a file that is hard linked somewhere and I want to save the file, the editor asks me if I want to remove the hard links. Is that common behavior on Linux or is mcedit ...
5
votes
1answer
40 views
Finding all the hard-links of a file without traversing the file system
I have seen in this page that inodes have a link counter to know how many files (read: "directory entry") point to this inode. Is there a way to know which directories contain such entries without ...
2
votes
3answers
53 views
How to check if the ISO was written to my USB stick without errors?
I followed these DebianEeePC HowTo InstallUsingStandardInstaller instructions at the Debian Wiki, to write a Debian ISO to my USB.
dd if=debian-*-netinst.iso of=/dev/sdX
Using sha1sum, I can check ...
2
votes
2answers
27 views
How should I format a USB prior to writing an ISO to it?
I found these Debian EeePC HowToInstallUsingStandardInstaller instructions at the Debian Wiki, stating that I can install an ISO to a USB using this:
dd if=debian-*-netinst.iso of=/dev/sdX
Do I ...
3
votes
3answers
91 views
What filesystem should be used when transfering files between Linux systems?
I often need to move files between two Linux computers via USB. I use gparted to format the USBs. When I formatted the USB to use FAT32, the USB was unable to copy symlinks, so I had to recreate the ...
1
vote
1answer
71 views
What exactly would happen if this command were run?
A simple curiosity... assuming running as root what would the following command do?
# mv / /dev/null
Would it be a faster death than rm -rf from the root of the tree?
2
votes
2answers
42 views
Can I use partitions made by Windows 7 in Linux?
I am planning to leave Windows and get to Linux (yet do not know which one, but it is not the question).
I was using Windows 7, I have 2 partitions (C:198 GB, D:488 GB). And I have a lot of documents ...
1
vote
0answers
52 views
EXT3 file operations [migrated]
I am trying to follow how Linux deals with EXT3 files.
I am looking at fs/ext3/file.c where there are file operations that deal with the files are present:
const struct file_operations ...
0
votes
1answer
42 views
Finding which filesystem [duplicate]
I have an external hard drive and would like to know what kind of a file system it has.
How do I find that out using the terminal?
1
vote
2answers
110 views
How many files is equal to 1 inode
I am quite confused about the i-nodes. They say delete files to reduce the i-nodes but I have deleted 100s of log files from different cpanels on my server but inode count is still the same.
1
vote
0answers
28 views
Can I use a disk without partitioning it? [duplicate]
If I have a disk (whether a physical disk or a virtual disk managed by a some VM hypervisor) that I want to use as a single big partition, do I need to actually create a partition table with one big ...
0
votes
2answers
34 views
Comparison of forbidden symbols and names in different FS's
What symbols and (maybe) names are forbidden on different files systems available in modern Linux distribution?
2
votes
1answer
54 views
Finding all partitions with filesystems
I'm writing a script that will copy all of the files on a device to a directory. The problem is that some of the devices have multiple partitions and some of the partitions don't have filesystems to ...
2
votes
2answers
72 views
How does Linux know the Location of File Data on Disk
related to: What is a Superblock, Inode, Dentry and a File?
None of the famous metadata structures hold onto to location data for the actual file. Dentry maps names to inodes, and inodes store ...
2
votes
1answer
30 views
Does Rsnapshot work on Fat32 filesystem?
Does Rsnapshot work on the Fat32 filesystem?
I get the impression from Rsnapshots homepage that it does, but then I read here that it doesn't.
So I'm not sure what to think.
4
votes
2answers
66 views
How to upgrade shared library without crash?
Here it says that you can rewrite an executable file and the process will run just fine - it will be re-read when a process restarts.
However, when I try to replace a binary file while the process is ...
4
votes
0answers
69 views
why . and .. are listed when ls -a command executed? [duplicate]
When I execute the ls -a command, all files and folders in that directory listed, as well as . and .. are listed too.
Why is that? Are they a file or folder?
3
votes
2answers
66 views
How can I backup a directory to NTFS while preserving Unix file attributes?
I want to make a backup of my home directory to an NTFS partition (an unfortunate limitation). However, when I last tried using just cp, the attributes (owner, etc) went away. How can I make a backup ...
2
votes
1answer
60 views
What are /dev, /run and /run/shm and can I resize them?
So, I recently created a 15GB partition for Linux Mint 14. I've been working on it for a while, and I got a Low Disk Space notification. I ran df -h and this is what I'm getting:
Filesystem Size ...
0
votes
1answer
21 views
Files replaced with Finder on Mac creating a copy on Samba's .recycle
Scenario:
Ad Agency with Samba Server and multiple Mac users, 0 Windows users.
vfs objects = recycle
recycle:keeptree = yes
recycle:repository = /storage/files/.recycle/%U
Workflow:
Before start ...
0
votes
0answers
31 views
Fixing ssd card filesystem
While transferring media, my sansa was disconnected due to cable issue, and now I cannot remove the broken folders from the ssd card in windows. Format did not work, so I've decided to solve it quite ...
5
votes
4answers
151 views
Check if folder is a mounted remote filesystem
What is the best way (reliable, portable, etc.) to check if a given folder is on a mounted remote (nfs) filesystem within a shell script?
I am looking for a command that would look like:
...
1
vote
1answer
50 views
Strange behavior in mv command - maybe open sys call issue?
I'm noticing very strange behavior from the "mv" command that may (or may not) be related to the "open" system call. We're running RedHat v5. There are two separate storage devices, one mounted to ...
1
vote
2answers
231 views
ext3 root filesystems goes read-only with aborted journal even after repairs
Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
3
votes
1answer
99 views
Equivalent of pvmove for BTRFS
Similar to the question I asked a while back. This one's a little easier? I can see there's volume management logic in BTRFS for removing/adding/rebalancing physical drives, but is there a tool to ...
1
vote
3answers
32 views
Is there a robust way to cache contents of usb on local hd?
I'd like to switch between working on a laptop with a debian vm and a desktop pc running debian while carrying all my work files in a usb. Is there a robust way to automatically start caching the ...
1
vote
0answers
65 views
Are there any discussions about proposing a new filesystem hierarchy standard?
Are there any current discussions about switch to a different standard directory hierarchy for Linux? The only thing I currently know of is GoboLinux, which looks quite outdated.
4
votes
1answer
77 views
Determining LVM Extent numbers for given file
I'm currently engaged in a non-work related homework exercise. I have an ext4 filesystem sitting on a logical volume. I'm testing different performance tuning strategies and this idea occurred to me. ...
4
votes
1answer
76 views
Linux tool to track directory space over time
Are there any common Linux tools that track disk space over time, not just a filesystem overall, but for example, so I could easily see which directory trees swelled up and shrunk historically? The ...
0
votes
2answers
41 views
Information about the device files: /dev
ls /dev
command lists the device files.
How to know the associated drivers/major_numbers/minor_numbers with those device files?
Thanks
0
votes
2answers
76 views
Unknown btrfs error, partition won't mount
unix friends,
a day or so ago my btrfs partition just stopped working, which means i can't mount it anymore which is why my Fedora Linux doesn't boot anymore. I don't really have much information, ...
1
vote
0answers
50 views
unionfs filesystem
I recently learned about unionfs and aufs and would like to put it to some real use. The scenario I have in mind is the following. Boot a machine with ubuntu on it which will serve as our base. Make ...
1
vote
2answers
49 views
Encrypted disk filesystem compatibilities
On my Debian Linux system during the install I decided to use disk encryption (the one offered during a regulard Debian install). When the system boots up I need to enter a password and then the ...
7
votes
3answers
251 views
What filesystem offers best protection for securing data against corruption due to power loss?
I am running a small uClibc and busybox based embedded system on an x86 device. I am using an initramfs but I also mounting a custom ext3 directory on a compact flash device in IDE mode that I am ...
1
vote
1answer
96 views
Creation of a WORM file
I wanted to create few files which are Write Once Read Many (WORM). How do I do this? I assigned a permission level of 4000 to a file. Also I have to set retention to the files.
So I created a file. ...
3
votes
2answers
98 views
How to set permissions in /sys/ permanent?
I'm starting X as a user and need to set my keyboard brightness in /sys/class/leds/asus\:\:kbd_backlight/brightness. The /sys/ directory gets recreated after reboot, so the permissions will reset too. ...
2
votes
1answer
107 views
Will using a compressed filesystem over an encrypted volume improve performance?
Encryption/decryption is often the main bottleneck when accessing an encrypted volume. Would using a filesystem with a fast transparent compression (such as BTRFS + LZO) help? The idea is that there ...
0
votes
0answers
101 views
How to force drop all partitions and erase disk from terminal?
My question is in fact related to OS X, however I'm using Linux tools to resolve my problem.
I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
2
votes
1answer
87 views
ext2 fs inode error
I got "block bitmap differences" when doing e2fsck. I do e2fsck after i unmount that partition.
My question is: what exactly is "bitmap difference". The difference is between what to what?
Thank ...
0
votes
1answer
122 views
how are directories implemented in UNIX filesystem?
This question is extension to How are directories implemented in Unix filesystems?
I'm aiming to implement basic filesystem: After reading inode number and name we come to know Name of file and hence ...
2
votes
2answers
64 views
Taking file ownership when file and directory is readable/writable
I got some files in directory:
drwxrws-wt 2 me mygroup 4,0K 10.1. 12:34 .
-rw-r----- 1 someone mygroup 10G 10.1. 11:22 someonesfile
me and someone are regular users without supplementary ...
0
votes
0answers
51 views
Span a directory on an SD card and an attached USB stick
Can I span a folder on the SD card on my Raspberry Pi with a folder on an attached USB device?
I'd like to basically extend the size of a directory by using an attached USB memory stick.
I'm running ...
12
votes
2answers
393 views
Why is JFS so obscure?
When I first got into using Slackware years ago I quickly learned to love JFS over ext3 or reiserfs given that it was reliable and if there was an unclean shutdown, its disk checking was very very ...

