I...but that...

You know, I was sitting here writing some C to troll through the filesystem,
find the undesirables, and remove them.  It was going to be beyond
impressive.  My wife would hail me as a hero, strangers pull me aside on the
street just to tell me how much they appreciated my very existence, my boss
would double my pay...

...and you had to go and point out some stupid "obvious" solution like
that.  Gee, thanks.  You'll be hearing from my lawyer!

(lol - ok, don't know where my brain was)

Brian

On Fri, Sep 5, 2008 at 12:33 PM, David Brown <[EMAIL PROTECTED]> wrote:

> On Fri, Sep 05, 2008 at 11:12:57AM -0700, Brian LaMere wrote:
>
>  /show/fred/stuff
>> [EMAIL PROTECTED]:/ > mount /dev/sda3 /show/fred
>> [EMAIL PROTECTED]:/ > find /show
>>
>> Now, with /show/fred mounted, I want to delete "stuff" which is,
>> unfortunately, "under" the mount point.
>>
>
> # mount --bind /show /tmp/show
> # rm /tmp/show/fred/stuff
> # umount /tmp/show
>
> At least under Linux.
>
> When doing backups, I always do a bind mount of '/' somewhere and back
> that up.  It's especially important to get a real /dev.
>
> There's also a 'mount --rbind' which preserves the submounts, but that
> isn't useful here.  Newer kernels give even more control over it.
>
> David
>
>
> --
> KPLUG-List@kernel-panic.org
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
>

-- 
KPLUG-List@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to