Re: [OT] Hardlinks and directories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-02-12 at 16:42 -0800, Suvayu Ali wrote:
> On Friday 12 February 2010 04:36 PM, Suvayu Ali wrote:
> > On Friday 12 February 2010 04:07 PM, Patrick O'Callaghan wrote:
> >> Editors can do funny things with backup files in the interests of
> >> preserving your work. An easier test would be:
> >>
> >> cat> foo&
> >> rm foo
> >> lsof +L1 -s
> >>
> >> When I do this the "cat" process shows up (and foo is marked as
> >> deleted). You can then reconnect to "cat" (using fg) and write stuff
> >> into the "non-existent" file.
> 
> Another observation I forgot to mention, when I used fg and wrote to the 
> (deleted) file I could also see the size of the file increase. However 
> using `C-z' and fg again gave me back the orginal empty file _without_ 
> the edits.

How do you know it doesn't have the edits if you can't open it?

poc

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux