[TriLUG] Problem on Fedora 8

Shawn Hood shawnlhood at gmail.com
Tue Oct 21 19:11:24 EDT 2008


Also, print $2 may need to be print $1.  I think FreeBSD would need
$2.  You get the picture.  :)

Shawn

On Tue, Oct 21, 2008 at 7:09 PM, Shawn Hood <shawnlhood at gmail.com> wrote:
> Doh!   You need to pass a -ls to that first find command.
>
> On Tue, Oct 21, 2008 at 7:08 PM, Shawn Hood <shawnlhood at gmail.com> wrote:
>> inum=$( find . -maxdepth 1 -name "*pattern*" | awk '{ print $2 }' );
>> find . -maxdepth 1 -inum $inum -exec rm -f {}\;
>>
>> There is surely a more succint way to do this, but this finds the
>> inode number, then executes another find for files with that inode
>> number and removes them.
>>
>> Shawn
>>
>> On Tue, Oct 21, 2008 at 6:09 PM, James Jones <jc.jones at tuftux.com> wrote:
>>> I have just return  to my computer nest. Will check out all the comments.
>>>
>>> Thanks very much.
>>>
>>> jcj
>>>
>>> On Tue, Oct 21, 2008 at 12:51 PM, David Black <dave at jamsoft.com> wrote:
>>>> Since you say there was some vg corruption, I'd try it once more then do a dmesg | tail to make sure the filesystem isn't confused, e.g. a hitting a kernel oops while reading the inode.
>>>>
>>>> Otherwise, sounds like the filename picked up one or more invisible trailing characters, so this should work (the -i just to be safe):
>>>>
>>>> rm -i ifcfg-eth1*
>>>>
>>>> Dave
>>>>
>>>> ----- Original Message -----
>>>> From: "James Jones" <jc.jones at tuftux.com>
>>>> To: "Triangle Linux Users Group General Discussion" <trilug at trilug.org>
>>>> Sent: Tuesday, October 21, 2008 9:13:07 AM GMT -05:00 US/Canada Eastern
>>>> Subject: [TriLUG] Problem on Fedora 8
>>>>
>>>> All,
>>>>
>>>> I recently had a volume group corruption and after the repair, I was
>>>> doing some cleanup work, I noticed the following:
>>>>
>>>> [network-scripts]# ls -l *eth*
>>>> -rw-r--r-- 3 root root   188 2003-01-02 02:12 ifcfg-eth1
>>>> -rwxr-xr-x 1 root root  4706 2007-08-03 16:08 ifdown-eth
>>>> -rwxr-xr-x 1 root root 10825 2007-09-14 10:36 ifup-eth
>>>> [network-scripts]# rm ifcfg-eth1
>>>> rm: cannot remove `ifcfg-eth1': No such file or directory
>>>>
>>>> Strange? How do I get rid of ifcfg-eth1, modify it, etc?
>>>> --
>>>> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
>>>> TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions
>>>>
>>>
>>>
>>>
>>> --
>>> Jc Jones
>>> Blogs -  http://www.wendellgeek.com/weblog/
>>> http://jonesjc.wordpress.com/
>>> http://kixtech.blogspot.com/
>>>
>>> webmaster for:
>>> http://www.raleighchurchofchrist.org
>>> http://www.wendellgeek.com
>>> http://classof1955.org
>>> http://www.tuftux.com
>>> http://www.dabeak.com
>>> http://www.therealpatpatterson.com
>>> http://jonesjc.freeshell.org
>>> http://www.trilug.org/~jonesjc
>>> --
>>> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
>>> TriLUG FAQ  : http://www.trilug.org/wiki/Frequently_Asked_Questions
>>>
>>
>>
>>
>> --
>> Shawn Hood
>> 910.670.1819 m
>>
>
>
>
> --
> Shawn Hood
> 910.670.1819 m
>



-- 
Shawn Hood
910.670.1819 m



More information about the TriLUG mailing list