FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > EXT3 Users

LinkBack Thread Tools
Old 03-21-2008, 11:16 AM
ashish mahamuni
Default Unable to change the 'name' field from 'ext3_dir_entry_2' structure.

Hello everybody,

I am trying to rename the file/directory by renaming the 'name' field from ext3_dir_entry_2 structure.

I can easily do it for directories.

I am reading the structure then I change this field, and writing it back as it is.

New file name length will be similar as the old(just for simplicity).

But whenever I do this for file. It doesn't do any thing.

'write' sys call gets execute properly. Next time if I read dir entry for this file it shows me older one.

Am I doing anything wrong?

Chat on a cool, new interface. No download required. Go to http://in.messenger.yahoo.com/webmessengerpromo.php

Ext3-users mailing list

Thread Tools

All times are GMT. The time now is 10:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org