bug-coreutils
[Top][All Lists]
Advanced

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

rm -r --one-file-system won't delete recursively


From: Jan Larres
Subject: rm -r --one-file-system won't delete recursively
Date: Thu, 17 Dec 2009 09:50:29 +0000 (UTC)
User-agent: slrn/pre1.0.0-16 (Linux)

Hi,

trying to delete a directory structure with -r --one-file-system doesn't
work, since it complains about subdirectories being on a different
device, which isn't true.

Simple example:

$ mkdir -p foo/bar
$ rm -r --one-file-system foo
rm: skipping `foo/bar', since it's on a different device
$ rm -r --one-file-system foo/bar/
$ rm -r --one-file-system foo/

Leaving out --one-file-system works as expected.

This is with coreutils 8.1 on Debian unstable.


Jan

-- 
"Belief means not wanting to know what is true." -Friedrich Nietzsche
OpenPGP Key-ID: 00A0FD5F





reply via email to

[Prev in Thread] Current Thread [Next in Thread]