I want to archive all .ctl files in a folder, recursively.tar -cf ctlfiles.tar `find /home/db -name "*.ctl" -print`The error message :tar: Removing leading `/' from member namestar: /home/db/dunn/j: Cannot stat: No such file or directorytar: 74.ctl: Cannot stat:No such file or directoryI have these files: /home/db/dunn/j 74.ctl and j 75. Notice the extra space. What if the files have other special characters? How do I archive these files recursively?
I am dragging my files over to a new Fedora 12 installation and I just noticed that special characters are not taken into account when sorting files by name (I want '_js' to come before 'images').Is there a way to make the sorting process behave like Windows, where files starting with a special character are listed first?
I've installed CFEngine from source (for those of you who aren't familiar with the product, check out the wiki page) on an AIX server. I had some issues setting it up but finally got it to gmake successfully.
Once I run gmake install I get a very short output (based on other source builds) and no errors. I figure something is fishy and I now I need to figure out a good way to find if it was correctly installed. I tried:
find / -name cfeng* 2> /dev/null
Is there something analogous to rpm -qa | grep cfengine?
Here is a copy of my output in case anyone needs: [url]
I'm in the process of moving /tmp out of the root filesystem to it's own (larger) partition. From a LiveCD I've:
1. Created the new part (ext4 format and is /dev/sda4) 2. Mounted the installed OS root filesystem (/dev/sda1) as /slash 3. Mounted /dev/sda4 as /newtmp 4. Using gksudo nautilus I'm trying to copy the contents of /slash/tmp to /newtmp
I have 4 files that won't copy - returning the error "Can't copy special files". These are related to ORBit it seems:
Questions are: a. Will GDM or ORBit fail if I start up without these? b. Or will they just be recreated on the fly if found to be missing? c. What's the best way to proceed?
Slackware 12.2 has the unkind habit of deleting all the /dev/fd?u* floppy special files upon boot-up. I have to make another directory (I use /floppy) to contain these files so I don't have to keep copying them from an earlier distribution (12.1) Now, for example, to format a 1743 kilobyte floppy, I do fdformat /floppy/fd0u1743 mformat a:If I copy these special files to /dev (where they belong) then some part of Slackware Linux 12.2 deletes the special files when I power down and power up the machine.Slackware 12.1 and earlier leave floppy special files severely alone upon shutdown/startup.I cannot seem to "grep" a reference to /dev/fd anywhere in /etc/rc.d or its subdirectories. Why is Slackware 12.2 deleting them?
I made a duplicate of a Centos 5.5 system disk with dump (dd if=/dev/sda of=/dev/sdb). No device files for sdb were created, but I guess that's not too surprising. I rebooted, and the device files were created. But how would I create them if I wanted to avoid the reboot? I looked around for info on mknod and MAKEDEV but didn't find a lot.
I have about 300 files that need renaming, because the file system does not display the French characters properly. The dodgy letter in question has been replaced by a "question mark in a black diamond" symbol.No way of renaming, other then using mv in the Konsole has worked. Is there any way, script or program out there, that will do a batch rename?
i have a problem in finding block of identical strings...i solved the problem in finding consecutive identical words and now i want to expand the code in order to find and remove consecutive identical block of strings... for example the awk code removing consecutive identical word is:
I want to know what file system there are for "/dev" directory??apparently different types was developed for managing devices on Linux.because I am a little confused about all file system on this directory.Another question is,which is file system sufficient for managing devices on Embedded Linux ?of course on our embedded system we do not have many pluggable device,so this directory can be static
I am tired of watching fsck check my filesystem when my eeepc 901 shuts down abruptly due to a crash. I know that with a journaling filesystem, I won't have to wait for a check. However, I am well aware of the poor I/O performance of the SSD, so I can imagine using a journaling filesystem being even more frustrating, since there will be constant writes to the journal? I will buy a new laptop without such a crummy ssd someday but, is there anything I can do now, on the software side of things?
When I try to start up 9.10 I can get past GRUB but not fsck. A file check will be started but no progress will be made and finally I get the 'General error mounting filesystems'.Trying in recovery mode I get this just before the fsck check
Quote: fsck from util-linux-ng 2.16 [8.016378] ACPI: I/O resource piix4_smbs [0xb00-0xb07] conflicts with ACPI region SOR 1 [0x0b00-0xb0f] /dev/sda1 goes fine Quote: /dev/sda3 has been mounted 34 times without being checked, check forced mountall: canceled
This seems to be slightly different than the other threads I've seen discussing this issue. It just all of a sudden happened, I didn't upgrade anything or have any crashes immediately prior.
I want the filesystem of my external drive to be checked periodically after a numer of mounts. I put 2 in the sixth colums of fstab for this partition
Code: /dev/sdb1/mnt/hdext3rw,dev,sync,user,noauto,exec,suid02 and I use the tune2fs to set the maximum mount count to 32. Code: tune2fs -c 32 /dev/sdb
now the mount count is 34 and the date of the last check is not recent, so apparently the auto fsck has not been performed. Probably because this partition is not mounted at start-up but I usually mount it manually.
We are about to install some RHEL5 servers for DB and web and Application servers. I've been asked to test which file systems of the following work better for disk I/O.EXT3 EXT4 JFS BtrFS and any other ones that I can find that work under RHEL the out-of-box install I have done allows me to format my volumes with EXT2/3 but not ext4 or any others. Is it possible to "install" other filesystems for use, if so how?
I know I can simply create a degraded raid array and copy the data to the other drive like this: mdadm --create /dev/md0 --level=1 --raid-devices=2 missing /dev/sdb1
But I want the specific disk to keep the raw ext3 filesystem so I can still use it from FreeBSD. When using the command above the disk will be a raid disk and I can't do a mount /dev/sdb1 anymore. A little background info. The drives in question are used as backup drives for a couple of Linux and FreeBSD servers. I am using the Ext3 filesystem to make sure I can quickly recover the data since both FreeBSD and Linux can read from that without problems. If someone has a different solution for that (2 drives in raid 1 that are readable by FreeBSD and writeable by Linux),
I have a 500GB external drive I want to use on a couple of Linux systems, and looking for a filesystem for it. External drives are frequently formatted in FAT32, but I don't need to interoperate with Windows and would rather avoid the ugly limited kludge that is FAT.
Since I only need to use it on Linux, I would use ext4 or XFS, but they store ownership information. Ideally, I'd use a proper Unix file system that doesn't track ownership (files are owned by whoever mounts the device, like they are when mounting a FAT32 partition), but I do not know of any file system that does that.What would be a good file system for this disk?