A file system is a way of organizing data on a computer system. Typically a file system consists of files, folders (normally a special kind of file) and an API that can be used for interacting with files.
0
votes
0answers
8 views
How to interface a file system to find sectors?
I'm writing a program that needs to know what sectors on a given disk (or disk image) are used by a file system (have files in them), and which are not (empty). The same way partimage is able to ...
0
votes
0answers
11 views
assignging text file contents to variable
Stack!
I'm currently trying to code a neat little function in Visual Basic that deletes my entire file system for my program depending on the contents of one text file.
If my text file contains the ...
0
votes
1answer
10 views
PhoneGap resolveLocalFileSystemURL Issue (Error 5)
I am using PhoneGap Build to build an iOS application and using weinre to debug. So far so good.
I am trying to use the media-capture and file APIs to capture a video and get its base64 ...
0
votes
2answers
21 views
File.Replace throws ERROR_UNABLE_TO_MOVE_REPLACEMENT
I have a 'safe' config file saving routine that tries to be atomic when writing user config data to the disk, avoiding disk caching etc.
The code goes something like this:
public static void ...
1
vote
0answers
35 views
How to make the linux filesystem power failure safe?
I need to have a robust filesystem on an debian or ubuntu linux. The problem is, that the system can be "shutdown" by just cut the power ( without a real shutdown ).
After such a scenario I don't ...
0
votes
0answers
4 views
See what Databases / File Shares an Active Directory group has access to
I have a list of Active Directory groups and list of users within each.
What I'd like to do now is see what SQL Server databases (and Windows file shares) each group has access to. Is it possible to ...
-4
votes
0answers
30 views
.net get notified when an process opens a file [on hold]
Is there an possibility in .net to get notified, when an process tries to open an specific file, to swap the file with an other one before the process gets access to this file?
-7
votes
1answer
30 views
How to to monitor a directory in Linux recursively? [on hold]
I want to monitor a Linux directory recursively. I am using inotify(7) and adding a watch to each sub directory that I find in the directory tree. But i do not get any notifications about any ...
0
votes
0answers
39 views
Python How Do I always select root folder no matter where my script is on linux?
This is what I have working so far since I asked the question I solved it but just in case anyone else has the same question.
This is the working code.
import sys
import os
file_list = []
for root, ...
-4
votes
0answers
28 views
Windows Phone 8 App Breaks When click any Button of those [on hold]
i'm designing an WP8 App that write ObjectGraph (or any type of data) to memory stream then to file Stream , and then read it .
I watched This Video and did like he did , But I Wonder !!, WHY My APP ...
-2
votes
1answer
9 views
No mountable file system Mac OS X? [on hold]
I want to make USB bootable, but I am getting following error as I click OSX-Mavericks.dmg
How can I solve this issue.
Thanks
0
votes
0answers
6 views
Need a better way to check if file is different across servers in PHP
I'm doing a synchronization app (one way mirroring for now)..
I have jpgs on the remote server, that i need to sync w/ local server.
Both servers are running Apache/PHP .. remote is on LAMP stack ...
0
votes
2answers
27 views
Wild Card Searching a file system folder in Java [duplicate]
I currently have a Java program that loops through several hundred files in a directory on my windows machine searching for a string in each file.
I do this my creating an array out of the 200+ file ...
0
votes
1answer
18 views
Common File System Attributes on Linux, Mac and Windows
I am looking for the some document/presentation which will give me an idea about different File and Directory attributes available on Windows, Mac and Linux file system. Also wanted to know Common ...
-1
votes
1answer
10 views
Checking integrity with MD5
We have an desktop application what has an automatic update module that downloads an update file and install it.
the updating routine does an MD5 comparison for the update file before updating ...
0
votes
1answer
48 views
Corrupted .viminfo file
Somehow my .viminfo file inside /home/username is corrupted. So, ls -al command gives this output for .viminfo file only
-?????????? ? ? ? ? ? .viminfo
Therefore, the ...
0
votes
1answer
23 views
how to extract file from a ext4 filesystem data?
i have a XXX.img file.
system.img: Linux rev 1.0 ext4 filesystem data, UUID=XXXX (extents) (large files)
i want to extract some file from it, how?
0
votes
0answers
21 views
How To Get Icons For Pictures Files in vb.net
I Tried To Get Icons Of files system and display it in my list Box
But i got an empty icon For Picture Files
This Is My Code:
Public Sub ExtractAssociatedIconEx()
' Initialize the ListView, ...
-4
votes
1answer
28 views
What is the minimum size that takes if new user account is created in windows 7 or 8? [closed]
it may be guest account,even what is the minimum size it reserves in admin Account.
if so then what may be the capacity that a windows os can create number of user accounts?
Pls answer me as quick as ...
1
vote
3answers
18 views
How to create a virtual command-backed file in Linux?
What is the most straightforward way to create a "virtual" file in Linux, that would allow the read operation on it, always returning the output of some particular command (run everytime the file is ...
0
votes
0answers
17 views
Any better alternatives to FileSystem API for Chrome Packaged App?
Now that the FileSystem API has been retired for Chrome Packaged Apps, I have been rethinking my use of it. Google Chrome has said that they will continue to support it, but it looks like a dead-end ...
0
votes
1answer
32 views
Can 777 be secured?
I understand that one might assume this question has been asked before. If it has, link me.
Let's make the foolish assumption that I need write access to a file for users other then the file owner. ...
1
vote
0answers
23 views
Where in the Linux file system should I put my board voltage monitor driver?
My knowledge level
Hi I'm new to Linux and have been doing my best to read up on Linux Device Model and file systems. Sorry if I don't have the vocabulary to ask/google what I'm looking for (I come ...
0
votes
1answer
26 views
Unique file ID in FAT32
Development environment: mobile app in Android
I'm looking for a way to uniquely identify files in a FAT32/VFAT file system (which has no inodes).
I thought about hashing (SHA1?) the full path. The ...
0
votes
1answer
10 views
Check if a given user is in the security group of a given path
I have a simple job which I don't know how to accomplish, and as deeper I search it I got lost deeper.
I need to write a method which returns the FileSystemAccessRule of a given user(I am given his ...
0
votes
0answers
21 views
Why not a file copying is not completed if I eject SDcard immediately?
I don't know why this is happened in Android 4.4 Galaxy S5.
Before force eject SD card, I confirmed that file was saved and valid.
But if I eject SD card directly, SD card is to be broken.
Of ...
0
votes
2answers
30 views
Can a node.js server know if a server file is created?
which is the most elegant way or technology to let a node.js server know if a file is created on a server?
The idea is: a new image has been created (from a webcam or so) -> dispatch an event!
...
1
vote
0answers
10 views
Location of GPS-data file?
I am interestes in "seeing" the GPS or location history raw-data of my rooted android device. I had a look in the the /data/gps/log/ folder and it has interestingly named files but they seem empty...
...
0
votes
1answer
49 views
Getting all files and subfolders in given path - language compatibility in C/C++
So basically I need to list all of files and subfolders and files inside them etc till all paths has been inspected, read data from every single object and pack it all into a single file.
I did not ...
0
votes
1answer
22 views
Implementing logic in HTML5 FileSystem API
I have this fiddle http://jsfiddle.net/yj3k0guc/ (Note: Please use google chrome when running the fiddle)
I would like to know how to properly implement this using HTML 5 file system API.
Use Case:
...
1
vote
1answer
33 views
Using ftp_get() when there are “spaces” in the file path and filename
I need to download a file via PHP ftp_get(), but the foolish provider is using directories and file names contaning whitespace.. The file path I'm dealing with is similar to /product info/more ...
0
votes
1answer
12 views
is there a way to copy the loaded ivy jars to the filesystem in eclipse?
In Eclipse - I can copy the jars loaded on the classpath for a project to a directory on the file system.
When the jars are loaded into the project using ivy - I can't do this.
My question is - is ...
-1
votes
0answers
21 views
REVISED: How do I read and write to physical drives?
So I was easily able to get VB to spit out a list of the logical drives attached to the computer. Piece of cake using System.IO.DriveInfo
EDIT:
I read somewhere that I would have to "lock" the ...
0
votes
1answer
11 views
Attempting to use a SUB-SELECT within logparser to retrieve folder information
My end goal is to return data using log parser in a table similar to this
PATH QTY SIZE(KB)
C:\Path\dir 1200 150223
I can picture the query in my mind but I think I am missing ...
0
votes
1answer
16 views
Using gnu-efi to read file
can't find any documentation for programming EFI using "gnu-efi" library. Just one example that demonstrates standard "Hello, world!".
What exactly steps I need to do open and read file if I know that ...
-6
votes
1answer
73 views
How can I store 1 billion images on servers uploaded from a web application? [closed]
What is the best way to store 1 billion images? (uploaded by users of website via PHP or Javascript upload)
Since everyone knows storing tons of images (website users uploaded images in this case) ...
1
vote
1answer
22 views
How to replace an existing file in MPI with MPI_File_open
I am reading "Using MPI-2" and try to execute the code myself. I specified MPI_MODE_CREATE for MPI_File_open, but it actually does not create a new file, instead, it overwrites the previous file with ...
0
votes
1answer
26 views
Why is sshfs not shown in /proc/filesystems?
One of the books on advanced linux programming states:
The /proc/filesystems entry displays the file system types known to the kernel. Note that this list isn't very useful because it is not ...
1
vote
1answer
23 views
Fastest way to append a string to a text file w/o impact(effect) on web site load time
Suppose my web site needs to run this python code
for everytime it loads..
f = open('/aaa', 'a')
f.write('test' + '\n')
all it does is.. "append" .. "test" to "/a" file.
but perhaps there is a ...
0
votes
1answer
10 views
User level bounce buffer for fs io ? Why write file buffer address space should be aligned?
I saw a piece of code doing disk io like this :
static bool is_aligned(unsigned char *buffer) {
return ( ((unsigned long)buffer) & (DISK_PAGE_SIZE -1)) == 0;
}
void do_write_IO(int fd, ...
-2
votes
0answers
9 views
Copy selected Files at the End of a Partition?
Is there a "purposefully" Solution/Way/Tool/Software to "Copy the selected Files at the End of this Partition"?
1
vote
2answers
44 views
Is it possible for Java's FileVisitor.visitFile() to be called on a nonexistent file?
Java's java.nio.file.Files.walkFileTree() executes the visitor's visitFile() method even if a file doesn't exist (a recently-deleted file).
FileUtils.forceDelete(certainFile);
...
-1
votes
1answer
33 views
How often /etc/shadow file is backed up?
From man 5 shadow:
/etc/shadow-
Backup file for /etc/shadow.
Note that this file is used by the tools of the shadow toolsuite,
but not by all user and password management ...
0
votes
1answer
15 views
is there a prescribed way for a chrome app to find the ~/ folder on the file system?
I'm writing a chrome app that (ideally) would find the user's Dropbox directory located under their home directory ~/.
As an (irrelevant) reference, Macromedia's Flash has a methodology for ...
-1
votes
1answer
24 views
What is this file SimilarityTable_1 (8GB) [closed]
I created a new filesystem (F: - destination) and synced with another (E:\ - source). Curiously my new FS had 7GB of difference from source FS.
I found out that the file below has 8GB (size) and 1GB ...
1
vote
1answer
34 views
Why is the size of a copied git folder on exFAT bigger than its original on ext4?
I have a git folder (which is a git repo) on an ext4 disk:
ytsen@ytsen-MacBookPro:~$ du -hcs ~/git
3,2M /home/ytsen/git
3,2M total
now I copy this to a USB stick with an exFAT file system:
...
-2
votes
0answers
21 views
All of the NTFS hard links disappear, where are those 0KB hardlinks stored on disk and how to recover them?
This is Windows 7 x64 sp1 on a NTFS file system.
All hardlinks within C:\Windows\System32 folder disappear, and the Windows can't boot, because even the osloader, C:\Windows\System32\boot\Winload.exe ...
-3
votes
0answers
14 views
Sync filesystem between android device and windows host
I have a device which has Android and host is Windows.
The issue is that:
1 The android device has a MicroSD card(4GB),
2 connect the device into the windows host,
3 use df to get filesystem info
4 ...
0
votes
1answer
25 views
Find and Replace Image Files Between Two Folders
I have two folders on my Mac's hard drive.
Directory A, and Directory B
Both directories contain image files.
I need to find matching filenames is Dir A.
If I find a match overwrite the file in ...
0
votes
2answers
24 views
Split up dd image at partition boundaries, and reassemble
I've got an dd image that contains three partitions (MBR, a data partition and a SWAP partition).
I want to split up the image complete.img into three images mbr.img, data.img and swap.img to
mount ...