General :: Directory Hierarchy Getting Repeated In Mvfs File System
Feb 9, 2011I have a mvfs file system mounted.
[code]...
I have a mvfs file system mounted.
[code]...
Can you please tell me how can I tar ball/compress a directory hierarchy with soft links in Linux?
View 2 Replies View RelatedWhat are the directories and files in Unix file-system that has default user permission set. For eg. home directory of a user can't be seen by the other users on the system without his permission. In the same way what are the other directories that by default has user permission set at the time user account has opened. Eg. /etc,/bin or what
View 3 Replies View RelatedI would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
View 3 Replies View RelatedI have a folder hierarchy with many sub-folder levels under a set of parent folders. Based on the application design and business use, files are written to different locations on a daily basis. I want to find out the last updated file in the folder structure and its location at any given time. How can I do that?
View 2 Replies View RelatedIs there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
I have an output file that looks like this:
Quote:
Now if you see the first line:
Status for ACCOUNT_MISSING_FRM_RCIS_LINK- mismatch
Status for ACCOUNT_MISSING_FRM_RCIS_LINK is ACCOUNT_MISSING_FRM_RCIS_LINK- does not exist in DB
This should appear just once as :
Quote:
The same goes for last line.
For further information the ACCOUNT_MISSING_FRM_RCIS_LINK is a table name and it row count is taken from a log and then Database checked for the rowcount to see if it is a match,mismatch,or the table does not exist!
I am getting the desird output just that i need to do something to this output file.
I have a big problem, I can`t enter to the system, said this:
mount: mounting /dev on /root/dev failed : no such file or directory
mount: mounting /sys on /root/sys failed : no such file or directory
mount: mounting /proc on /root/proc failed : no such file or directory
[code]....
I'm looking for some advice about how to implement the following functionality in my pet project.
There are two users on my system, user1 and user2. When user1 logs in he can do what he wants etc.. when user2 logs in I want to somehow link the entire file system to another place. In more detail when user2 logs in and does something like ls ~, he should see contents of /home/user1/extra/home/user2/ instead of /home/user2/
and when user2 does ls /usr/bin he should see contents of /home/user1/extra/usr/bin/
Is there a simple way to do this kind of operation. I have looked up the ln command, but I am a little unsure about how to show a completely different file structure to a particular user.
I did play around with ln and found that you can make "soft links" to directories. The problem being how can I link the user2 home directory /home/user2 to something like /home/user1/buffer/home/user2 . can I use something like ln -s /home/user1/buffer/home/user2 /home/user2 .. I guess not. I didn't want to try it as I wasn't sure so as to not hose my system.
I am trying to create hard links within a file system to a directory, but unable to do that. is there any limitation to create hard links to directories within file system ?
View 4 Replies View RelatedDoes anyone know why files in my /tmp directory are not able to rm even using root login? not only that, I can't even chmod or do anything to files in /tmp directory... it always saying "read only file system" warning
View 8 Replies View RelatedU1 is trying to sync a file which doesn't exist on any of the devices attached to the account nor in the cloud folder. I've tried using U1sdtool to stop it, including the following commands:
I've also tried actually creating a file of the same name that it keeps trying to sync in the hopes that it will latch onto that one instead, but no go. I tried deleting that file, but no go. It constantly loops through the same nonexistent file, over and over and over and over and over...
It also only does this on one device. It does not do that on the other devices.
And, yes, I've done u1sdtool --waiting, and there is the nonexistent file, on the list, with all of the real files that actually do need to be synced backed up behind it.
I recently upgraded to Ubuntu 11 and a few days later my ecryptfs filesystem began misbehaving in a weird way. In my home directory, many subdirectory names are duplicated verbatim. Here's an ls -F excerpt:
Desktop/
Desktop/
Documents/
Documents/
Downloads/
Downloads/
I can no longer access files in those directories (if I ls the directory, it appears empty; I can cd to it, but there's nothing inside). Not all of the directories are duplicated/damaged like this, but most are. A few non-directory files are also duplicated in this fashion, so for example:
[Code]...
Why do I keep getting .gvfs (gnome virtual file system) file appearing as corrupt in /~/usr directory, I can get rid of it by unmounting, but it re-appears later on. It is causing problems as it interrupts my backups (which are automated) with an error message,ListError .gtk-bookmarks/.gvfs [Errno 13] Permission denied: '/home/jimt/.gvfs'
drwxr-xr-x 2 jimt users 4.0K Jun 22 22:00 .gstreamer-0.10
-rw-r--r-- 1 jimt users 132 Jun 24 11:50 .gtk-bookmarks
d????????? ? ? ? ? ? .gvfs
-rw------- 1 jimt users 4.3K Jun 24 11:50 .ICEauthority
drwxr-xr-x 3 jimt users 4.0K Jun 23 08:41 .icedteaplugin
Back when I was first learning Linux, one of the questions that I kept wondering about was "what are all these files and directories for?" I couldn't find a resource that would explain them in a digestible manner. Specifically, I was looking for one that would allow me to look at a Linux filesystem interactively, collapsing and expanding folders to look at just the ones I was interested in at the moment. So later, when I got the opportunity, I wrote it.
But despite a ton of research, I'm still not totally knowledgeable on the subject. The most important thing I'm looking for right now is for experienced Linux/Unix people to tell me where I got stuff wrong, and for newbies to tell me how useful it is to them and which things need clarification. I'm also interested in technical and graphical ways to improve usability, like better icons, layout, etc. I know I need to be able to collapse long descriptions, but what would you like to see? The Works Cited list and a full introduction are still on the way as of this writing.
Without further ado: Linux Filesystem Hierarchy Explanation. You'll need a fairly recent browser that can handle XSLT; the actual info is stored as XML, and transformed into HTML with an XSLT stylesheet. This is still a work in progress, and I'll be updating it as the thread progresses.
Finally, would people be interested in collaborating with me on this, as an open-source project? I've never done anything like that, and I'm not sure how much time I'll be able to give it in the future, but I really think this should be continued and expanded.
Edit: Works Cited and decent intro are now in place.
I need to schedule for a repeated task on my Linux, as the followings:
-) Telnet to a remote node
-) Issue a command
-) Capture the output in a log
-) Logout from Telnet
-) Wait for a prescribed time interval
-) Then redo , but append the subsequent output in just on file
know which options do we have to write such a task?
this seems like it should be a simple thing, but I can't find it. Is there a bash shell command that allows you to create a string of repeated characters? Like a string of 100 '*'?
View 6 Replies View RelatedDirectories(-entries) are in a EXT2 file system
managed in a singly linked list.
Delete files in the directory causes Gaps or holes to appear in
the linked list of the directory.How does a C-source code look like,
which would reorganize this list and remove the gaps or Holes.
I've been looking high and low for a utility program or perl script or something that can take a linux directory structure as input and convert it to MS-DOS 8.3 directory structure.
The purpose of this is to conform to the path format that is expected on my rather old Creative Zen Neeon MP3 player for m3u play lists.
I am running shell command through C program using system() routine.
I am executing "opcontrol --status" an executable using the this routine and I get the following error. access: unix error (2) No such file or directory
But when I give the complete path to the executable it runs perfectly.
The executable is installed in "/usr/local/bin/" And the path variable has this path.
I just installed Debian onto a PowerPC G4 Tower with two hard drives. I left OS X on one of the drives and reformatted and installed Debian on the other, using the installer from the 60Mb ISO from the Debian website.
The installation had no issues and it starts yaboot and Debian no problem.
After about 2 minutes of the booting up process, it starts to output this, every five seconds:
While this happens, other things still continue load and it outputs occasional messages and even gets to "Debian Login:" where if you type really quickly and hit enter, it takes it and prompts for "Password:" right after the next round of the above messages.
I have not been able to completely log in yet.
I can start up into the shell as root with "Linux single" with no problems.
I think this might have something to do with the second Mac OS Formatted Hard drive. I have considered unplugging that drive and testing it that way, but I am looking for a solution to turn off whatever script is running that every five seconds and failing, regardless of what it is trying to do.
Can't log into my XFCE desktop like I normaly do. all the sudden I get notified that my xsession lasted less then 10 secondsLooking at the error I can see this:
Unable to access file /home/username/.iceauthority: No such file or directory
Using failsafe I can start a terminal. From terminal I tried to start X
Code: sudo startx Result: Running on desplay:0
So I tried to run this;
Code: sudo startxfce4 And I get up a graphical desktop.
So this is not a critical situation as I easily can use this method to log on, but as there has been something causing this I would like to be able to resolve this nonetheless. Btw it is not the old chmod trick in play here, cause my .iceauthority file is gone alltogheter.
I'm currently stuck at 6.13 GMP-5.0.0 of the LFS installation. After running make, I receive the following:
error while loading shared libraries: libbfd-2.20.so: cannot open shared object file: No such file or directory
make[2]: *** [libmpn.la] Error 127
make[2]: Leaving directory `/sources/gmp-5.0.0/mpn'
[code]....
I'm trying to install PCSX2 (PS2 emulator) and I get the following error: ./pcsx2: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
I've followed the instructions here http://pcsx2.net/downloads.php and believe I have all the dependencies installed. My system has the following file:
/usr/lib/libgtk-x11-2.0.so.0
I was doing a tutorial on scripting in bash. I saved my file on the desktop and I cannot seem to get to that file to execute it. Here is what I have been using:
I try cd Desktop says that there is no such directory.
I tried /home/me/Desktop same thing.
I want to do the following.
1. have a directory full of subdirectory
2. Pick the first file from every sub and copy that to the main directory and also rename that file to the same name as the subdirectory's name
3. need to work in commandline best is a simple script.
I have a remote Debian 5 machine on which I'm trying to extract a tar-file (Django 1.2.1, but that's unimportant). The first 1300 or so files extracts just fine (of about 2800 in total), after which errors liketar: Django-1.2.1/tests/urls.py: Cannot open: No such file or directoryshows up for the rest of the files, finally ending up with atar: Error exit delayed from previous errorsI use the commandtar xzvf Django-1.2.1.tar.gzI've also tried with sudo (but I'm extracting in my home directory, which I should obviusly have permissions to use without). I've tried gunzipping first (runs flawlessly) and then running tar xvf, but to no avail. I've fetched the file using wget:
View 1 Replies View RelatedI'm a little bit confused with partitioning the filesystem in Linux. the difference between creating the file system with fdisk and mkfs (when formatting the disk). I can't clearly tell my problem, so please look at this picture:
View 2 Replies View Relatedi have generated .exe file from C file (ie filename.c ) after compiling in linux machine with -O option. I wish to know about how to run that .exe file when linux system starts up ?
View 3 Replies View RelatedI am going to add following line to the /etc/fstab file /dev/sda4 /MyApp ext3 noatime, errors=remount-ro 0 5 Does it also create directory "MyApp"? Or which kernel file is responsible for creating the directories? Also on linux, which kernel file is able to create some soft links and additional directories?
View 4 Replies View Related