OmegaPhil: > I simply use mount/umount to do and confirm this. > > The aufs volume is basically used to pool disks in a RAID0 fashion > without the risk, which is mainly holding up, thanks :)
?? Totally I don't understand what you wrote. Let's begin with the man-page of rename(2). EBUSY The rename fails because oldpath or newpath is a directory that is in use by some process (perhaps as current working directory, or as root directory, or because it was open for reading) or is in use by the system (for example as mount point), while the system considers this an error. (Note that there is no requirement to return EBUSY in such cases--there is nothing wrong with doing the rename anyway-- but it is allowed to return EBUSY if the system cannot otherwise handle such situa- tions.) The module ref-count is unrelated here. I'd suggest you to check these. - what is your current working dir? - what are the src- and dst-path are you rename-ing? - how do you make it sure that no one is using these dirs? - how do you make it sure that these dirs are not mount-point? J. R. Okajima ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/